CVE-2025-22874

High

Description

Calling Verify with a VerifyOptions.KeyUsages that contains ExtKeyUsageAny unintentionally disabledpolicy validation. This only affected certificate chains which contain policy graphs, which are rather uncommon.

SeverityHigh
CVSS7.5
Exploit probability—
ProductStdlib
PublishedJun 11, 2025
First seenJun 11, 2025
Weakness typeCWE-295CWE-295

How to fix

Update
  • stdlib1.24.4 or later

Affected products

ProductAffected versionsFixed in
stdlibGo1.24.0-0 ≤ v < 1.24.41.24.4

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.