CVE-2025-22865

NameCVE-2025-22865
DescriptionUsing ParsePKCS1PrivateKey to parse a RSA key that is missing the CRT values would panic when verifying that the key is well formed.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
golang-1.15 (PTS)bullseye1.15.15-1~deb11u4fixed
golang-1.19 (PTS)bookworm1.19.8-2fixed
golang-1.22 (PTS)sid, trixie1.22.11-1fixed
golang-1.23 (PTS)sid, trixie1.23.5-1fixed
golang-1.24 (PTS)sid, trixie1.24~rc2-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
golang-1.15source(unstable)(not affected)
golang-1.19source(unstable)(not affected)
golang-1.22source(unstable)(not affected)
golang-1.23source(unstable)(not affected)
golang-1.24source(unstable)1.24~rc2-1

Notes

- golang-1.23 <not-affected> (Only affected 1.24 release candidates)
- golang-1.22 <not-affected> (Only affected 1.24 release candidates)
- golang-1.19 <not-affected> (Only affected 1.24 release candidates)
- golang-1.15 <not-affected> (Only affected 1.24 release candidates)
https://go-review.googlesource.com/c/go/+/643098
https://github.com/golang/go/issues/71216
https://groups.google.com/g/golang-dev/c/CAWXhan3Jww/m/bk9LAa-lCgAJ
Fixed by: https://github.com/golang/go/commit/3de5aca7d00ac7d2c8a29e1300446e89453a (go1.24rc2)
https://github.com/golang/go/issues/71216#issuecomment-2620109068

Search for package or bug name: Reporting problems