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

- Severity: Low 2.3 (CVSS:4.0, scored by wolfSSL) `CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 8% of CVEs (2026-11-30)
- Published: 2026-04-10T03:24:21.126Z
- Modified: 2026-11-11T23:10:00.263Z
- Weaknesses: CWE-191
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- wolfSSL wolfSSL: up to 5.9.0; before 5.9.1

## Every score

- wolfSSL: CVSS:4.0 2.3 Low `CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H`

## References

- <https://github.com/wolfSSL/wolfssl/pull/10024> (issue-tracking, patch)

## Sources

- CVE List: [CVE-2026-5188](https://www.cve.org/CVERecord?id=CVE-2026-5188), CVE Terms of Use, modified 2026-04-10
- NVD: [CVE-2026-5188](https://nvd.nist.gov/vuln/detail/CVE-2026-5188), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-5188 · Whole record: https://cve.day/CVE-2026-5188.json · Rebuilt by cve.day 2026-11-25T22:59:18.476Z
