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

- Severity: Medium 6.3 (CVSS:4.0, scored by wolfSSL) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 5% of CVEs (2026-11-30)
- Published: 2026-06-25T21:16:45.850Z
- Modified: 2026-06-27T20:01:35.483Z
- Weaknesses: CWE-295
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: wolfSSL

## 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.

(As written by CVE List.)

## Affected

- wolfSSL wolfSSL: from 4.6.0 up to 5.9.1; from 4.6.0 before 5.9.2

## Every score

- wolfSSL: CVSS:4.0 6.3 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`

## References

- <https://github.com/wolfSSL/wolfssl/pull/10554> (issue-tracking, patch)
- <https://www.wolfssl.com/docs/security-vulnerabilities/> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-10098](https://www.cve.org/CVERecord?id=CVE-2026-10098), CVE Terms of Use, modified 2026-06-26
- NVD: [CVE-2026-10098](https://nvd.nist.gov/vuln/detail/CVE-2026-10098), Public domain, modified 2026-06-27

---

Page: https://cve.day/CVE-2026-10098 · Whole record: https://cve.day/CVE-2026-10098.json · Rebuilt by cve.day 2026-11-25T22:59:26.437Z
