Severity: High (CVSS 3.1 7.5) · Exploitation: No known exploitation · Fix available: Yes
CVE-2026-120667 is a heap out-of-bounds write (CWE-787) in OpenSSL's ASN.1 re-encoding logic that affects applications parsing DER-encoded CRLs, certificates, or certificate signing requests (CSRs) from buffers larger than 4 GiB. When OpenSSL re-encodes a cached ASN.1 item whose signed portion exceeds INT_MAX bytes, an internal length truncation causes the caller to allocate an undersized heap buffer; the subsequent copy writes the full oversized span past the end of that allocation, crashing the process. The practical result is a Denial of Service: the process terminates, nothing is read out of bounds, and no data is returned to the attacker. The vulnerability was disclosed on 1 December 2026 by the OpenSSL Project, credited to Bhabani Sankar Das and Nikola Pajkovsky, and fixed versions are available.
The root cause lies in ossl_asn1_enc_restore(), which reports a cached DER encoding length through an int while copying through a long. On platforms with a 64-bit long, a cached encoding longer than INT_MAX is silently truncated when the first pass sizes the destination buffer. The second pass then copies the full, untruncated length into that undersized buffer, writing attacker-controlled data past the end of the heap mapping and killing the process. Because the overrun size is fixed and no data is returned to the caller, there is no demonstrated path to code execution or information disclosure from this bug alone.
An attacker must supply a DER object whose signed portion spans more than 2³² bytes from a buffer of at least 4 GiB, and the target application must pass that buffer directly to d2i_X509_CRL(), X509_verify(), or X509_REQ_verify(). Notably, OpenSSL's own TLS stack, HTTP CRL fetch path, BIO, PEM, decoder, and store readers all cap input below 4 GiB, so they are not affected. Applications that accept untrusted DER from files, custom network protocols, or other sources without an equivalent size cap are the primary risk. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) reflects remote, unauthenticated exploitability with no impact on confidentiality or integrity. The flaw is outside the FIPS module boundary and does not affect FIPS-validated operation.
No in-the-wild exploitation has been observed as of this bulletin's publication date, and this CVE does not appear on the CISA Known Exploited Vulnerabilities catalog. No public proof-of-concept exploit has been identified. Despite the 4 GiB minimum input size creating a meaningful delivery barrier, CISA's SSVC assessment notes that the attack is automatable, so patch priority should remain high for any service that processes externally supplied DER objects without strict size enforcement.
d2i_X509_CRL(), X509_verify(), or X509_REQ_verify().openssl version.Uptycs vulnerability management continuously inventories hosts, containers, and cloud workloads for affected OpenSSL versions, enabling security teams to identify and prioritize unpatched assets before exploitation occurs. Uptycs Threat Research continues to monitor CVE-2026-120667 and will update this bulletin if exploitation activity or new technical details emerge.