Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconGain local low-privilege access
-
DeliveryCraft PKCS#7 EnvelopedData with OID exceeding declared [4] length
-
ExploitSupply crafted input to wolfSSL-linked application
-
InstallApplication passively processes ORI RecipientInfo
-
C2wc_PKCS7_DecryptOri underflows word32 oriValueSz
-
ExecuteIncorrect length passed to decryption logic
-
ImpactApplication crash or availability disruption
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer underflow checks
|
| Exploitation Conditions | Exploitation requires local system access with at least low-privilege credentials (AV:L, PR:L). The vulnerable code path is only reachable when wolfSSL is compiled with |
| Impact | The CVSS 4.0 base score of 1.0 accurately reflects the highly constrained exploitation surface: local attack vector (AV:L), high complexity (AC:H), presence of a specific attack target required (AT:P), low privileges (PR:L), and passive user interaction (UI:P). The only measurable impact is low availability on the vulnerable system (VA:L); confidentiality and integrity are unaffected (VC:N/VI:N). No EPSS score was provided in the source data, no CISA KEV listing exists, and no standalone public exploit has been identified, though the PR includes a self-contained regression test PoC byte sequence embedded in the wolfSSL test suite - this is not a separately released exploit. The 'Information Disclosure' tag in the source data conflicts with the CVSS vector showing VC:N; this discrepancy is unresolved and may reference a related but distinct issue within the same PR. SSVC signals are uniformly low: exploitation status is none, automatable is no due to local-only vector, and technical impact is partial at best. This is a low-priority remediation for most organizations unless the specific deployment processes untrusted PKCS#7 ORI messages from local sources. |
| Exploit ScenarioDerived | A local low-privileged attacker who can supply or influence PKCS#7 EnvelopedData content processed by a wolfSSL-linked application - for example through a file path, local socket, or IPC channel - crafts a message where the OID inside the |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 25, 2026
Integer underflow in wolfSSL's PKCS#7 ORI decryption path allows a local low-privileged attacker to cause incorrect length computation during EnvelopedData parsing, resulting in low-severity availability impact. Specifically, when the OID embedded inside an implicit [4] CONSTRUCTED Other Recipient Info sequence consumes more bytes than the field's declared length, the word32 subtraction for oriValueSz wraps around to a near-maximal unsigned value, feeding corrupted length data to downstream decryption logic. No public exploit has been identified and no CISA KEV listing exists; exploitation requires local access, high complexity, and passive processing of crafted input by the target application.
RemediationAI
The upstream fix is available as GitHub PR #10203 (https://github.com/wolfSSL/wolfssl/pull/10203); however, a tagged patched release version has not been independently confirmed - only the upstream PR reference is available, so this should be treated as 'Upstream fix available (PR/commit); released patched version not independently confirmed.' Organizations should monitor https://www.wolfssl.com/docs/security-vulnerabilities/ for the formal advisory citing a specific release. As a compile-time compensating control, removing the HAVE_PKCS7 build flag eliminates the vulnerable code path entirely; the trade-off is complete loss of PKCS#7 functionality. If PKCS#7 support is required but ORI decryption is not, applications should validate or reject EnvelopedData messages containing [4] CONSTRUCTED ORI RecipientInfo structures at the application boundary before passing them to wolfSSL, preventing the underflow from being triggered without altering library behavior.
Affected VersionsENISA
Affected Packages
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
The vulnerability is in wc_PKCS7_DecryptOri within wolfSSL's PKCS#7 implementation (src/ssl_p7p12.c). PKCS#7 EnvelopedData supports multiple RecipientInfo types; Other Recipient Info (ORI) is encoded using an implicit ASN.1 [4] CONSTRUCTED tag that replaces the outer SEQUENCE. The parser reads seqSz from the [4] length field, then parses the OID within it. When an attacker crafts a message where the OID's total byte consumption (tag byte + length byte + content bytes) exceeds the declared seqSz, the computation oriValueSz = seqSz - oidConsumed underflows the word32 (unsigned 32-bit integer), wrapping to approximately 0xFFFFFFFF minus the difference. CWE-191 (Integer Underflow / Wrap-or-Wraparound) is the root cause. The wrapped value is then passed as a length parameter to downstream decryption callbacks, producing incorrect behavior. The CPE string cpe:2.3:a:wolfssl:wolfssl:*:*:*:*:*:*:*:* covers all versions. The PR also corrects a related heap-OOB read in wolfSSL_PKCS7_get0_signers where directly passing the address of a struct field to wolfSSL_d2i_X509 caused the stored pointer to be permanently advanced on each call, leading to a corrupted pointer on subsequent access.
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
CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/U:Clear
Local-only vector with high complexity and low privileges required; passive interaction needed; only low availability impact from incorrect length handling causing potential crash.
Primary rating from Vendor (wolfSSL).
CVSS VectorVendor: wolfSSL
DescriptionCVE.org
Integer underflow in wc_PKCS7_DecryptOri when handling crafted Other Recipient Info, leading to incorrect length handling during decryption.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
wolfSSL prior to version 3.12.2 provides a weak Bleichenbacher oracle when any TLS cipher suite using RSA key exchange i
A specially crafted x509 certificate can cause a single out of bounds byte overwrite in wolfSSL through 3.10.2 resulting
Authentication bypass in wolfSSL TLS clients built with Raw Public Key (RPK) support allows a malicious or on-path serve
wolfSSL builds that enable the WOLFSSL_TRUST_PEER_CERT macro can be induced to accept a forged clone of a trusted-peer C
Certificate forgery in the wolfSSL client (versions 5.7.2 through 5.9.2) lets a remote attacker who already holds any ce
wolfSSL (formerly CyaSSL) before 3.6.8 allows remote attackers to cause a denial of service (resource consumption or tra
In wolfSSL before 5.5.1, malicious clients can cause a buffer overflow during a TLS 1.3 handshake. Rated high severity (
An issue was discovered in wolfSSL before 5.5.0. Rated high severity (CVSS 7.5), this vulnerability is remotely exploita
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
In wolfSSL 4.1.0 through 4.2.0c, there are missing sanity checks of memory accesses in parsing ASN.1 certificate data wh
An issue was discovered in wolfSSL before 4.5.0, when single precision is not employed. Rated high severity (CVSS 7.0).
wolfSSL before 4.5.0 mishandles TLS 1.3 server data in the WAIT_CERT_CR state, within SanityCheckTls13MsgReceived() in t
EUVD-2026-39558
GHSA-p894-8wv9-373j
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB