GPGME double free flaw in key processing
CVE-2026-129975
The encryption tool GPGME can let programs be hijacked by bad keys.
- CVE
- CVE-2026-129975 (opens in a new tab)
- Score
- CVSS 8.1
- First seen
Mitigation
Update to GPGME 2.3.1 or later. The legacy branch should move to 1.24.4, and Gpg4win on Windows to 5.1.2. Statically linked programs must be rebuilt against GPGME 2.3.1. If you cannot update yet, apply the official patch attached to the T8557 ticket. Red Hat Hardened Images has a fixed package, but no fixed version is confirmed for RHEL or other Red Hat products.
Update to at least the version for your product:
- GnuPG GPGME 2.3 2.3.1 or later
- GnuPG GPGME legacy branch 1.24.4 or later
- GnuPG Gpg4win 5.1.2 or later
Summary
A double free in the GPGME internal status line and key listing read functions, from the upstream GnuPG project, can be triggered. Programs using GPGME that process a malicious OpenPGP key with an oversized user ID or signed data are affected, and remote code execution cannot be ruled out.
Affected when
- GPGME before 2.3.0 used as a shared library, DLL or statically linked
- Program processing untrusted OpenPGP keys or signed data
125 other Incidents of this product in the last 30 days
Incidents by product: Red Hat Enterprise Linux 10 · Red Hat Enterprise Linux 6 · Red Hat Enterprise Linux 7 · Red Hat Enterprise Linux 8 · Red Hat Enterprise Linux 9
Other recent Incidents of Red Hat Enterprise Linux 10
Distribution packages (25) (every link below opens in a new tab)
- Debian 13 (trixie)gpgme1.0 · fixed in 1.24.2-3+deb13u1
- Debian 12 (bookworm)gpgme1.0 · fixed in 1.18.0-3+deb12u1
- Alpine 3.24gpgme · fixed in 2.3.1-r0
- RHEL 10gpgme · not fixed yet
- RHEL 9gpgme · not fixed yet
- RHEL 8gpgme · not fixed yet
- SLES 16.1gpgme · not fixed yet
- SLES 16.1libgpgme-devel · not fixed yet
- SLES 16.1libgpgme11 · not fixed yet
- SLES 16.1libgpgmepp-devel · not fixed yet
- SLES 16.1libgpgmepp6 · not fixed yet
- SLES 16.1python313-gpg · not fixed yet
- SLES 16.0gpgme · not fixed yet
- SLES 16.0libgpgme-devel · not fixed yet
- SLES 16.0libgpgme11 · not fixed yet
- SLES 16.0libgpgmepp-devel · not fixed yet
- SLES 16.0libgpgmepp6 · not fixed yet
- SLES 16.0python313-gpg · not fixed yet
- SLES 15 SP7gpgme · not fixed yet
- SLES 15 SP7libgpgme-devel · not fixed yet
- SLES 15 SP7libgpgme11 · not fixed yet
- SLES 15 SP7libgpgmepp-devel · not fixed yet
- SLES 15 SP7libgpgmepp6 · not fixed yet
- openSUSE Leap 16.0gpgme · not fixed yet
- openSUSE Tumbleweedgpgme · fixed in 2.3.1-1.1
Sources: Debian Security Tracker · Alpine Linux secdb · Red Hat Security Data (CC BY 4.0) · SUSE CSAF VEX (CC BY 4.0)
Read the advisory · access.redhat.com (opens in a new tab)
Advisory (3): access.redhat.com
Write-up (3): lists.gnu.org, lists.gnupg.org and more
- CVE record: cve.org (opens in a new tab)
Discussion (8): seclists.org, news.ycombinator.com
- Fwd: GnuPG Security Advisory for GPGME (T8557,CVE-2026-129975) (opens in a new tab)
- GnuPG Security Advisory for Gpgme (T8557,CVE-2026-129975) (opens in a new tab)
- RCE in Gnupg (opens in a new tab)
- Fwd: Re: [Announce] GnuPG Security Advisory for GPGME (T8557,CVE-2026-129975) (opens in a new tab)
- GnuPG Patch Gpgme Flaw CVE-2026-129975 Malicious OpenPGP Keys Can Trigger (opens in a new tab)
- Re: Fwd: Re: [Announce] GnuPG Security Advisory for GPGME (T8557,CVE-2026-129975) (opens in a new tab)
- Re: Fwd: Re: [Announce] GnuPG Security Advisory for GPGME (T8557,CVE-2026-129975) (opens in a new tab)
- Re: Fwd: Re: [Announce] GnuPG Security Advisory for GPGME (T8557,CVE-2026-129975) (opens in a new tab)
- Newsletter: Risky Bulletin: Security products start moving out of the Windows kernel (opens in a new tab)
- Newsletter: Srsly Risky Biz: America Needs Homegrown Open-Weight Models (opens in a new tab)
- Repository: googlesky/CVE-2026-129975 (opens in a new tab)