5.9medium
Panic in name constraint checking for malformed certificates in crypto/x509
- Severity
- 5.9medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.38% (higher than 33% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Go
- Also known as
- GO-2026-4600BIT-GOLANG-2026-27138
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| crypto/x509 | from 1.26.0-0 before 1.26.1 | CVE List |
| stdlib (Go) | from 1.26.0-0 before 1.26.1 | Go Vulnerability Database |
| golang go | 1.26.0 | NVD |
| golang (Bitnami) | from 1.26.0-0 before 1.26.1 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 5.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Bitnami Vulnerability Database | medium rating |
Classification
What each source says
CVE List
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.
NVD (es)
La verificación de certificados puede entrar en pánico cuando un certificado en la cadena tiene un nombre DNS vacío y otro certificado en la cadena tiene restricciones de nombre excluidas. Esto puede bloquear programas que están verificando directamente cadenas de certificados X.509, o aquellos que usan TLS.
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 | |
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-27138 changed 2026-03-10 | CVE Terms of Use |
| Go Vulnerability Database | GO-2026-4600 changed 2026-05-15 | CC-BY-4.0 |
| NVD | CVE-2026-27138 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-GOLANG-2026-27138 changed 2026-09-08 | Apache-2.0 |