CVE-2026-32281 Inefficient policy validation in crypto/x509

High 7.5 Published Updated

Attackers can cause denial of service by forcing inefficient policy validation in Go's crypto/x509 library using certificates with many policy mappings.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-32281?

CVE-2026-32281 is a high-severity denial of service vulnerability in Golang Go, published on 8 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Validating certificate chains which use policies is unexpectedly inefficient when certificates in the chain contain a very large number of policy mappings, possibly causing denial of service. This only affects validation of otherwise trusted certificate chains, issued by a root CA in the VerifyOptions.Roots CertPool, or in the system certificate pool.

Weakness: CWE-295

Which versions are affected by CVE-2026-32281?

2 open source packages ship an affected version, including golang and stdlib. It affects 1 product.

PackageAffectedFixed in
golang BitnamiAll versions1.25.9, 1.26.2
stdlib GoAll versions1.25.9, 1.26.2
Linux distribution packages (10)
golang-github-openprinting-ipp-usb Red Hat:enterprise_linux:10.2All versions0:0.9.27-7.el10_2.1
ipp-usb Red Hat:enterprise_linux:10.2All versions0:0.9.27-7.el10_2.1
osbuild-composer Red Hat:enterprise_linux_eus:10.0All versions0:134.1-8.el10_0
osbuild-composer-core Red Hat:enterprise_linux_eus:10.0All versions0:134.1-8.el10_0
osbuild-composer-core-debuginfo Red Hat:enterprise_linux_eus:10.0All versions0:134.1-8.el10_0
osbuild-composer-debugsource Red Hat:enterprise_linux_eus:10.0All versions0:134.1-8.el10_0
osbuild-composer-tests-debuginfo Red Hat:enterprise_linux_eus:10.0All versions0:134.1-8.el10_0
osbuild-composer-worker Red Hat:enterprise_linux_eus:10.0All versions0:134.1-8.el10_0
osbuild-composer-worker-debuginfo Red Hat:enterprise_linux_eus:10.0All versions0:134.1-8.el10_0
golang-github-openprinting-ipp-usb Rocky Linux:10All versions0:0.9.27-7.el10_2.1

Products include Golang Go.

How do I fix CVE-2026-32281?

Upgrade golang to a fixed version for your release line: 1.25.9 or 1.26.2.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2026-32281 being exploited?

There is no known exploitation of CVE-2026-32281 in the wild and no public exploit code.

All Golang Go vulnerabilities

Sources

Also known as AZL-98793, BELL-CVE-2026-32281, BIT-golang-2026-32281, CLEANSTART-2026-FK38157, CLEANSTART-2026-GR33077, CLEANSTART-2026-LC87549 and 657 more.

Is CVE-2026-32281 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free