CVE-2026-5188

Integer underflow in X.509 SAN parsing in wolfSSL

State
Published
Severity
2.3 Low
Published
Apr 10, 2026
Updated
Apr 10, 2026
Reserved
Mar 30, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.02.3 LowCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:L/SC:N/SI:N/SA:NwolfSSL

Weaknesses

Affected Products

ProductVersions
wolfSSLwolfSSL
  • 5.9.0 and earlierAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.