Skip to main content

wolfSSL EUVDEUVD-2026-39572

| CVE-2026-6325 LOW
Out-of-bounds Write (CWE-787)
2026-06-25 wolfSSL GHSA-xpf5-wwvx-w945
2.0
CVSS 4.0 · Vendor: wolfSSL
View

Attack ChainAIDerived

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

  1. Access
    Influence application sigalg list API input
  2. Delivery
    Supply list exceeding WOLFSSL_MAX_SIGALGO entries
  3. Exploit
    Trigger wolfSSL_CTX_set1_sigalgs_list call
  4. Execution
    SetSuitesHashSigAlgo writes out of bounds
  5. Persist
    Adjacent memory corruption
  6. Impact
    Process crash or limited integrity impact

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 that an attacker control or influence the string argument passed to wolfSSL_CTX_set1_sigalgs_list or wolfSSL_set1_sigalgs_list within an application using wolfSSL, and that this string contain more entries than WOLFSSL_MAX_SIGALGO. The CVSS 4.0 AV:L metric confirms the attack is local in scope, ruling out direct remote exploitation of the wolfSSL library. AC:H and AT:P indicate specific preconditions must be met - namely that the application exposes these API calls to externally influenced input without prior length validation. Applications that hardcode their signature algorithms list, or that validate input length before passing it to wolfSSL, are not exploitable. For RSA-PSS with TLS 1.3 (WC_RSA_PSS and WOLFSSL_TLS13 both defined), each entry consumes 4 bytes instead of 2, changing the exact overflow threshold. The CVSS UI:P (passive user interaction) metric suggests some form of application-layer triggering is required, not a direct network-facing exploit path.

Impact

The CVSS 4.0 score of 2.0 with vector AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:L/VA:L accurately captures the constrained real-world risk. The local attack vector means exploitation cannot be initiated remotely against the wolfSSL library directly; an attacker must be able to influence the string argument supplied to wolfSSL_CTX_set1_sigalgs_list or wolfSSL_set1_sigalgs_list at the application layer. High attack complexity (AC:H) and the presence prerequisite (AT:P) further limit exploitation to specific deployment configurations where caller-controlled input reaches these APIs without prior sanitization. The impact is bounded: no confidentiality loss, only low integrity (VI:L) and low availability (VA:L) within the vulnerable system, with no subsequent-system impact (SC/SI/SA all N). No EPSS score was provided in the input data, so exploitation probability is inferred from CVSS metrics and the absence of KEV listing or reported POC. The write overrun is by at most a small number of 2-4 byte entries past the array end, limiting arbitrary exploitation potential versus a fully unconstrained write primitive. This is a real but low-priority finding for most deployments.

Exploit ScenarioDerived

An attacker with the ability to influence a wolfSSL-consuming application's TLS configuration - for example through a writable configuration file, an administrative API, or unsanitized user input passed to wolfSSL_CTX_set1_sigalgs_list - supplies a colon-delimited signature algorithms string containing more than WOLFSSL_MAX_SIGALGO entries. When the application processes this input, SetSuitesHashSigAlgo writes beyond the end of the internal suites buffer, potentially corrupting adjacent heap or stack memory. Depending on memory layout, this could cause a process crash (denial of service) or limited memory corruption within the affected process. No public exploit code has been identified at time of analysis.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jun 25, 2026

Out-of-bounds write in wolfSSL's SetSuitesHashSigAlgo function corrupts memory when an application passes an oversized signature algorithms list to the wolfSSL_CTX_set1_sigalgs_list or wolfSSL_set1_sigalgs_list APIs, writing past the end of the internal suites buffer (CWE-787). All wolfSSL versions prior to the bounds-check fix in PR #10204 are affected; the CVSS 4.0 score of 2.0 reflects a local-only vector, high complexity, and constrained impact limited to low integrity and availability degradation within the consuming process. No public exploit has been identified and this vulnerability is not listed in CISA KEV, indicating no confirmed active exploitation at time of analysis.

RemediationAI

Apply the upstream fix from GitHub PR #10204 (https://github.com/wolfSSL/wolfssl/pull/10204) by upgrading to the wolfSSL release that incorporates this change; consult https://www.wolfssl.com/docs/security-vulnerabilities/ for the official patched version once tagged. The patch is an upstream fix available via PR/commit; a released patched version is not independently confirmed from available data, so monitor the vendor advisory page for confirmation. As a compensating control prior to patching, application developers can validate that signature algorithm list strings passed to wolfSSL_CTX_set1_sigalgs_list and wolfSSL_set1_sigalgs_list contain no more than WOLFSSL_MAX_SIGALGO entries before invoking these APIs; this requires application-layer changes and may not be feasible for all integrators or where the input source is not under developer control. Applications that hardcode a fixed, short signature algorithm list are not exploitable and require no immediate action.

Affected VersionsENISA

wolfSSL 4.8.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, portable C-language TLS/SSL library widely used in embedded systems, RTOS environments, and IoT devices, identified by CPE cpe:2.3:a:wolfssl:wolfssl:*:*:*:*:*:*:*:*. The vulnerable function SetSuitesHashSigAlgo in src/internal.c parses a colon-delimited string of signature algorithm names into an internal fixed-size buffer indexed by the variable idx. Prior to the fix, the function failed to verify that idx had not exceeded WOLFSSL_MAX_SIGALGO before writing each entry, constituting a classic CWE-787 out-of-bounds write. The PR #10204 fix introduces a pre-write bounds check: it computes the bytes needed per entry (2 normally, 4 for RSA-PSS under TLS 1.3 when WC_RSA_PSS and WOLFSSL_TLS13 are both defined) and breaks out of the parsing loop when (word32)idx + needed would exceed WOLFSSL_MAX_SIGALGO. The companion test in tests/api.c confirms the trigger: constructing a list with WOLFSSL_MAX_SIGALGO + 1 entries now returns WOLFSSL_FAILURE rather than writing out of bounds.

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 2.0 LOW
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/U:Clear
vuln.today AI 3.6 LOW

Local vector with high complexity because exploitation requires influencing application-layer API arguments; no confidentiality impact; bounded write yields only low integrity and availability impact.

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

Primary rating from Vendor (wolfSSL).

CVSS VectorVendor: wolfSSL

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

DescriptionCVE.org

Out-of-bounds write in SetSuitesHashSigAlgo when processing an oversized signature algorithms list, allowing a write past the bounds of the destination buffer.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
Medium
popular embedded and IoT TLS library, broad device footprint
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 LOW
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
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
Small
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.

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