
OpenSSL is not a product you buy or a server you run. It is the code that
makes the lock work in almost everything else — and when its arithmetic is
wrong, the failure is inherited by every device that links it.
What it is
OpenSSL is an open-source cryptography toolkit written in C, shipped as two
libraries and a command-line program:
- libcrypto — the algorithms and the formats: AES, SHA-2, SHA-3, RSA, ECDSA,
Ed25519, X25519, ML-KEM and ML-DSA, big-number arithmetic, and the ASN.1
encoder/decoder that reads and writes X.509 certificates, CRLs, PKCS#7,
CMS and PKCS#12. - libssl — the TLS protocol: handshakes, records, session resumption,
certificate verification, and, since the 3.5 line, a QUIC implementation. - The
opensslCLI — the tool operators use to inspect certificates,
test a handshake, or sign a file.
It is licensed under Apache 2.0 and developed by the OpenSSL Project. The
current lines are 3.0 (long-term support), 3.4, 3.5, 3.6, 4.0 and 4.1, plus a
separately validated FIPS provider for regulated environments.
A plain-language analogy
Imagine a lock factory that supplies the cylinders inside everybody else's
door handles. The factory does not build buildings, sell doors, or manage
access. It makes one component, to a specification, and ships it by the
million.
When that component is sound, nobody notices. When its blueprint has a
measurement error, every door built from it inherits the error — including
doors in buildings the factory has never heard of.
OpenSSL is that factory. The doors are web servers, VPN concentrators, mail
gateways, load balancers, switches, printers, industrial controllers, and the
firmware of appliances whose vendors will not publish a bill of materials.
One tiny example
The most ordinary thing OpenSSL does is also the most consequential:
openssl s_client -connect example.com:443 -servername example.com
That command opens a TLS connection, parses the server's certificate chain,
checks the signature and the names, and prints the result. Every step after
the TCP connection is OpenSSL: the ASN.1 decoding of the certificate, the
big-number arithmetic that verifies the signature, the record layer that
protects the session.
Nothing in that command looks like a parser. Everything in it is one.
The bug this series is about
In February 2026, two researchers reported a signed integer overflow in
ASN1_mbstring_ncopy() — the function that converts ASN.1 string types into
OpenSSL's internal representation. The destination size for Unicode output is
computed in a signed int; at around 2^30 characters the calculation wraps,
a one-byte buffer is allocated, and the conversion writes gigabytes past it.
That is a heap buffer overflow with an attacker-influenced length.
The fix shipped on 9 June 2026 in OpenSSL 3.5.7 and 4.0.1, with
backports to 3.6.3, 3.4.6 and 3.0.21. The last vulnerable releases were
3.5.6 (7 April 2026) and 4.0.0 (14 April 2026). An April upgrade left
you current and vulnerable; the fix came two months later. The corpus entry
for this bug says 3.5.6/4.0.0 and February 2026; the primary record says
otherwise.
Why it matters here
The OpenSSL project rated CVE-2026-7383 Low. Its own advisory says no
network protocol and no certificate-handling path reaches the overflow; it
needs an application that calls the string-conversion API directly, or
registers a custom string type, with an input on the order of half a
gigabyte.
The narrowness is the point. A memory-safety defect in a library this widely
embedded is measured less by today's callers than by the copies in firmware
that will never be fixed: one dependency, a whole population of exposure.
The shape of the series
Part 2 inventories that population. Part 3 shows what the library does beyond
HTTPS. Part 4 compares it with BoringSSL, LibreSSL, wolfSSL and mbedTLS. Part
5 opens the internals. Part 6 covers the smaller failures. Part 7 takes
CVE-2026-7383 apart. Part 8 is the version story — the upgrade that was not
the fix. Part 9 walks the exploitation chain. Part 10 is the remediation
ladder.

Next: Part 2 — the sixty-five percent: the web servers, appliances and
firmware images that all carry the same library, and the inventory nobody
has.

Comments (0)