BERLIN - The GnuPG project issued an urgent security advisory on Nov. 20 warning that a critical memory bug tracked as CVE-2026-129975 affects all versions of its GPGME interface library prior to 2.3.1.
Crafted OpenPGP Keys Trigger Memory Double-Free
Maintainer Werner Koch disclosed that an attacker can send signed data carrying a crafted OpenPGP key with an unusually long user identifier to trigger a double-free error in two status-reading routines. When an initial 1,024-byte buffer is reallocated and a function exits early on an error, a stale pointer remains and is later freed a second time. "By using an OpenPGP key containing a crafted very long user id it is possible to trigger a double free, and this double free can be used to exfiltrate data from applications," Koch wrote in the Nov. 20 advisory.
Mail Clients, Flatpak, and Samba Face Exposure
Because GPGME links encryption into everyday desktop software, the bug affects most email clients, XMPP messaging tools, Samba, Flatpak, and Windows package Gpg4win. The flaw was discovered by researcher Johan Carlsson and reported via GitLab on Nov. 12, with public disclosure moved up from Nov. 25 after GitLab shipped early patches. No active real-world attacks have been reported so far, though GnuPG warned remote code execution cannot be ruled out.
Project Releases Fixed Libraries With No Workaround
GnuPG released GPGME 2.3.1, legacy branch 1.24.4, and Gpg4win 5.1.2, noting no temporary workaround exists and statically linked apps require full rebuilds.



