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

Published Mar 27, 2018
·
Updated

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).

Other sources

OpenSSL is vulnerable to a denial of service. By sending specially crafted ASN.1 data with a recursive definition, a remote attacker could exploit this vulnerability to consume excessive stack memory.

IBM

OpenSSL versions 1.0.2 and 1.1.0 have a vulnerability in the handling of recursive ASN.1 structures. 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.

External References:

https://www.openssl.org/news/secadv/20180327.txt

Upstream Patches:

https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=2ac4c6f7b2b2af20c0e2b0ba05367e454cd11b33 https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=9310d45087ae546e27e61ddf8f6367f29848220d

Red Hat

Affected Software

13 affected componentsFixes available
redhat/openssl<1.1.0
1.1.0
redhat/openssl<1.0.2
1.0.2
IBM Security Verify Governance<=10.0
OpenSSL OpenSSL>=1.0.2b<=1.0.2n
OpenSSL OpenSSL>=1.1.0<=1.1.0g
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=17.10
Debian Debian Linux=7.0
Debian Debian Linux=8.0
Debian Debian Linux=9.0
debian/libtomcrypt
1.18.2-51.18.2-61.18.2+dfsg-7
debian/openssl
1.1.1w-0+deb11u11.1.1w-0+deb11u43.0.18-1~deb12u13.0.18-1~deb12u23.5.4-1~deb13u13.5.4-1~deb13u23.5.5-1

Event History

Mar 27, 2018
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
DescriptionWeakness
Data Sourced
via NVD·09:29 PM
RemedyDescriptionSeverityWeaknessAffected Software
Mar 28, 2018
Data Sourced
via Red Hat·01:16 AM
DescriptionSeverityAffected Software
Feb 19, 2026
Data Sourced
via Ubuntu·11:25 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Launchpad·11:26 PM
Description
Data Sourced
via Debian·11:26 PM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2018-0739?

CVE-2018-0739 is a vulnerability in OpenSSL that could result in a Denial of Service attack.

2

What is the severity of CVE-2018-0739?

CVE-2018-0739 has a severity score of 6.5 (Medium).

3

Which software versions are affected by CVE-2018-0739?

The OpenSSL versions 1.1.0 and 1.0.2 are affected by CVE-2018-0739.

4

How can I fix CVE-2018-0739?

To fix CVE-2018-0739, you should update OpenSSL to version 1.0.2 or 1.1.0, as recommended by the vendor.

5

Where can I find more information about CVE-2018-0739?

You can find more information about CVE-2018-0739 on the OpenSSL website and the provided references.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203