What’s Vulnerable › Vulnerabilities

CVE-2026-5188: Integer underflow in X.509 SAN parsing in wolfSSL

Description

An integer underflow issue exists in wolfSSL when parsing the Subject Alternative Name (SAN) extension of X.509 certificates. A malformed certificate can specify an entry length larger than the enclosing sequence, causing the internal length counter to wrap during parsing. This results in incorrect handling of certificate data. The issue is limited to configurations using the original ASN.1 parsing implementation which is off by default.

Affected products

How to fix

Upgrade to a fixed version: wolfSSL 5.9.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-5188 or the next vulnerability affects your stack