Skip to main content

wolfSSL CVE-2026-6679

| EUVDEUVD-2026-39557 HIGH
Out-of-bounds Write (CWE-787)
2026-06-25 wolfSSL GHSA-c9q2-5c67-xg9p
8.8
CVSS 4.0 · Vendor: wolfSSL
View

Attack ChainAIDerived

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

  1. Recon
    Connect to DTLS 1.3 endpoint
  2. Delivery
    Begin pre-auth handshake
  3. Exploit
    Force large ACK record-number list
  4. Install
    Trigger word16 length truncation
  5. C2
    Undersized heap buffer allocated
  6. Execute
    Overrun during ACK serialization
  7. Impact
    Crash / denial of service

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the target to be a wolfSSL build (version 5.9.0 or earlier) compiled with DTLS 1.3 support enabled and reachable over the network as a DTLS 1.3 peer; the flaw is hit in the ACK serialization path before the connecting peer is authenticated, so no credentials or prior authentication are needed (PR:N) and no user interaction is required (UI:N). The concrete prerequisite that LIMITS exploitation is that the attacker must induce a sufficiently long ACK record-number list to overflow the 16-bit length field - i.e., cause many records to be queued for acknowledgment in a single connection - which is more involved than a single malformed packet. Builds without DTLS 1.3, and DTLS 1.2-only deployments, are not affected.

Impact

Signals are largely consistent and point to a genuine priority for DTLS 1.3 deployments. The vendor-provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) indicates remote, low-complexity, unauthenticated reachability - corroborated by the description's statement that the overflow occurs 'before the connecting peer is authenticated.' Impact is weighted toward availability (VA:H) with limited integrity (VI:L) and no confidentiality (VC:N), consistent with a heap overflow that most readily causes crashes/DoS; the VI:L suggests some bounded memory corruption but not full system integrity loss, and the vector does not claim code execution. No EPSS score, KEV listing, or SSVC decision data was provided in the input, so exploitation probability and automatability cannot be quantified here. No public exploit was identified at time of analysis. The practical caveat: triggering the overflow requires getting wolfSSL to accumulate a very large ACK record-number list (hundreds of records) pre-authentication, so weaponization complexity may be higher than the AC:L metric implies - the integrity impact is bounded, making reliable RCE uncertain and DoS the most realistic outcome.

Exploit ScenarioDerived

A remote attacker initiates a DTLS 1.3 handshake to an exposed wolfSSL endpoint and, before authentication completes, drives the server to accumulate a large list of record numbers requiring acknowledgment, causing the truncated 16-bit length calculation to allocate an undersized heap buffer that is then overrun during ACK serialization. The most reliable result is a crash and denial of service of the DTLS service; achieving controlled memory corruption is harder and not demonstrated. No public exploit code was identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jun 25, 2026

Pre-authentication heap buffer overflow in wolfSSL 5.9.0 and earlier affects builds compiled with DTLS 1.3 support, where an integer truncation in the ACK record-number list length computation (Dtls13GetAckListLength using a word16) allocates an undersized buffer that is then overrun during ACK serialization. Because the flaw is reachable before the connecting peer is authenticated, a remote unauthenticated attacker can trigger memory corruption against a DTLS 1.3 endpoint, with no public exploit identified at time of analysis. The CVSS 4.0 score of 8.8 reflects primarily a high availability (crash/DoS) impact with limited integrity impact.

RemediationAI

Vendor-released patch: upgrade to wolfSSL 5.9.1 or later, which adds the DTLS13_MAX_ACK_RECORDS cap (512) that prevents the word16 length truncation; rebuild and redeploy all firmware/applications that statically or dynamically link wolfSSL, since many embedded deployments bundle the library. The upstream fix is in https://github.com/wolfSSL/wolfssl/pull/10116 and is referenced from https://www.wolfssl.com/docs/security-vulnerabilities/. If you cannot immediately upgrade, the most direct compensating control is to disable DTLS 1.3 in the build (use DTLS 1.2 or compile out DTLS 1.3), which removes the vulnerable code path entirely at the cost of losing DTLS 1.3 features; alternatively, restrict reachability of the DTLS listener via network ACLs/firewalling of the relevant UDP port to trusted peers only, accepting that this does not help when the service must be exposed to untrusted clients. There is no application-level configuration toggle for the ACK list cap prior to 5.9.1, so patching is strongly preferred over workarounds.

Affected VersionsENISA

wolfSSL 5.4.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

wolfSSL is a compact, widely-embedded TLS/DTLS library written in C, commonly used in IoT, embedded firmware, automotive, and resource-constrained server deployments. The defect lives in the DTLS 1.3 retransmission/ACK handling code (src/dtls13.c, functions Dtls13RtxAddAck / Dtls13GetAckListLength). DTLS 1.3 acknowledges received record numbers via an ACK message containing a list of (epoch, sequence) record numbers; wolfSSL maintains this list and computes its serialized length. The root cause is CWE-787 (Out-of-bounds Write) stemming from an integer truncation: the cumulative length of the record-number list was computed/stored in a 16-bit (word16) quantity, so a sufficiently long list wraps the length value, an undersized heap buffer is allocated from the truncated length, and the subsequent serialization writes past the allocation. The fix introduces a DTLS13_MAX_ACK_RECORDS cap of 512 records, dropping additional records to prevent the word16 overflow and bound memory consumption.

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 8.8 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
vuln.today AI 6.5 MEDIUM

Remote pre-auth reachable (AV:N/PR:N/UI:N), but requires building a large ACK list to overflow so AC:H; impact is mainly DoS (A:H) with limited memory corruption (I:L), no confidentiality.

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

Primary rating from Vendor (wolfSSL).

CVSS VectorVendor: wolfSSL

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

DescriptionCVE.org

A heap buffer overflow could occur in the DTLS 1.3 ACK serialization path before the connecting peer is authenticated. The buffer overflow was due to an integer truncation when computing the length of the ACK record-number list, causing an undersized buffer to be allocated and then overrun. This affects builds using DTLS 1.3 and wolfSSL version 5.9.0 and earlier. A fix was added to the 5.9.1 release.

Executive ViewAI

Why It Matters

wolfSSL 5.9.0 and earlier with DTLS 1.3 support contains an unauthenticated remote heap buffer overflow enabling attackers to crash services or corrupt memory; no public exploit identified. Organizations using wolfSSL for DTLS communications face immediate availability and data integrity risk.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 70% exploitable
Prevalence
High
widely-embedded TLS library in IoT, firmware, and embedded systems
Data Quality
6 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 HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
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.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

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