All reports
Unknown

Certificate verification error on Windows in crypto/x509

Affected versions

Affected versions
<1.13.13 || >=1.14.0-0 <1.14.5
Fixed version
1.13.13 · 1.14.5

Exploitation

CVE-2020-14039

Probability of exploitation in the next 30 days: 1.76%

FIRST EPSS · 2026-11-21

Description

On Windows, if VerifyOptions.Roots is nil, Certificate.Verify does not check the EKU requirements specified in VerifyOptions.KeyUsages. This may allow a certificate to be used for an unintended purpose.

Links

Credits

  • Niall Newman