CVE-2026-3229

MEDIUM

Integer Overflow in Certificate Chain Allocation

Title source: cna
STIX 2.1

Description

An integer overflow vulnerability existed in the static function wolfssl_add_to_chain, that caused heap corruption when certificate data was written out of bounds of an insufficiently sized certificate buffer. wolfssl_add_to_chain is called by these API: wolfSSL_CTX_add_extra_chain_cert, wolfSSL_CTX_add1_chain_cert, wolfSSL_add0_chain_cert. These API are enabled for 3rd party compatibility features: enable-opensslall, enable-opensslextra, enable-lighty, enable-stunnel, enable-nginx, enable-haproxy. This issue is not remotely exploitable, and would require that the application context loading certificates is compromised.

References (1)

Core 1

Scores

CVSS v3 5.5
EPSS 0.0006
EPSS Percentile 0.0%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-122
Status published
Products (2)
wofSSL/wolfSSL < 5.9.0
wolfssl/wolfssl < 5.9.0
Published Mar 19, 2026
Tracked Since Mar 20, 2026