All vulnerabilities

Servers and applications

CVE-2026-120667

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

Severity
High 7.5
Published
1 Dec 2026
Last changed
1 Dec 2026
Added to UpHeron
1 Dec 2026
Fixed in
4.0.4, 4.1.1
Weakness
Out-of-bounds write (CWE-787)
Attack
Over the network · No login needed · No user action needed
Attacker can
Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Sources
CVE Program

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.

From the CVE Program. Shortened; the full text is there.

Affected software

SoftwareAffected versions
OpenSSLServers and applications · cna:openssl|openssl
  • From 4.0.0 before 4.0.4
  • From 4.1.0 before 4.1.1

Status in Debian

Debian builds fixes into its own packages, so a release is often fixed under an older version number than the one upstream names.

  • 2 vulnerable
  • 2 fixed
PackageDebian releaseStatus
opensslsidunstableVulnerableNo fix yet.
14forkytestingVulnerableNo fix yet.
13trixiestableFixed
12bookwormoldstableFixed

From Debian's security tracker for CVE-2026-120667 , read in the last 12 hours.

About OpenSSL

open-source implementation of the SSL and TLS protocols

From Wikidata, CC0 1.0.
GitHub stars
31,575GitHub, 29 Nov 2026
Forks
11,656GitHub, 29 Nov 2026
Latest release
openssl-4.1.0GitHub, 29 Nov 2026
Released
23 Oct 2026GitHub
Developer
Richard LevitteWikidata
License
Apache License 2.0Wikidata
Written in
C, assembly language, PerlWikidata
First released
1998Wikidata
First published on GitHub
15 Jan 2013GitHub

Release lines

ReleaseLatestSecurity fixes
4.14.1.0Until 23 Nov 2027
4.04.0.3Until 14 May 2027
3.63.6.5Ended 1 Nov 2026
3.5 (LTS)LTS3.5.9Until 8 Apr 2030
3.43.4.8Ended 22 Oct 2026
3.33.3.7Ended 9 Apr 2026

From endoflife.date.

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-120667