OpenSSL's 9 June update fixes 18 flaws, one rated High

In short

18 flaws fixed in one advisory; 1 / 5 / 12 High / Moderate / Low; 43 days from the High report (27 April) to the advisory (9 June); our count; 7 entries crediting Alex Gaynor of Anthropic; our count

What is the High flaw in PKCS7_verify()?

PKCS#7 is an older standard for signed and encrypted messages; S/MIME, which signs email, uses it. When a program checks a signature it hands OpenSSL a "BIO", a handle to a stream of data that the program itself owns and must later release.

The advisory says that if the signed message's digestAlgorithms field is present but is an empty ASN.1 SET (an empty list), OpenSSL "may incorrectly free a caller-owned BIO" during PKCS7_verify(). When the application later calls BIO_free() on that same BIO, it releases memory that is already gone. Depending on the memory allocator and how the application uses BIOs, the result is a crash or other memory corruption, and "in some application contexts" possibly remote code execution.

What is a use-after-free? (our explanation) A program asks for a block of memory, gives it back, and then something still uses it. By then the memory may have been handed to other data, so the stale use can read or overwrite things it should not. It is a common route to crashes and, in the worst cases, to attackers running their own code.

Versions 4.0, 3.6, 3.5, 3.4, 3.0, 1.1.1 and 1.0.2 are all vulnerable. The first five are fixed in 4.0.1, 3.6.3, 3.5.7, 3.4.6 and 3.0.21. For 1.1.1 and 1.0.2 the fixes (1.1.1zh and 1.0.2zq) are for premium support customers only. The fix was developed by Igor Ustinov.

Why are the FIPS modules not affected?

The advisory says the FIPS modules in 4.0, 3.6, 3.5, 3.4 and 3.0 are not affected "as the affected code is outside the OpenSSL FIPS module boundary". (Our gloss: the FIPS modules are the separately validated part of OpenSSL that holds approved algorithms; PKCS#7 parsing is not in that part, so organisations that run only the validated module are not exposed through it.) A similar statement recurs in most of the 18 entries.

One exception: for CVE-2026-42770, a Low-rated Diffie-Hellman key-check flaw, the advisory says the FIPS modules in 4.0, 3.6, 3.5, 3.4, 3.1.2 and 3.0 are affected.

The five Moderate flaws

The CMS flaw is the most unusual. According to the advisory, an on-path attacker who captures one genuine AES-GCM message can re-send it with the cipher label rewritten to AES-256-OFB, a mode that does no authentication. The victim's real key still unwraps, the message authentication code is never checked, and CMS_decrypt() returns success. If the application tells the attacker whether decryption worked, that answer can act as an oracle giving "key equivalent functionality" for the message key. A second variant shortens the authentication tag to a single byte so it can be brute-forced.

The OCSP flaw needs OCSP stapling, which "is not enabled by default", and the advisory notes that reliable code execution from a double-free is "technically complex and highly environment-dependent"; the denial of service is easy, which is why it is Moderate. The AES-OCB flaw affects only applications that combine AES-OCB with the one-shot EVP_Cipher() call, which OpenSSL's own documentation advises against; TLS is not affected.

The 12 Low flaws

They cover ASN.1 parsing (CVE-2026-7383, CVE-2026-34180), CMS and PKCS#7 password-based and Bleichenbacher-style decryption (CVE-2026-9076, CVE-2026-42766, CVE-2026-42768), PKCS#12 with short HMAC keys (CVE-2026-34181), OCSP and CRMF NULL dereferences (CVE-2026-42765, CVE-2026-42767), a typo that let a CMP registration authority holding valid credentials substitute the root CA (CVE-2026-42769), the Diffie-Hellman check above (CVE-2026-42770), an email-name out-of-bounds read (CVE-2026-42771) and wrong tags for empty messages in AES-GCM-SIV and AES-SIV (CVE-2026-45446). The advisory says AES-SIV, not GCM-SIV, is affected in 3.0, and that no protocol inside OpenSSL itself uses either mode.

Who reported what?

The credit lines list many independent reporters, and several issues were found by more than one person. Reading them:

Only the High entry says Claude was involved. The other credit lines name people and their employers; the advisory does not say whether AI tools helped find those bugs, so this story does not either.

Who needs to do what?

The advisory's instruction is simple: upgrade to 4.0.1, 3.6.3, 3.5.7, 3.4.6 or 3.0.21 for the branch you run. Only currently supported releases were analysed; 3.1, 3.2 and 3.3 are out of support and were not. The advisory itself adds that its online version "may be updated with additional details over time". We did not check for later changes.

Sources

Sources

Related stories

More from Vulnerability Research

All stories from Vulnerability Research