CVE-2026-10098 OCSP CertID serial-number length-confusion in wolfSSL_OCSP_resp_find_status

Medium 6.3 Published Updated

An attacker can spoof OCSP revocation status by exploiting a serial number length confusion, bypassing certificate validation checks.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-10098?

CVE-2026-10098 is a medium-severity vulnerability in Wolfssl Wolfssl, published on 25 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

OCSP CertID serial-number length-confusion in wolfSSL_OCSP_resp_find_status allows a same-issuer SingleResponse whose serial is a prefix of the target serial to be reported as the revocation status of a different certificate. The lookup compared serial-number bytes without first requiring the two serial numbers to be of equal length, so a SingleResponse for one certificate (same issuer) whose serial is a prefix of the target's serial would match, returning the wrong certificate's status. The fix requires the serial lengths to be equal before comparing the serial bytes.

Weakness: CWE-295

Which versions are affected by CVE-2026-10098?

It affects 1 product.

Products include Wolfssl Wolfssl.

How do I fix CVE-2026-10098?

Apply the vendor's patch.

Is CVE-2026-10098 being exploited?

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

All Wolfssl Wolfssl vulnerabilities

Sources

Also known as DEBIAN-CVE-2026-10098, GHSA-xpv9-p7vg-qhrc, JLSEC-2026-694, UBUNTU-CVE-2026-10098.

Is CVE-2026-10098 in your software?

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

Check your SBOMs for free