7.5

CVE-2025-22865: ParsePKCS1PrivateKey panic with partial keys in crypto/x509

Deferred
AliasesUBUNTU-CVE-2025-22865DEBIAN-CVE-2025-22865GO-2025-3421
Published 28-01-2025Last modified 30-01-2025

Vulnerability summary

CVE-2025-22865 is a high (CVSS 7.5) vulnerability in go standard library crypto/x509. EPSS estimates a 0.61% chance of exploitation in the next 30 days, higher than 49.1% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 03-11-2026)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
0.61%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 5 · Related 5

Timeline

  1. 28-01-2025
    PublishedVulnerability first disclosed.
  2. 30-01-2025
    Last modifiedVulnerability information updated.

Description

Using ParsePKCS1PrivateKey to parse a RSA key that is missing the CRT values would panic when verifying that the key is well formed.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.61%

Chance of exploitation in the next 30 days

Percentile

49%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.61% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu14 products
  • golang-1.10All versions (No fix recorded)
  • golang-1.13All versions (No fix recorded)
  • golang-1.14All versions (No fix recorded)
  • golang-1.16All versions (No fix recorded)
  • golang-1.17All versions (No fix recorded)
Debian1 product
  • golang-1.24< 1.24~rc2-1
Go1 product
  • stdlib≥ 1.24.0-0, < 1.24.0-rc.2
Go standard library1 product

4 vendors · 17 products

References

7 links