CVEfocus › CVE database › CVE-2019-1543

CVE-2019-1543ChaCha20-Poly1305 with long nonces

CVSS 7.4 HighEPSS 5.6% (higher than 94% of CVEs)Published 2019-03-06Updated 2026-11-02Assigner: openssl

ChaCha20-Poly1305 is an AEAD cipher, and requires a unique nonce input for every encryption operation. RFC 7539 specifies that the nonce value (IV) should be 96 bits (12 bytes). OpenSSL allows a variable nonce length and front pads the nonce with 0 bytes if it is less than 12 bytes. However it also incorrectly allows a nonce to be set of up to 16 bytes. In this case only the last 12 bytes are significant and any additional leading bytes are ignored. It is a requirement of using this cipher that nonce values are unique. Messages encrypted using a reused nonce value are susceptible to serious confidentiality and integrity attacks. If an application changes the default nonce length to be longer than 12 bytes and then makes a change to the leading bytes of the nonce expecting the new value to be a new unique nonce then such an application could inadvertently encrypt messages with a reused nonce. Additionally the ignored bytes in a long nonce are not covered by the integrity guarantee of this cipher. Any application that relies on the integrity of these ignored leading bytes of a long nonce may be further affected. Any OpenSSL internal use of this cipher, including in SSL/TLS, is safe because no such use sets such a long nonce value. However user applications that use this cipher directly and set a non-default nonce length to be longer than 12 bytes may be vulnerable. OpenSSL versions 1.1.1 and 1.1.0 are affected by this issue. Due to the limited scope of affected deployments this has been assessed as low severity and therefore we are not creating new releases at this time. Fixed in OpenSSL 1.1.1c (Affected 1.1.1-1.1.1b). Fixed in OpenSSL 1.1.0k (Affected 1.1.0-1.1.0j).

What to do

Fixed builds are available from Alpine, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

43Fixed
21Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 18.04opensslFixed1.1.1-1ubuntu2.1~18.04.2UBUNTU-CVE-2019-1543
Ubuntu 16.04nodejsNot affected
vulnerable_code_not_present
Ubuntu 16.04opensslNot affected
vulnerable_code_not_present
Ubuntu 14.04openssl098Not affected
vulnerable_code_not_present
Debian 14opensslFixed1.1.1c-1DEBIAN-CVE-2019-1543
Debian 13opensslFixed1.1.1c-1DEBIAN-CVE-2019-1543
Debian 12opensslFixed1.1.1c-1DEBIAN-CVE-2019-1543
Red Hat Enterprise Linux 8compat-openssl10Not affected
Red Hat Enterprise Linux 8mingw-opensslNot affected
Red Hat Enterprise Linux 8mingw32-opensslNot affected
Red Hat Enterprise Linux 8mingw64-opensslNot affected
Red Hat Enterprise Linux 8opensslFixed1:1.1.1c-2.el8RHSA-2019:3700
Red Hat Enterprise Linux 8openssl-develFixed1:1.1.1c-2.el8RHSA-2019:3700
Red Hat Enterprise Linux 8openssl-libsFixed1:1.1.1c-2.el8RHSA-2019:3700
Red Hat Enterprise Linux 8openssl-perlFixed1:1.1.1c-2.el8RHSA-2019:3700
Red Hat Enterprise Linux 7OVMFNot affected
Red Hat Enterprise Linux 7opensslNot affected
Red Hat Enterprise Linux 7openssl-develNot affected
Red Hat Enterprise Linux 7openssl-libsNot affected
Red Hat Enterprise Linux 7openssl-perlNot affected
Red Hat Enterprise Linux 7openssl-staticNot affected
Red Hat Enterprise Linux 7openssl098eNot affected
Red Hat Enterprise Linux 6opensslNot affected
Red Hat Enterprise Linux 6openssl-develNot affected
Red Hat Enterprise Linux 6openssl-perlNot affected
Red Hat Enterprise Linux 6openssl-staticNot affected
Red Hat Enterprise Linux 6openssl098eNot affected
Red Hat Enterprise Linux 5opensslNot affected
Red Hat Enterprise Linux 5openssl097aNot affected
Alpine Linux 3.24fileFixed5.36-r0ALPINE-CVE-2019-1543
Alpine Linux 3.24opensslFixed1.1.1b-r1ALPINE-CVE-2019-1543
Alpine Linux 3.23fileFixed5.36-r0ALPINE-CVE-2019-1543
Alpine Linux 3.23opensslFixed1.1.1b-r1ALPINE-CVE-2019-1543
Alpine Linux 3.22fileFixed5.36-r0ALPINE-CVE-2019-1543
Alpine Linux 3.22opensslFixed1.1.1b-r1ALPINE-CVE-2019-1543
Alpine Linux 3.21fileFixed5.36-r0ALPINE-CVE-2019-1543
Alpine Linux 3.21opensslFixed1.1.1b-r1ALPINE-CVE-2019-1543
Alpine Linux 3.20fileFixed5.36-r0ALPINE-CVE-2019-1543
Alpine Linux 3.20opensslFixed1.1.1b-r1ALPINE-CVE-2019-1543
Alpine Linux 3.19fileFixed5.36-r0ALPINE-CVE-2019-1543
Alpine Linux 3.19opensslFixed1.1.1b-r1ALPINE-CVE-2019-1543
Alpine Linux 3.18fileFixed5.36-r0ALPINE-CVE-2019-1543
Alpine Linux 3.18opensslFixed1.1.1b-r1ALPINE-CVE-2019-1543
Alpine Linux 3.18openssl1.1-compatFixed1.1.1b-r1ALPINE-CVE-2019-1543
Alpine Linux 3.17fileFixed5.36-r0ALPINE-CVE-2019-1543
Alpine Linux 3.17opensslFixed1.1.1b-r1ALPINE-CVE-2019-1543
Alpine Linux 3.17openssl1.1-compatFixed1.1.1b-r1ALPINE-CVE-2019-1543
Alpine Linux 3.16fileFixed5.36-r0ALPINE-CVE-2019-1543
Alpine Linux 3.16opensslFixed1.1.1b-r1ALPINE-CVE-2019-1543
Alpine Linux 3.16openssl3Fixed1.1.1b-r1ALPINE-CVE-2019-1543
Alpine Linux 3.15fileFixed5.36-r0ALPINE-CVE-2019-1543
Alpine Linux 3.15opensslFixed1.1.1b-r1ALPINE-CVE-2019-1543
Alpine Linux 3.15openssl3Fixed1.1.1b-r1ALPINE-CVE-2019-1543
Alpine Linux 3.14fileFixed5.36-r0ALPINE-CVE-2019-1543
Alpine Linux 3.14opensslFixed1.1.1b-r1ALPINE-CVE-2019-1543
Alpine Linux 3.13fileFixed5.36-r0ALPINE-CVE-2019-1543
Alpine Linux 3.13opensslFixed1.1.1b-r1ALPINE-CVE-2019-1543
Alpine Linux 3.12fileFixed5.36-r0ALPINE-CVE-2019-1543
Alpine Linux 3.12opensslFixed1.1.1b-r1ALPINE-CVE-2019-1543
Alpine Linux 3.11fileFixed5.36-r0ALPINE-CVE-2019-1543
Alpine Linux 3.11opensslFixed1.1.1b-r1ALPINE-CVE-2019-1543
Alpine Linux 3.10fileFixed5.36-r0ALPINE-CVE-2019-1543
Alpine Linux 3.10opensslFixed1.1.1b-r1ALPINE-CVE-2019-1543
Alpine Linux 3.9opensslFixed1.1.1b-r1ALPINE-CVE-2019-1543

What the vendor says

As published in the CVE record by openssl, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.