{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2026-120667", "assignerOrgId": "3a12439a-ef3a-4c79-92e6-6081a721f1e5", "state": "PUBLISHED", "assignerShortName": "openssl", "dateReserved": "2026-11-02T18:47:05.906Z", "datePublished": "2026-12-01T16:36:21.747Z", "dateUpdated": "2026-12-01T16:52:29.515Z" }, "containers": { "cna": { "affected": [ { "defaultStatus": "unaffected", "product": "OpenSSL", "vendor": "OpenSSL", "versions": [ { "lessThan": "4.1.1", "status": "affected", "version": "4.1.0", "versionType": "semver" }, { "lessThan": "4.0.4", "status": "affected", "version": "4.0.0", "versionType": "semver" } ] } ], "credits": [ { "lang": "en", "type": "reporter", "value": "Bhabani Sankar Das" }, { "lang": "en", "type": "remediation developer", "value": "Nikola Pajkovsky" }, { "lang": "en", "type": "remediation developer", "value": "Bhabani Sankar Das" } ], "datePublic": "2026-12-01T16:00:00.000Z", "descriptions": [ { "lang": "en", "supportingMedia": [ { "base64": false, "type": "text/html", "value": "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." } ], "value": "Issue summary: An application that parses a maliciously crafted DER CRL,\ncertificate or CSR from a buffer larger than 4 GiB may trigger a heap buffer\noverflow when OpenSSL re-encodes the item's cached encoding.\n\nImpact summary: An attacker who supplies a crafted CRL, certificate or CSR to\nan application that parses untrusted DER from a buffer larger than 4 GiB\ncauses a heap out-of-bounds write of attacker-controlled data, crashing the\nprocess: Denial of Service.\n\nCWE: CWE-787: Out-of-bounds Write\n\nDescription: ASN1_item_i2d() encodes an item in two passes, sizing the buffer\nfirst and writing it second. For an item with a cached DER encoding,\nossl_asn1_enc_restore() reports that length through an int while copying the\nfull long. A cached encoding longer than INT_MAX is reported truncated, so the\ncaller allocates a small buffer and the second pass copies the whole span into\nit.\n\nThe cache is kept for the signed parts of CRLs, certificates and CSRs. Parsing\na CRL reaches it: d2i_X509_CRL() fingerprints the CRL and re-encodes that\npart, and a CRL inside PKCS#7 or CMS triggers it when the container is parsed.\nCertificates reach it at the first X509_verify() or extension-cache\nfingerprint, CSRs at X509_REQ_verify(). The attacker must supply a DER object\nwhose signed part spans more than 2^32 bytes from a buffer of at least 4 GiB,\non a platform with a 64-bit long. TLS, the HTTP CRL fetch, the BIO, PEM,\ndecoder and store readers cap input below 4 GiB.\n\nThe oversized copy runs off the end of the heap mapping and the process dies.\nNothing is read out of bounds or returned to the attacker, and the fixed\noverrun size leaves no partial overwrite to steer.\n\nFIPS impact: no\nThe affected code is outside the FIPS module boundary." } ], "metrics": [ { "format": "other", "other": { "content": { "text": "Moderate" }, "type": "https://openssl-library.org/policies/general/security-policy/" } } ], "problemTypes": [ { "descriptions": [ { "cweId": "CWE-787", "description": "Out-of-bounds Write", "lang": "en", "type": "CWE" } ] } ], "providerMetadata": { "orgId": "3a12439a-ef3a-4c79-92e6-6081a721f1e5", "shortName": "openssl", "dateUpdated": "2026-12-01T16:36:21.747Z" }, "references": [ { "name": "OpenSSL Advisory", "tags": [ "vendor-advisory" ], "url": "https://openssl-library.org/news/secadv/20261201.txt" }, { "name": "4.1.1 git commit", "tags": [ "patch" ], "url": "https://github.com/openssl/openssl/commit/8257d58a42033fd7ea4cc439cddcb0c71a879d47" }, { "name": "4.0.4 git commit", "tags": [ "patch" ], "url": "https://github.com/openssl/openssl/commit/e70e09fbecc5c1dc2dd159cb63216bf06318e579" } ], "source": { "discovery": "UNKNOWN" }, "title": "Heap Buffer Overflow When Re-Encoding Cached ASN.1 Items Above INT_MAX", "x_generator": { "engine": "Vulnogram 0.2.0" } }, "adp": [ { "metrics": [ { "cvssV3_1": { "scope": "UNCHANGED", "version": "3.1", "baseScore": 7.5, "attackVector": "NETWORK", "baseSeverity": "HIGH", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "integrityImpact": "NONE", "userInteraction": "NONE", "attackComplexity": "LOW", "availabilityImpact": "HIGH", "privilegesRequired": "NONE", "confidentialityImpact": "NONE" } }, { "other": { "type": "ssvc", "content": { "timestamp": "2026-12-01T16:52:25.402676Z", "id": "CVE-2026-120667", "options": [ { "Exploitation": "none" }, { "Automatable": "yes" }, { "Technical Impact": "partial" } ], "role": "CISA Coordinator", "version": "2.0.3" } } } ], "title": "CISA ADP Vulnrichment", "providerMetadata": { "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2026-12-01T16:52:29.515Z" } } ] } }