CVE-2026-5188 PUBLISHED

Integer underflow in X.509 SAN parsing in wolfSSL

Assigner: wolfSSL
Reserved: 30.03.2026 Published: 10.04.2026 Updated: 10.04.2026

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.

Metrics

CVSS Vector: 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
CVSS Score: 2.3

Product Status

Vendor wolfSSL
Product wolfSSL
Versions Default: unaffected
  • affected from 0 to 5.9.0 (incl.)

Credits

  • Discovered by Muhammad Arya Arjuna Habibullah finder

References

Problem Types

  • CWE-191 Integer underflow CWE

Impacts

  • Incorrect handling of certificate data during parsing