CVE-2025-30258

NameCVE-2025-30258
DescriptionIn GnuPG before 2.5.5, if a user chooses to import a certificate with certain crafted subkey data that lacks a valid backsig or that has incorrect usage flags, the user loses the ability to verify signatures made from certain other signing keys, aka a "verification DoS."
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1100990

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
gnupg2 (PTS)bullseye (security), bullseye2.2.27-2+deb11u2vulnerable
bookworm2.2.40-1.1vulnerable
sid, trixie2.2.46-6fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
gnupg2source(unstable)2.2.46-51100990

Notes

[bookworm] - gnupg2 <no-dsa> (Minor issue)
[bullseye] - gnupg2 <postponed> (Minor issue)
https://lists.gnupg.org/pipermail/gnupg-announce/2025q1/000491.html
https://dev.gnupg.org/T7527
https://gitlab.com/freepg/gnupg/-/merge_requests/18
Fixed by: https://dev.gnupg.org/rG48978ccb4e20866472ef18436a32744350a65158
Follow-up (#1099141): https://dev.gnupg.org/T7547
Follow-up: https://dev.gnupg.org/rGd3d7713c1799754160260cb350309dd183b397f5
Double-free of internal data:
https://gitlab.com/freepg/gnupg/-/merge_requests/22
Follow-up: https://dev.gnupg.org/rG0666a8858fafefb6664c976eb94b73550a7e3da4

Search for package or bug name: Reporting problems