GnuPG warns critical GPGME flaw could expose application data


A malicious OpenPGP key can trigger the memory-handling bug in older versions of the library. Fixed releases are available, but applications with their own bundled copies need separate updates.
The GnuPG project warned on 20 November that a critical flaw in GPGME, the library programs use to work with GnuPG, could let attackers steal data from affected applications. A malicious OpenPGP key with an unusually long user ID can trigger the bug, tracked as CVE-2026-129975.
GnuPG has not reported attacks exploiting the flaw and says remote code execution—an attacker running code on another system—cannot be ruled out. The project has released fixed versions, The Hacker News reported.
The flaw affects software using GPGME versions before 2.3.0, including programs that load it as a shared library or a Windows DLL, and those with the library built into the program. Version 2.3.0 was never publicly available.
GnuPG names most email clients, many XMPP messaging clients, Samba, and its own Gpg4win, GnuPG Desktop and GnuPG VS-Desktop packages as examples of affected software.
The bug is a “double free”: an error can leave a pointer to memory already freed, which the library then releases a second time. GnuPG gives signed data sent to an application as an example of a possible path to the flaw.
The fixed upstream release for shared libraries and Windows DLLs is GPGME 2.3.1. Gpg4win 5.1.2 includes the fix, while the older GPGME branch has a fixed release, 1.24.4. GPGMEPP and GPGMEQT do not need updates.

Debian’s security tracker lists fixed source packages 1.18.0-3+deb12u1 for bookworm, 1.24.2-3+deb13u1 for trixie and 2.3.1-1 for sid. It lists forky’s 2.2.0-2 package as vulnerable.
Updating a system’s shared library does not replace copies bundled with applications or built directly into them. Maintainers of those applications need to release rebuilt versions containing the fix.
For older versions that cannot move to the current upstream release, GnuPG’s advisory includes a patch. The legacy release notes say the project cannot guarantee that branch will receive every security patch; the advisory offers no interim workaround for software that cannot yet be updated.
Johan Carlsson discovered the flaw, and GitLab reported it to GnuPG the week before the warning. The advisory says disclosure had been planned for 25 November but was brought forward because the separate Ruby2Shell bug forced GitLab to update earlier.
The security firm says the agent’s team fixed the weaknesses before its November 20 publication, after a private disclosure. Meta has not publicly confirmed the fixes.
2 min

Armenia plans to connect its electricity grid to those of Turkey and Azerbaijan. Prime Minister Nikol Pashinyan corrected the planned formal launch of TRIPP to 23 November, rather than 22 November, and said energy and electricity transit are important parts of the project.
2 min

Eniro and Ratsit say they blocked the advertising technology company, while Hitta.se paused two advertising partners as it investigates.
3 min