Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-120667

published high CVSS 3.1 · 7.5

Heap Buffer Overflow When Re-Encoding Cached ASN.1 Items Above INT_MAX

Published
01 Dec 2026, 16:36:21 UTC
Updated
01 Dec 2026, 16:52:29 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
OpenSSL — OpenSSL4.1.0 to < 4.1.1 · 4.0.0 to < 4.0.4 · Other versions: unaffected Affected Not stated openssl

Description

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.

en · openssl · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.5 / 10
Severity
high
Provider
CISA-ADP · adp
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
OpenSSL OpenSSL 4.1.0 to < 4.1.1 (affected · semver)4.0.0 to < 4.0.4 (affected · semver)Default: unaffected openssl · cna

Weaknesses

1
  • CWE-787 Out-of-bounds Write (openssl · cna)

References

3
  • 4.1.1 git commit https://github.com/openssl/openssl/commit/8257d58a42033fd7ea4cc439cddcb0c71a879d47 patch Contributors: openssl (cna)
  • 4.0.4 git commit https://github.com/openssl/openssl/commit/e70e09fbecc5c1dc2dd159cb63216bf06318e579 patch Contributors: openssl (cna)
  • OpenSSL Advisory https://openssl-library.org/news/secadv/20261201.txt vendor-advisory Contributors: openssl (cna)

Provider assertions

2

openssl · cna

Heap Buffer Overflow When Re-Encoding Cached ASN.1 Items Above INT_MAX

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
90e0585f2558f352e0a6db9774b0b2fe4d0fe54593f4aa03aad2b5c1fe7923eb
Ingested
01 Dec 2026, 17:00:20 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected