---
title: "CVE-2019-1559\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2019-1559?format=md
keywords: index, follow
---

# CVE-2019-1559

Publication date 26 February 2019

Last updated 25 August 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**5.9 · Medium**

[Score breakdown](https://ubuntu.com/security/CVE-2019-1559?format=md#impact-score)

Toggle side navigation

## Description

If an application encounters a fatal protocol error and then calls
SSL\_shutdown() twice (once to send a close\_notify, and once to receive one)
then OpenSSL can respond differently to the calling application if a 0 byte
record is received with invalid padding compared to if a 0 byte record is
received with an invalid MAC. If the application then behaves differently
based on that in a way that is detectable to the remote peer, then this
amounts to a padding oracle that could be used to decrypt data. In order
for this to be exploitable "non-stitched" ciphersuites must be in use.
Stitched ciphersuites are optimised implementations of certain commonly
used ciphersuites. Also the application must call SSL\_shutdown() twice even
if a protocol error has occurred (applications should not do this but some
do anyway). Fixed in OpenSSL 1.0.2r (Affected 1.0.2-1.0.2q).

[Read the notes from the security team](https://ubuntu.com/security/CVE-2019-1559?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| nodejs | 20.04 LTS focal | Not affected |
| 19.10 eoan | Not affected |
| 19.04 disco | Not affected |
| 18.10 cosmic | Not affected |
| 18.04 LTS bionic | Not affected |
| 16.04 LTS xenial | Not affected |
| 14.04 LTS trusty | Not affected |
| openssl | 20.04 LTS focal | Not affected |
| 19.10 eoan | Not affected |
| 19.04 disco | Not affected |
| 18.10 cosmic | Not affected |
| 18.04 LTS bionic | Not affected |
| 16.04 LTS xenial | Fixed 1.0.2g-1ubuntu4.15 |
| 14.04 LTS trusty | Fixed 1.0.1f-1ubuntu2.27+esm1  Ubuntu Pro |
| openssl098 | 20.04 LTS focal | Not in release |
| 19.10 eoan | Not in release |
| 19.04 disco | Not in release |
| 18.10 cosmic | Not in release |
| 18.04 LTS bionic | Not in release |
| 16.04 LTS xenial | Not in release |
| 14.04 LTS trusty | Not in release |
| openssl1.0 | 20.04 LTS focal | Not in release |
| 19.10 eoan | Not in release |
| 19.04 disco | Not in release |
| 18.10 cosmic | Fixed 1.0.2n-1ubuntu6.2 |
| 18.04 LTS bionic | Fixed 1.0.2n-1ubuntu5.3 |
| 16.04 LTS xenial | Not in release |
| 14.04 LTS trusty | Not in release |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2019-1559?format=md#patch-details)

### Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

[Get Ubuntu Pro](https://ubuntu.com/pro)
[30-day free trial](https://ubuntu.com/pro/free-trial)

## Notes

---

### [mdeslaur](https://launchpad.net/~mdeslaur)

doesn't affect 1.1.x
this fix is a workaround for applications that call
SSL\_shutdown() twice even if a protocol error has occurred
upstream fix uses error handling mechanism introduced in 1.0.2,
which isn't available in 1.0.1f. While we are unlikely to fix
this issue in Ubuntu 14.04 LTS, marking as deferred for now
in case the vulnerable applications are identified.

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| openssl | * Upstream:   [e9bbefb](https://github.com/openssl/openssl/commit/e9bbefbf0f24c57645e7ad6a5a71ae649d18ac8e) |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

5.9 · Medium

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | High |
  | Privileges required | None |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | High |
  | Integrity impact | None |
  | Availability impact | None |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 5.9 · Medium |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-1559)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2019-1559)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2019-1559)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2019-1559)

### Related Ubuntu Security Notices (USN)

+ [USN-3899-1](https://usn.ubuntu.com/USN-3899-1)
+ OpenSSL vulnerability
+ 27 February 2019

+ [USN-4376-2](https://usn.ubuntu.com/USN-4376-2)
+ OpenSSL vulnerabilities
+ 9 July 2020

### Other references

* <https://www.openssl.org/news/secadv/20190226.txt>
* <https://github.com/RUB-NDS/TLS-Padding-Oracles>
* <https://www.cve.org/CVERecord?id=CVE-2019-1559>
