Skip to main content

wolfSSL CVE-2026-10098

| EUVDEUVD-2026-39578 MEDIUM
Improper Certificate Validation (CWE-295)
2026-06-25 wolfSSL GHSA-xpv9-p7vg-qhrc
6.3
CVSS 4.0 · Vendor: wolfSSL
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Intercept or hijack OCSP responder traffic
  2. Delivery
    Craft OCSP response with same-issuer prefix serial
  3. Exploit
    Submit response to wolfSSL OCSP lookup
  4. Execution
    Prefix match triggers incorrect status binding
  5. Impact
    Revoked certificate reported as valid

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V12 - Secure Communication Certificate validation
Exploitation Conditions

Exploitation requires three concurrent conditions: (1) wolfSSL must be compiled with HAVE_OCSP and OPENSSL_EXTRA enabled - the vulnerability does not exist in builds without OCSP support; (2) the application must perform client-side OCSP certificate revocation checking during TLS certificate validation; and (3) the attacker must control or forge an OCSP response - either via MITM of unauthenticated HTTP OCSP traffic, DNS hijacking of the OCSP responder hostname, or operating as a rogue responder - and must craft a response containing a SingleResponse from the same CA issuer whose serial number bytes are a strict byte-prefix of the target certificate's serial. The CVSS 4.0 AT:P (Attack Requirements: Present) formally encodes this multi-factor prerequisite. Exploitation is entirely prevented if OCSP is not compiled in, if OCSP stapling is used exclusively (removing the client-query path), or if OCSP responder traffic is protected by mutual TLS. Authentication level is not a limiting factor per the PR:N CVSS metric - the attack is exercised through the OCSP response channel, not through authenticated application endpoints.

Impact

The CVSS 4.0 score of 6.3 with vector AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N reflects a network-reachable, unauthenticated flaw carrying limited integrity impact, but with Attack Requirements Present (AT:P) - meaning exploitation is not trivially passive. An attacker must either act as a man-in-the-middle against unprotected OCSP HTTP traffic, operate a rogue OCSP responder (via DNS hijacking or misconfigured responder URI), and additionally possess or craft a certificate from the same CA whose serial is a byte-prefix of the target. This combination elevates practical complexity beyond raw CVSS surface suggests. There is no CISA KEV listing and no public POC, making opportunistic mass exploitation unlikely at this time. The realistic threat scenario is targeted: an attacker with network position who wants to make a revoked certificate appear valid. The integrity impact (VI:L) is real but scoped - no confidentiality or availability degradation applies. The CPE wildcard on version range means no lower bound on affected versions is confirmed; all wolfSSL deployments using OCSP are potentially affected until patched.

Exploit ScenarioDerived

An attacker performing a man-in-the-middle attack intercepts an application's OCSP request for a target certificate with serial 01:02:03 and substitutes a crafted OCSP response containing a SingleResponse for a same-CA certificate with serial 01:02 marked as CERT_GOOD. wolfSSL's prefix-matching bug causes the lookup to bind this shorter serial's GOOD status to the longer target serial, causing the application to treat the target certificate - potentially a revoked one - as valid. No public POC or exploit code has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 25, 2026

OCSP certificate status lookup in wolfSSL returns the wrong certificate's revocation status when a same-issuer SingleResponse serial number is a byte-prefix of the requested certificate's serial. The wolfSSL_OCSP_resp_find_status function in src/ocsp.c compared serial bytes via XMEMCMP without first verifying that both serial lengths are equal, allowing a 2-byte serial 01:02 in an OCSP response to satisfy a lookup for a 3-byte certificate serial 01:02:03. No public exploit has been identified at time of analysis, but the integrity consequence is concrete: a revoked certificate could be incorrectly reported as valid if an attacker can supply a crafted OCSP response.

RemediationAI

Apply the fix from wolfSSL PR #10554 (https://github.com/wolfSSL/wolfssl/pull/10554), which adds a serial-length equality check before the byte comparison in wolfSSL_OCSP_resp_find_status. A specific tagged release version incorporating this fix has not been independently confirmed - monitor https://www.wolfssl.com/docs/security-vulnerabilities/ for the official release announcement. As a compensating control for deployments where OCSP revocation checking is not strictly required, recompiling wolfSSL without HAVE_OCSP entirely removes the vulnerable code path, though this eliminates all OCSP-based revocation checking. Where OCSP must remain enabled, preferring OCSP stapling (server-provided responses over the TLS handshake) over client-initiated OCSP responder queries reduces the window for a rogue responder attack, as the server-stapled response is harder for a remote attacker to substitute. Note that disabling OCSP weakens revocation posture and should be weighed against the organization's certificate trust model.

Affected VersionsENISA

wolfSSL 4.6.0 ≤5.9.1

Affected Packages

euvd wolfssl no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

wolfSSL is a lightweight embedded SSL/TLS library targeting IoT, RTOS, and resource-constrained environments (CPE: cpe:2.3:a:wolfssl:wolfssl:*:*:*:*:*:*:*:*). OCSP (Online Certificate Status Protocol) enables certificate revocation checking by querying a responder for a CertID containing issuer hash, issuer key hash, and certificate serial number. The affected function wolfSSL_OCSP_resp_find_status iterated OCSP BasicResponse entries and matched a SingleResponse to the requested CertID by comparing issuer hashes and then calling XMEMCMP on the serial bytes. CWE-295 (Improper Certificate Validation) captures the root cause: the validation logic was structurally incomplete - it compared serial content without enforcing length equality, violating the requirement that two distinct serial numbers must match both in byte value AND in byte count. The one-line fix in PR #10554 inserts single->status->serialSz == id->status->serialSz && before the XMEMCMP call. The vulnerability is conditional on the HAVE_OCSP compile-time flag and OPENSSL_EXTRA compatibility layer being enabled, as confirmed by the test preprocessor guards.

Know when Wolfssl gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (wolfSSL) PRIMARY 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
vuln.today AI 3.7 LOW

High complexity because exploitation requires both MITM/rogue-responder position and a specifically crafted prefix-serial certificate; no confidentiality or availability impact applies.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (wolfSSL).

CVSS VectorVendor: wolfSSL

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Prevalence
Medium
embedded SSL/TLS library common in IoT and RTOS deployments
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2017-13099 HIGH POC
7.5 Dec 13

wolfSSL prior to version 3.12.2 provides a weak Bleichenbacher oracle when any TLS cipher suite using RSA key exchange i

CVE-2017-2800 CRITICAL POC
9.8 May 24

A specially crafted x509 certificate can cause a single out of bounds byte overwrite in wolfSSL through 3.10.2 resulting

CVE-2026-89136 HIGH POC
8.3 Sep 27

Authentication bypass in wolfSSL TLS clients built with Raw Public Key (RPK) support allows a malicious or on-path serve

CVE-2026-93302 HIGH POC
8.3 Sep 27

wolfSSL builds that enable the WOLFSSL_TRUST_PEER_CERT macro can be induced to accept a forged clone of a trusted-peer C

CVE-2026-89102 HIGH POC
8.3 Sep 27

Certificate forgery in the wolfSSL client (versions 5.7.2 through 5.9.2) lets a remote attacker who already holds any ce

CVE-2015-6925 HIGH POC
7.5 Jan 22

wolfSSL (formerly CyaSSL) before 3.6.8 allows remote attackers to cause a denial of service (resource consumption or tra

CVE-2022-39173 HIGH POC
7.5 Sep 29

In wolfSSL before 5.5.1, malicious clients can cause a buffer overflow during a TLS 1.3 handshake. Rated high severity (

CVE-2022-38152 HIGH POC
7.5 Aug 31

An issue was discovered in wolfSSL before 5.5.0. Rated high severity (CVSS 7.5), this vulnerability is remotely exploita

CVE-2020-11713 HIGH POC
7.5 Apr 12

wolfSSL 4.3.0 has mulmod code in wc_ecc_mulmod_ex in ecc.c that does not properly resist timing side-channel attacks. Ra

CVE-2019-18840 HIGH POC
7.5 Nov 09

In wolfSSL 4.1.0 through 4.2.0c, there are missing sanity checks of memory accesses in parsing ASN.1 certificate data wh

CVE-2020-15309 HIGH POC
7.0 Aug 21

An issue was discovered in wolfSSL before 4.5.0, when single precision is not employed. Rated high severity (CVSS 7.0).

CVE-2020-24613 MEDIUM POC
6.8 Aug 24

wolfSSL before 4.5.0 mishandles TLS 1.3 server data in the WAIT_CERT_CR state, within SanityCheckTls13MsgReceived() in t

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy