# JLSEC-2026-694: OCSP CertID serial-number length-confusion in `wolfSSL_OCSP_resp_find_status` allows a same-issuer...

- Severity: Medium 5.3 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-07-14T21:41:35.775Z
- Modified: 2026-07-25T18:24:46.492Z
- Related: CVE-2026-10098, GHSA-xpv9-p7vg-qhrc, EUVD-2026-39578

## 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 Julia Security Advisories.)

## Affected

- wolfSSL_jll (Julia): before 5.9.2+0

## Every score

- Julia Security Advisories: 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`
- Julia Security Advisories: CVSS:4.0 `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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X`

## References

- <https://github.com/advisories/GHSA-xpv9-p7vg-qhrc> (web)
- <https://github.com/wolfSSL/wolfssl/pull/10554> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-10098> (web)
- <https://www.wolfssl.com/docs/security-vulnerabilities> (web)
- <https://www.wolfssl.com/docs/security-vulnerabilities/> (web)

## Sources

- Julia Security Advisories: [JLSEC-2026-694](https://osv.dev/vulnerability/JLSEC-2026-694), CC-BY-4.0, modified 2026-07-25

---

Page: https://cve.day/JLSEC-2026-694 · Whole record: https://cve.day/JLSEC-2026-694.json · Rebuilt by cve.day 2026-11-25T22:56:26.205Z
