OCSP CertID serial-number length-confusion in wolfSSL_OCSP_resp_find_status
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-10098
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 18:45 UTC · Revision 1
Source evidence
OCSP CertID serial-number length-confusion in wolfSSL_OCSP_resp_find_status
core-osv · Original sourcePublished 25 Jun 2026, 21:16 UTC
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.
osv:CVE-2026-10098
Complete source record
{
"id": "71599c9663979ff05af1f7d5356ce0f408b48c13a3b493119c29a1937c9f42d4",
"url": "https://osv.dev/vulnerability/CVE-2026-10098",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "OCSP CertID serial-number length-confusion in wolfSSL_OCSP_resp_find_status",
"summary": "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.",
"evidence": "osv:CVE-2026-10098",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-10098",
"aliases": [
"CVE-2026-10098"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/wolfssl/wolfssl",
"type": "GIT",
"events": [
{
"introduced": "9c87f979a7f1d3a6d786b260653d566c1d31a1c4"
},
{
"fixed": "ac01707f552c611fbd135cc723b2682b3e7f80f2"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "4.6.0"
},
{
"last_affected": "5.9.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"cpe": "cpe:2.3:a:wolfssl:wolfssl:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "4.6.0"
},
{
"fixed": "5.9.2"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v5.9.1-stable",
"v5.9.0-stable",
"v5.8.4-stable",
"wolfEntropy2d",
"v5.8.2-stable",
"wolfEntropy1",
"v5.8.0-stable",
"v5.7.6-stable",
"v5.7.4-stable",
"v5.2.1",
"v5.7.2-stable",
"v5.7.0-stable",
"v5.6.6-stable",
"v5.6.4-stable",
"WCv5.0-RC12",
"WCv5.0-RC11",
"WCv5.0-RC10",
"v5.6.2-stable",
"v5.6.3-stable",
"v5.6.0-stable",
"v5.5.4-stable",
"v5.5.3-stable",
"v5.5.2-stable",
"v5.5.1-stable",
"v5.5.0-stable",
"v5.4.0-stable",
"v5.3.0-stable",
"v5.2.0-stable",
"v5.1.0-stable",
"v5.0.0-stable",
"WCv5.0-RC9",
"v4.8.0-stable",
"v4.7.1r",
"v4.7.0-stable",
"v4.6.0-stable"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-10098.json"
}
}
],
"modified": "2026-10-28T02:30:31.494968446Z",
"provider": "osv",
"references": [
"https://www.wolfssl.com/docs/security-vulnerabilities/",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/10xxx/CVE-2026-10098.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-10098",
"https://github.com/wolfSSL/wolfssl/pull/10554",
"https://github.com/wolfSSL/wolfssl"
],
"provider_metadata": {
"cwe_ids": [
"CWE-295"
],
"cna_assigner": "wolfSSL",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/10xxx/CVE-2026-10098.json"
}
},
"related_cves": [
{
"value": "CVE-2026-10098",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 498535,
"published_at": "2026-06-25T21:16:45.85+00:00"
}