CVEfocus › CVE database › CVE-2018-0739

CVE-2018-0739Constructed ASN.1 types with a recursive definition could exceed the stack

CVSS 6.5 MediumEPSS 18.6% (higher than 97% of CVEs)Published 2018-03-27Updated 2024-09-16Assigner: openssl

Constructed ASN.1 types with a recursive definition (such as can be found in PKCS7) could eventually exceed the stack given malicious input with excessive recursion. This could result in a Denial Of Service attack. There are no such structures used within SSL/TLS that come from untrusted sources so this is considered safe. Fixed in OpenSSL 1.1.0h (Affected 1.1.0-1.1.0g). Fixed in OpenSSL 1.0.2o (Affected 1.0.2b-1.0.2n).

What to do

Likely to be exploited: EPSS gives a 19% 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.

Ubuntu has 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

24Fixed
1Fix pending
8Will not fix
5Not 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.0g-2ubuntu3UBUNTU-CVE-2018-0739
Ubuntu 18.04openssl1.0Fixed1.0.2n-1ubuntu5UBUNTU-CVE-2018-0739
Ubuntu 16.04opensslFixed1.0.2g-1ubuntu4.11UBUNTU-CVE-2018-0739
Ubuntu 14.04opensslFixed1.0.1f-1ubuntu2.24UBUNTU-CVE-2018-0739
Ubuntu 14.04openssl098Fix pending
Debian 14libtomcryptFixed1.18.2-1DEBIAN-CVE-2018-0739
Debian 14opensslFixed1.1.0h-1DEBIAN-CVE-2018-0739
Debian 13libtomcryptFixed1.18.2-1DEBIAN-CVE-2018-0739
Debian 13opensslFixed1.1.0h-1DEBIAN-CVE-2018-0739
Debian 12libtomcryptFixed1.18.2-1DEBIAN-CVE-2018-0739
Debian 12opensslFixed1.1.0h-1DEBIAN-CVE-2018-0739
Red Hat Enterprise Linux 8opensslNot affected
Red Hat Enterprise Linux 8openssl-develNot affected
Red Hat Enterprise Linux 8openssl-libsNot affected
Red Hat Enterprise Linux 8openssl-perlNot affected
Red Hat Enterprise Linux 8openssl-staticNot affected
Red Hat Enterprise Linux 7AAVMFFixed0:20180508-3.gitee3198e672e2.el7RHSA-2018:3090
Red Hat Enterprise Linux 7OVMFFixed
Will not fix
0:20180508-3.gitee3198e672e2.el7RHSA-2018:3090
Red Hat Enterprise Linux 7opensslFixed1:1.0.2k-16.el7RHSA-2018:3221
Red Hat Enterprise Linux 7openssl-develFixed1:1.0.2k-16.el7RHSA-2018:3221
Red Hat Enterprise Linux 7openssl-libsFixed1:1.0.2k-16.el7RHSA-2018:3221
Red Hat Enterprise Linux 7openssl-perlFixed1:1.0.2k-16.el7RHSA-2018:3221
Red Hat Enterprise Linux 7openssl-staticFixed1:1.0.2k-16.el7RHSA-2018:3221
Red Hat Enterprise Linux 7openssl098eWill not fix
Will not fix
Red Hat Enterprise Linux 7ovmfFixed0:20180508-3.gitee3198e672e2.el7RHSA-2018:3090
Red Hat Enterprise Linux 6opensslWill not fix
Will not fix
Red Hat Enterprise Linux 6openssl-develWill not fix
Will not fix
Red Hat Enterprise Linux 6openssl-perlWill not fix
Will not fix
Red Hat Enterprise Linux 6openssl-staticWill not fix
Will not fix
Red Hat Enterprise Linux 6openssl098eWill not fix
Will not fix
Red Hat Enterprise Linux 5opensslWill not fix
Out of support scope
Red Hat Enterprise Linux 5openssl097aWill not fix
Out of support scope
Alpine Linux 3.8opensslFixed1.0.2o-r0ALPINE-CVE-2018-0739
Alpine Linux 3.7opensslFixed1.0.2o-r0ALPINE-CVE-2018-0739
Alpine Linux 3.6opensslFixed1.0.2o-r0ALPINE-CVE-2018-0739
Alpine Linux 3.5opensslFixed1.0.2o-r0ALPINE-CVE-2018-0739
Alpine Linux 3.4opensslFixed1.0.2o-r0ALPINE-CVE-2018-0739
Alpine Linux 3.3opensslFixed1.0.2o-r0ALPINE-CVE-2018-0739

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.