Skip to main content

Wolfssl CVE-2026-5504

| EUVDEUVD-2026-21235 MEDIUM
Improper Validation of Integrity Check Value (CWE-354)
2026-04-09 facts@wolfssl.com GHSA-qvjw-73xm-jw34
6.3
CVSS 4.0 · NVD
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V15 - Secure Coding and Architecture Integrity verification
Impact

CVSS 6.3 with attack vector network and unauthenticated access indicates moderate severity, but several mitigating factors lower real-world risk. The CVSS vector specifies high attack complexity (AC:H) and attack time persistence required (AT:P), reflecting the iterative nature of padding oracle attacks-an attacker must send many specially-crafted requests and analyze responses, making this impractical for rapid mass exploitation. Confidentiality impact is limited (VC:L), and integrity and availability are unaffected. No active exploitation data (KEV status unknown) or public proof-of-concept code has been reported as of analysis. The attack requires the target application to expose decryption oracles (e.g., returning different error messages for valid vs. invalid padding), which is a specific integration flaw in addition to the library vulnerability. This is a real but low-priority issue for systems where decryption results are not exposed to untrusted requestors; it becomes critical for systems like TLS implementations or messaging protocols that fail open on padding errors.

Exploit ScenarioDerived

An attacker targeting a service that exposes a PKCS7 decryption endpoint (e.g., a legacy encryption service or poorly-designed API) repeatedly sends modified ciphertexts and observes response patterns-timing differences, error codes, or success/failure indicators-to deduce plaintext content byte-by-byte. High attack complexity and persistence requirements (AC:H, AT:P) mean this attack requires sustained effort and detailed knowledge of the target service's response behavior, making it practical primarily against well-understood, publicly-documented systems rather than opportunistic attacks. No public exploit code is documented; successful attack depends on the specific service implementation exposing the oracle.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Apr 09, 2026

Padding oracle vulnerability in wolfSSL's PKCS7 CBC decryption allows unauthenticated remote attackers to recover plaintext through repeated decryption queries with modified ciphertext, exploiting insufficient validation of interior padding bytes. The vulnerability requires high attack complexity and persistent attacker interaction but presents practical risk to systems using affected wolfSSL versions for PKCS7-encrypted communications.

RemediationAI

Apply the patched version of wolfSSL released following PR #10088 (https://github.com/wolfSSL/wolfssl/pull/10088), which implements proper validation of all interior padding bytes in PKCS7 CBC decryption. Update wolfSSL library to the latest stable release that incorporates this fix. As a temporary workaround for high-risk deployments, avoid exposing decryption failure details (timing differences or distinct error messages) to untrusted network clients; instead, fail closed by treating all padding validation failures identically and logging events server-side only. Ensure applications do not retry decryption with modified ciphertexts based on user input.

Affected VersionsENISA

wolfSSL 0 ≤5.9.0

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

The vulnerability exists in wolfSSL's implementation of PKCS7 padding validation during CBC mode decryption. PKCS7 specifies that padding bytes must all contain the same value equal to the number of padding bytes added. The flaw lies in inadequate validation of interior padding bytes-bytes between the first and last padding byte-which enables a padding oracle attack. An attacker can iteratively modify ciphertext, submit it for decryption, and observe whether the decryption succeeds or fails, using these timing or error-response differences to infer information about the plaintext. This is a classic side-channel vulnerability (CWE-354: Improper Validation of Specified Quantity in Input) that allows bit-by-bit plaintext recovery without knowing the encryption key.

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

NVD PRIMARY 6.3 MEDIUM
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

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

DescriptionCVE.org

A padding oracle exists in wolfSSL's PKCS7 CBC decryption that could allow an attacker to recover plaintext through repeated decryption queries with modified ciphertext. In previous versions of wolfSSL the interior padding bytes are not validated.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.0%
Patch available No
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