CVE-2026-7531 Use-after-free in PQC hybrid key-share handling

Low 2.3 Published Updated

A malicious TLS server can trigger a use-after-free in wolfSSL's PQC hybrid key-share handling, potentially leading to code execution or crashes.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-7531?

CVE-2026-7531 is a low-severity use after free vulnerability in Wolfssl Wolfssl, published on 25 Jun 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Use-after-free in PQC hybrid key-share handling. This is an incomplete-fix follow-up to CVE-2026-5460 (released in 5.9.1): a malicious TLS 1.3 server sending a truncated PQC hybrid KeyShare can still trigger the error cleanup path to operate on freed memory.

Weakness: CWE-416

Which versions are affected by CVE-2026-7531?

It affects 1 product.

Products include Wolfssl Wolfssl.

How do I fix CVE-2026-7531?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2026-7531 being exploited?

There is no known exploitation of CVE-2026-7531 in the wild and no public exploit code.

All Wolfssl Wolfssl vulnerabilities

Sources

Also known as DEBIAN-CVE-2026-7531, GHSA-w9rp-wwm2-fwmr, JLSEC-2026-757, UBUNTU-CVE-2026-7531.

Is CVE-2026-7531 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free