CVE-2026-120667 — OpenSSL
One of 4 OpenSSL vulnerabilities published together by NVD: our article covers all of them.
OpenSSLWebCloud & containersVulnerabilitiesSummary
Issue summary: An application that parses a maliciously crafted DER CRL, certificate or CSR from a buffer larger than 4 GiB may trigger a heap buffer overflow when OpenSSL re-encodes the item's cached encoding. Impact summary: An attacker who supplies a crafted CRL, certificate or CSR to an application that parses untrusted DER from a buffer larger than 4 GiB causes a heap out-of-bounds write of attacker-controlled data, crashing the process: Denial of Service. CWE: CWE-787: Out-of-bounds Write Description: ASN1_item_i2d() encodes an item in two passes, sizing the buffer first and writing it second. For an item with a cached DER encoding, ossl_asn1_enc_restore() reports that length through an int while copying the full long. A cached encoding longer than INT_MAX is reported truncated, so the caller allocates a small buffer and the second pass copies the whole span into it. The cache is kept for the signed parts of CRLs, certificates and CSRs. Parsing a CRL reaches it: d2i_X509_CRL() fingerprints the CRL and re-encodes that part, and a CRL inside PKCS#7 or CMS triggers it when the container is parsed. Certificates reach it at the first X509_verify() or extension-cache fingerprint, CSRs at X509_REQ_verify(). The attacker must supply a DER object whose signed part spans more than 2^32 bytes from a buffer of at least 4 GiB, on a platform with a 64-bit long. TLS, the HTTP CRL fetch, the BIO, PEM, decoder and store readers cap input below 4 GiB. The oversized copy runs off the end of the heap mapping and the process dies. Nothing is read out of bounds or returned to the attacker, and the fixed overrun size leaves no partial overwrite to steer. FIPS impact: no The affected code is outside the FIPS module boundary.
Severity breakdown
High · 7.5
An attacker without an account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Login needed
- no
- User action needed
- no
- Scope
- stays within the vulnerable component
- Impact
- high on availability, none on confidentiality and integrity
Weakness
- CWE-787: Out-of-bounds Write
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| OpenSSL | ≥ 4.1.0, < 4.1.1 | 4.1.1 |
| ≥ 4.0.0, < 4.0.4 | 4.0.4 |
References by type
Patches and fixed releases
- github.com/openssl/openssl/commit/8257d58a42033fd7ea4cc439cddcb0c71a879…
- github.com/openssl/openssl/commit/e70e09fbecc5c1dc2dd159cb63216bf06318e…
Other references
Affected
- OpenSSL
What to do
- Check whether you run an affected product or version and apply the vendor's update or mitigation.
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-120667?
Issue summary: An application that parses a maliciously crafted DER CRL, certificate or CSR from a buffer larger than 4 GiB may trigger a heap buffer overflow when OpenSSL re-encodes the item's cached encoding. Weakness type: Out-of-bounds Write (CWE-787).
How severe is CVE-2026-120667?
CVE-2026-120667 has a CVSS 3.1 base score of 7.5 (high), from CISA (ADP). An attacker without an account can exploit this over the network, without any user action.
Is CVE-2026-120667 being exploited?
Not as far as is known: CVE-2026-120667 is not in CISA's Known Exploited Vulnerabilities catalog as of December 2, 2026. EPSS estimates a 0.7% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-120667?
OpenSSL ≥ 4.1.0, < 4.1.1 (fixed in 4.1.1); OpenSSL ≥ 4.0.0, < 4.0.4 (fixed in 4.0.4).
How do I fix CVE-2026-120667?
Update to a fixed release: OpenSSL 4.1.1; OpenSSL 4.0.4.
Timeline & sources
References
Related vulnerabilities & news
- GHSA-5w3m-mfwg-9f8r / CVE-2026-118513 — Symfony: X509Authenticator and X509AuthenticationListener Read Escaped RFC 2253 Commas and Bare Slashes Inside a DN Value as RDN Boundaries
- PHP Phar Extension Allows Signature Bypass via Algorithm Downgrade (CVE-2026-128090)
- lightsaml Allows Signature Wrapping Bypass in SAML Responses [CVE-2026-63182]
- Postecert FIRMAOK! Vulnerability Allows Local Privilege Escalation
- CVE-2026-126051 — nodejs node