GnuPG warns of GPGME flaw that could expose app data via malicious OpenPGP keys
The GnuPG project warned that a double-free memory bug in GPGME, triggered by a malicious OpenPGP key with an overlong user ID, could let attackers steal data from affected applications.
Summary
The GnuPG project warned that a double-free memory bug in GPGME, triggered by a malicious OpenPGP key with an overlong user ID, could let attackers steal data from affected applications. The project has released fixed versions and says it has not seen any attacks exploiting the flaw.
What to do
Update GPGME to version 2.3.1 or later.
Update Gpg4win to 5.1.2, which bundles the fixed library.
Rebuild and redistribute applications that bundle or statically link GPGME, since system library updates do not reach them.
Use the legacy 1.24.4 release if the software cannot move to 2.3.1, and apply the advisory patch.
Timeline
- Made public by oss-security
- First seen by cve.now1 day
- Confirmed as CVE-2026-1299752 days
- Record last updated
On X 3
Evidence 8
- oss-security
“Fwd: GnuPG Security Advisory for GPGME (T8557,CVE-2026-129975)”
+2 more: oss-security, oss-security - Mastodon
“GnuPG calls it critical: a double free in GPGME, triggered by an OpenPGP key with a very long user ID.”
+1 more: Mastodon - The Hacker News
“The bug, tracked as CVE-2026-129975 , affects all software that uses GPGME before version 2.3.0, whether the library is loaded as a shared library, a Windows DLL, or statically linked into the program.”
- Mastodon
“GnuPG Security Advisory for GPGME (T8557,CVE-2026-129975)”
- Mastodon
“GnuPG Warns Critical GPGME Flaw Could Expose App…”
- Mastodon
“Before anyone overhypes the GPG CVE: CVE-2026-129975 It's only in the library, not the cli.”
- Mastodon
“A critical double-free vulnerability, CVE-2026-129975, has been disclosed in GnuPG's GPGME library, with the underlying bug dating back to 2002.”
- Mastodon
“CVE-2026-129975 dates to 2002 and fires when GPGME processes an OpenPGP key with an oversized user ID, which causes a double free.”
Questions about GnuPG warns of GPGME flaw that could expose app data via malicious OpenPGP keys
Has GnuPG confirmed it?
Yes. Confirmed as CVE-2026-129975.
Source: oss-security, Mastodon, The Hacker News, Mastodon, Mastodon, Mastodon, Mastodon, Mastodon
What should GnuPG and GPGME users do?
Update GPGME to version 2.3.1 or later. Update Gpg4win to 5.1.2, which bundles the fixed library. Rebuild and redistribute applications that bundle or statically link GPGME, since system library updates do not reach them. Use the legacy 1.24.4 release if the software cannot move to 2.3.1, and apply the advisory patch.
Does it have a CVE?
Yes. It is tracked as CVE-2026-129975.
Source: CVE-2026-129975
No corrections so far. Something wrong on this page? Report an error.