What’s Vulnerable › Vulnerabilities
CVE-2026-3229: Integer Overflow in Certificate Chain Allocation
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-03-19 · updated 2026-06-17
- Weakness: CWE-122
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.
Affected products
- wolfSSL: before 5.9.0 — fixed in 5.9.0
How to fix
Upgrade to a fixed version: wolfSSL 5.9.0. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-3229 or the next vulnerability affects your stack