CVE-2026-5188
Integer underflow in X.509 SAN parsing in wolfSSL
Summary
Integer underflow in X.509 SAN parsing in wolfSSL
Original description
The description as published by the source.
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.
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Debian DEBIAN-CVE-2026-5188 wolfssl
- Ubuntu UBUNTU-CVE-2026-5188 wolfssl
References
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com