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

- Severity: Medium 5.9 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- 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.38%, higher than 33% of CVEs (2026-12-01)
- Published: 2026-03-06T21:03:42.000Z
- Modified: 2026-09-08T08:47:49.150Z
- Also known as: GO-2026-4600, BIT-GOLANG-2026-27138
- Related: CGA-46q4-cg37-p9xc, RHSA-2026:7291
- Weaknesses: CWE-295, CWE-1285
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Go

## Description

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.

(As written by CVE List.)

## Affected

- crypto/x509: from 1.26.0-0 before 1.26.1
- stdlib (Go): from 1.26.0-0 before 1.26.1
- golang go: 1.26.0
- golang (Bitnami): from 1.26.0-0 before 1.26.1

## Every score

- CISA-ADP: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://groups.google.com/g/golang-announce/c/EdhZqrQ98hk> (article, release-notes, web)
- <https://go.dev/issue/77953> (issue-tracking, report)
- <https://go.dev/cl/752183> (discussion, fix, mailing-list)
- <https://pkg.go.dev/vuln/GO-2026-4600> (advisory, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-27138> (web)

## Sources

- CVE List: [CVE-2026-27138](https://www.cve.org/CVERecord?id=CVE-2026-27138), CVE Terms of Use, modified 2026-03-10
- Go Vulnerability Database: [GO-2026-4600](https://pkg.go.dev/vuln/GO-2026-4600), CC-BY-4.0, modified 2026-05-15
- NVD: [CVE-2026-27138](https://nvd.nist.gov/vuln/detail/CVE-2026-27138), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-GOLANG-2026-27138](https://osv.dev/vulnerability/BIT-GOLANG-2026-27138), Apache-2.0, modified 2026-09-08

---

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