
CVE-2026-7383 is one entry in a longer ledger. The same release cycle fixed
use-after-frees, out-of-bounds reads and a four-gigabyte re-encoding overflow —
all in the code that reads attacker-shaped data.
One module, many boundaries
OpenSSL's ASN.1 code sits on several boundaries at once: attacker bytes and C
structures, caller-owned and library-owned memory, 32-bit and 64-bit sizes,
ASN.1 types and C types. Each boundary produces its own class of bug.
CVE-2026-45447 — the caller's BIO
Severity: High. A PKCS#7 or S/MIME signed message whose SignedData
digestAlgorithms field is an empty ASN.1 SET can cause PKCS7_verify() to
free a BIO that the caller owns. When the application later calls BIO_free()
on the same object, the result is a use-after-free.
The mechanism is a lifetime error, not a length error: the parser accepts an
empty set that the specification does not expect, and the cleanup path frees
something it does not own. Applications using the CMS API are not affected;
applications using the older PKCS#7 API are.
This is the highest-severity bug in the same advisory as CVE-2026-7383, and a
useful calibration: the overflow is Low, the use-after-free is High. Both are
memory-safety defects in the same library and release; the difference is
reachability and reliability, not category.
CVE-2026-9076 — the cipher chosen by the attacker
Severity: Low. CMS password-based decryption (RFC 3211, PWRI key unwrap)
lets the attacker choose the key-encryption cipher through an OID in the
message. A stream-mode cipher with a short block length can make
kek_unwrap_key() read seven bytes past a heap allocation sized from the
wrapped-key length.
The impact is a crash if the allocation ends at a page boundary; the over-read
bytes are not returned, so there is no disclosure. A narrow denial of service,
fixed in the same June releases.
CVE-2026-31789 — the 32-bit hex conversion
Severity: Low. Converting an excessively large OCTET STRING to a
hexadecimal string overflows a size calculation on 32-bit platforms, producing
a heap buffer overflow. It was fixed in April 2026 in 3.5.6, 3.6.2, 3.4.5,
3.3.7 and 3.0.20.
The parallel with CVE-2026-7383 is exact: an output size in a type too small
for the input, an allocation that trusts the wrapped value, a copy that writes
the true length. The 32-bit qualifier keeps it Low; on 64-bit servers the size
does not wrap at the same threshold.
CVE-2026-120667 — four gigabytes of cached DER
Severity: Moderate. ASN1_item_i2d() encodes an item in two passes:
size first, write second. For an item with a cached DER encoding,
ossl_asn1_enc_restore() reports the length through an int while copying
the full long. A cached encoding longer than INT_MAX is reported
truncated, the caller allocates a small buffer, and the second pass copies the
whole span into it.
An application that parses a malicious CRL, certificate or CSR from a buffer
larger than 4 GiB can trigger it. Fixed in December 2026 in 4.0.4 and 4.1.1.
The same theme again: an int length in a size_t world.
CVE-2026-34180 — named, not detailed
OpenSSL's 3.5.7 release notes also list a heap buffer over-read in ASN.1
content parsing, CVE-2026-34180. Its mechanism is not described here: the
advisory text was not retrieved, and a changelog name is not a mechanism. It is
listed for the same pattern and release.
What the pattern says
- Lifetime. Who owns this object, and when may it be freed?
- Selection. Which algorithm, length or type did the attacker choose, and
did we validate it against the operation we are about to perform? - Width. Is this size an
int, alongor asize_t, and what happens
at the boundary? - Expansion. How many output bytes can this input produce, and is the
worst case representable?
Each fix is local and small. They keep appearing because ASN.1 gives an
attacker control over type, length, nesting and encoding at once, and the C
code must keep every invariant in its head.

Next: Part 7 — the size that wraps to one byte: CVE-2026-7383 in full,
including what the advisory does and does not claim.

Comments (0)