CVE-2026-27138: Panic in name constraint checking for malformed certificates in crypto/x509

Published Mar 6, 2026
·
Updated

Certificate verification can panic when a certificate in the chain has an empty DNS name and another certificate in the chain has excluded name constraints. This can crash programs that are either directly verifying X.509 certificate chains, or those that use TLS.

Other sources

Panic in name constraint checking for malformed certificates in crypto/x509

Microsoft

Affected Software

4 affected componentsFixes available
golang/x509
Microsoft azl3 golang 1.25.7-1
Microsoft azl3 golang 1.26.0-1
Golang Go=1.26.0

Event History

Mar 6, 2026
CVE Published
via MITRE·09:28 PM
Data Sourced
via MITRE·09:28 PM
DescriptionWeakness
Data Sourced
via NVD·10:16 PM
DescriptionSeverityWeaknessAffected Software
Mar 11, 2026
Data Sourced
via Microsoft·08:03 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·08:03 AM
Affected Software
Updated
via Microsoft·08:03 AM
DescriptionSeverity
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-27138?

CVE-2026-27138 has a high severity as it can lead to program crashes during X.509 certificate verification.

2

How do I fix CVE-2026-27138?

To fix CVE-2026-27138, update to the latest version of the golang/x509 library that resolves the panic issue.

3

Which versions of the golang/x509 are affected by CVE-2026-27138?

CVE-2026-27138 affects specific versions of golang/x509 that include faulty name constraint checks.

4

What will happen if I ignore CVE-2026-27138?

Ignoring CVE-2026-27138 may result in application crashes when handling malformed X.509 certificates.

5

Are all applications using golang/x509 vulnerable to CVE-2026-27138?

Not all applications are vulnerable, but those that utilize affected versions without proper constraints may be at risk.

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