Skip to main content

Wolfssl CVE-2026-5778

| EUVDEUVD-2026-21220 LOW
Integer Underflow (CWE-191)
2026-04-09 facts@wolfssl.com GHSA-2jvp-h4w4-2vxh
2.1
CVSS 4.0 · NVD
View

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer underflow checks
Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:L) yields a score of 2.1, reflecting availability impact only (denial of service via crash), no confidentiality or integrity breach, and modestly mitigating factors (Prior Probability: P, User Interaction: P, Privileges: L). However, multiple signals warrant careful evaluation: (1) The attack vector is network-based (AV:N) with low complexity (AC:L), meaning any remote sender of malformed TLS records can trigger the crash, (2) The CVSS privileges requirement (PR:L) and user interaction (UI:P) appear inconsistent with the description stating unauthenticated remote trigger-this suggests either the CVSS vector misclassifies the actual threat model or the prior probability rating captures an assumption about attack likelihood in real deployments, (3) No EPSS score, KEV confirmation, or public proof-of-concept is reported, indicating limited current exploitation activity, (4) The patch reference (GitHub PR #10125) suggests a fix was developed; absence of a specific released version number suggests the fix may be pending official release or already included in a point release. For passive TLS inspection tools and traffic analysis appliances using wolfSSL, this is a real denial-of-service risk that warrants patching. For typical TLS client/server applications not performing packet sniffing, exposure is minimal. The low CVSS reflects correct prioritization: this is a low-severity issue suitable for routine patching, not emergency response.

Exploit ScenarioDerived

An attacker monitors network traffic to identify systems or appliances passively inspecting TLS connections using wolfSSL (e.g., a network security appliance or intrusion detection system). The attacker crafts a malicious TLS Application Data record with a length field (e.g., 4 bytes) smaller than the required explicit IV plus authentication tag size (typically 12-16 bytes combined). When the packet inspection tool processes this record through ssl_DecodePacket, the integer underflow calculation causes a large out-of-bounds read, crashing the inspection process and temporarily disabling network monitoring or blocking functionality. No exploit code is publicly confirmed; however, the attack requires only network reachability to the target system and standard TLS record construction, making exploitation trivial once the vulnerability is widely disclosed.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Apr 09, 2026

Integer underflow in wolfSSL's packet sniffer (versions up to 5.9.0) allows remote attackers to crash applications during AEAD decryption by sending malformed TLS Application Data records with insufficient length for the explicit IV and authentication tag. The vulnerability wraps a 16-bit length value to an unexpectedly large integer, triggering an out-of-bounds read in decryption routines. While the CVSS score is low (2.1) due to limited practical impact (availability only), the attack requires no victim interaction beyond network exposure and affects any system passively inspecting encrypted TLS traffic through wolfSSL's ssl_DecodePacket function.

RemediationAI

Apply the upstream fix available in wolfSSL GitHub pull request #10125 or upgrade to a patched release version once officially published by the wolfSSL project. Until patched versions are available, mitigate by restricting network exposure of systems performing TLS packet inspection (e.g., deploy packet sniffers only on trusted internal networks or behind access controls). Organizations should monitor the wolfSSL project repository and security advisories for the next official release incorporating this fix. For systems where TLS inspection is not required, disable or remove wolfSSL packet sniffing functionality. Verify patch application by confirming ssl_DecodePacket correctly handles undersized AEAD records without integer underflow.

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 resides in wolfSSL's TLS packet inspection functionality, specifically in the AEAD (Authenticated Encryption with Associated Data) decryption path invoked by ssl_DecodePacket. AEAD modes (such as AES-GCM and ChaCha20-Poly1305) require sufficient data to extract an explicit initialization vector (IV) and an authentication tag (typically 12-16 bytes combined). The integer underflow occurs when packet sniffer code calculates the remaining plaintext length after subtracting the IV and tag sizes from a 16-bit TLS record length field. If the TLS record is artificially shortened (e.g., shorter than the combined IV and tag length), the unsigned integer arithmetic wraps around to a very large value due to underflow. This wrapped value is then passed to AEAD decryption routines expecting legitimate plaintext length, causing the routines to attempt reading far beyond allocated buffer boundaries. CWE-191 (Integer Underflow) is the root cause classification. The attack vector is network-based and affects passive TLS inspection use cases where wolfSSL processes potentially adversarial encrypted traffic.

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 2.1 LOW
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

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

DescriptionCVE.org

Integer underflow in wolfSSL packet sniffer <= 5.9.0 allows an attacker to cause a program crash in the AEAD decryption path by injecting a TLS record shorter than the explicit IV plus authentication tag into traffic inspected by ssl_DecodePacket. The underflow wraps a 16-bit length to a large value that is passed to AEAD decryption routines, causing a large out-of-bounds read and crash. An unauthenticated attacker can trigger this remotely via malformed TLS Application Data records.

Threat Intelligence Overview

EPSS Score
0.1%
Top 81% 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 LOW
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

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

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.

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