CVEfocus › CVE database › CVE-2019-1551

CVE-2019-1551rsaz_512_sqr overflow bug on x86_64

CVSS 5.3 MediumEPSS 13.0% (higher than 97% of CVEs)Published 2019-12-06Updated 2026-10-08Assigner: openssl

There is an overflow bug in the x64_64 Montgomery squaring procedure used in exponentiation with 512-bit moduli. No EC algorithms are affected. Analysis suggests that attacks against 2-prime RSA1024, 3-prime RSA1536, and DSA1024 as a result of this defect would be very difficult to perform and are not believed likely. Attacks against DH512 are considered just feasible. However, for an attack the target would have to re-use the DH512 private key, which is not recommended anyway. Also applications directly using the low level API BN_mod_exp may be affected if they use BN_FLG_CONSTTIME. Fixed in OpenSSL 1.1.1e (Affected 1.1.1-1.1.1d). Fixed in OpenSSL 1.0.2u (Affected 1.0.2-1.0.2t).

What to do

Likely to be exploited: EPSS gives a 13% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.

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

Red Hat, Ubuntu have not shipped a fix for every release yet.

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

32Fixed
7Fix pending
10Not 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 20.04opensslFixed1.1.1f-1ubuntu1UBUNTU-CVE-2019-1551
Ubuntu 18.04opensslFixed1.1.1-1ubuntu2.1~18.04.6UBUNTU-CVE-2019-1551
Ubuntu 18.04openssl1.0Fixed1.0.2n-1ubuntu5.4UBUNTU-CVE-2019-1551
Ubuntu 16.04edk2Not affected
vulnerable_code_not_present
Ubuntu 16.04nodejsNot affected
vulnerable_code_not_present
Ubuntu 16.04opensslFixed1.0.2g-1ubuntu4.16UBUNTU-CVE-2019-1551
Ubuntu 14.04edk2Fix pending
Debian 14opensslFixed1.1.1e-1DEBIAN-CVE-2019-1551
Debian 13opensslFixed1.1.1e-1DEBIAN-CVE-2019-1551
Debian 12opensslFixed1.1.1e-1DEBIAN-CVE-2019-1551
Red Hat Enterprise Linux 8compat-openssl10Fix pending
Fix deferred
Red Hat Enterprise Linux 8opensslFixed1:1.1.1g-11.el8RHSA-2020:4514
Red Hat Enterprise Linux 8openssl-develFixed1:1.1.1g-11.el8RHSA-2020:4514
Red Hat Enterprise Linux 8openssl-libsFixed1:1.1.1g-11.el8RHSA-2020:4514
Red Hat Enterprise Linux 8openssl-perlFixed1:1.1.1g-11.el8RHSA-2020:4514
Red Hat Enterprise Linux 7opensslFix pending
Fix deferred
Red Hat Enterprise Linux 7openssl-develFix pending
Fix deferred
Red Hat Enterprise Linux 7openssl-libsFix pending
Fix deferred
Red Hat Enterprise Linux 7openssl-perlFix pending
Fix deferred
Red Hat Enterprise Linux 7openssl-staticFix pending
Fix deferred
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.24opensslFixed1.1.1d-r3ALPINE-CVE-2019-1551
Alpine Linux 3.23opensslFixed1.1.1d-r3ALPINE-CVE-2019-1551
Alpine Linux 3.22opensslFixed1.1.1d-r3ALPINE-CVE-2019-1551
Alpine Linux 3.21opensslFixed1.1.1d-r3ALPINE-CVE-2019-1551
Alpine Linux 3.20opensslFixed1.1.1d-r3ALPINE-CVE-2019-1551
Alpine Linux 3.19opensslFixed1.1.1d-r3ALPINE-CVE-2019-1551
Alpine Linux 3.18opensslFixed1.1.1d-r3ALPINE-CVE-2019-1551
Alpine Linux 3.18openssl1.1-compatFixed1.1.1d-r3ALPINE-CVE-2019-1551
Alpine Linux 3.17opensslFixed1.1.1d-r3ALPINE-CVE-2019-1551
Alpine Linux 3.17openssl1.1-compatFixed1.1.1d-r3ALPINE-CVE-2019-1551
Alpine Linux 3.16opensslFixed1.1.1d-r3ALPINE-CVE-2019-1551
Alpine Linux 3.16openssl3Fixed1.1.1d-r3ALPINE-CVE-2019-1551
Alpine Linux 3.15opensslFixed1.1.1d-r3ALPINE-CVE-2019-1551
Alpine Linux 3.15openssl3Fixed1.1.1d-r3ALPINE-CVE-2019-1551
Alpine Linux 3.14opensslFixed1.1.1d-r3ALPINE-CVE-2019-1551
Alpine Linux 3.13opensslFixed1.1.1d-r3ALPINE-CVE-2019-1551
Alpine Linux 3.12opensslFixed1.1.1d-r3ALPINE-CVE-2019-1551
Alpine Linux 3.11opensslFixed1.1.1d-r3ALPINE-CVE-2019-1551
Alpine Linux 3.10opensslFixed1.1.1d-r2ALPINE-CVE-2019-1551
Alpine Linux 3.9opensslFixed1.1.1d-r2ALPINE-CVE-2019-1551
Alpine Linux 3.8opensslFixed1.0.2u-r0ALPINE-CVE-2019-1551

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.