GHSA-xpv9-p7vg-qhrc
A vulnerability in wolfSSL's OCSP response processing allows a serial number length confusion in the function wolfSSL_OCSP_resp_find_status. This flaw causes the revocation status of one certificate to be incorrectly reported as that of another certificate with the same issuer if the serial number of the first is a prefix of the second. The issue arises because the comparison did not verify that serial numbers were of equal length before comparing bytes. The fix involves ensuring serial numbers have equal length before comparison.
AI Analysis
Technical Summary
The vulnerability in wolfSSL's OCSP response handling (CVE-2026-10098) is due to improper validation of certificate serial numbers in the function wolfSSL_OCSP_resp_find_status. Specifically, the code compares serial number bytes without first checking that the serial numbers are of equal length. This allows a SingleResponse for one certificate whose serial number is a prefix of another certificate's serial number (with the same issuer) to be mistakenly matched, causing the revocation status of the wrong certificate to be returned. The correct behavior requires serial numbers to be equal in length before byte-wise comparison.
Potential Impact
This vulnerability can lead to incorrect revocation status reporting for certificates. A certificate could be incorrectly considered revoked or valid based on the status of a different certificate with a serial number prefix match. This undermines the reliability of OCSP-based revocation checking in affected wolfSSL implementations, potentially impacting security decisions that rely on accurate certificate status.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The fix involves modifying the code to require serial numbers to be of equal length before comparison. Until an official fix is available, users should monitor vendor communications for updates.
GHSA-xpv9-p7vg-qhrc
Description
A vulnerability in wolfSSL's OCSP response processing allows a serial number length confusion in the function wolfSSL_OCSP_resp_find_status. This flaw causes the revocation status of one certificate to be incorrectly reported as that of another certificate with the same issuer if the serial number of the first is a prefix of the second. The issue arises because the comparison did not verify that serial numbers were of equal length before comparing bytes. The fix involves ensuring serial numbers have equal length before comparison.
CVSS v4.0
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in wolfSSL's OCSP response handling (CVE-2026-10098) is due to improper validation of certificate serial numbers in the function wolfSSL_OCSP_resp_find_status. Specifically, the code compares serial number bytes without first checking that the serial numbers are of equal length. This allows a SingleResponse for one certificate whose serial number is a prefix of another certificate's serial number (with the same issuer) to be mistakenly matched, causing the revocation status of the wrong certificate to be returned. The correct behavior requires serial numbers to be equal in length before byte-wise comparison.
Potential Impact
This vulnerability can lead to incorrect revocation status reporting for certificates. A certificate could be incorrectly considered revoked or valid based on the status of a different certificate with a serial number prefix match. This undermines the reliability of OCSP-based revocation checking in affected wolfSSL implementations, potentially impacting security decisions that rely on accurate certificate status.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The fix involves modifying the code to require serial numbers to be of equal length before comparison. Until an official fix is available, users should monitor vendor communications for updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-xpv9-p7vg-qhrc
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-10098"]
- Ecosystems
- []
- Database Specific Severity
- MODERATE
- Cvss Version
- 4.0
Threat ID: 6a3ef7d127e9c79719002b56
Added to database: 06/26/2026, 22:06:09 UTC
Last enriched: 06/26/2026, 22:38:35 UTC
Last updated: 06/27/2026, 00:31:15 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.