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

Published Apr 10, 2026
·
Updated

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 Software

7 affected componentsFixes available
wolfSSL wolfssl
alpine/wolfssl<5.9.1-r0
5.9.1-r0
alpine/wolfssl<5.9.1-r0
5.9.1-r0
wolfSSL wolfssl<5.9.1
debian/wolfssl*
debian/wolfssl*
debian/wolfssl<=5.5.4-2+deb12u2, <=5.5.4-2+deb12u3, <=5.7.2-0.1+deb13u2
5.9.2-1.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade alpine/wolfssl to a version that resolves this vulnerability.

    Fixed in 5.9.1-r0
  2. Upgrade

    Upgrade debian/wolfssl to a version that resolves this vulnerability.

    Fixed in 5.9.2-1.2
  3. Configuration

    Keep the original ASN.1 parsing implementation disabled; it is off by default and the issue is limited to configurations that use it.

    wolfSSL original ASN.1 parsing implementation = disabled

Event History

Apr 10, 2026
CVE Published
via MITRE·03:24 AM
Data Sourced
via MITRE·03:24 AM
DescriptionWeakness
Data Sourced
via OSV·03:24 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:17 AM
RemedyDescriptionSeverityWeaknessAffected Software
Nov 3, 2026
Data Sourced
via OSV·06:32 AM
Affected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-5188?

CVE-2026-5188 is classified as a moderate severity vulnerability due to the risk of integer underflow during X.509 SAN parsing.

2

How do I fix CVE-2026-5188?

To fix CVE-2026-5188, update to the latest version of wolfSSL where the vulnerability has been addressed.

3

What causes CVE-2026-5188?

CVE-2026-5188 is caused by a malformed X.509 certificate that specifies an entry length larger than the enclosing sequence.

4

What are the potential impacts of CVE-2026-5188?

The potential impact of CVE-2026-5188 includes crashes or unexpected behavior in applications using the affected versions of wolfSSL.

5

Which versions of wolfSSL are affected by CVE-2026-5188?

CVE-2026-5188 affects certain versions of wolfSSL, particularly those before the patch addressing this vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203