November 21, 2026 / news

GnuPG Ships Critical GPGME Fix for Double Free Reachable via Crafted OpenPGP Keys

GPGME 2.3.1 patches CVE-2026-129975, a double free reachable through an overlong crafted OpenPGP user ID that can leak data from affected apps; Debian ships gpgme1.0 1.24.2-3+deb13u1 for trixie.

Title: Critical Double Free in GPGME Fixed in 2.3.1, Debian Issues DSA-6646-1

Summary: On November 19, 2026, the GnuPG project released GPGME 2.3.1, fixing a critical memory bug tracked as CVE-2026-129975 (internal ID T8557); the announcement followed on the mailing list the next day. A key whose user ID has been crafted to an extreme length drives the library into releasing the same block of memory twice. The defect sits in GPGME’s code for reading gpg’s status lines and key listings: two internal routines start from a 1024-byte buffer and enlarge it as the input demands, but the enlarged pointer only reaches the context object once the routine finishes — so when a read error forces an early exit, the context still refers to memory that has already been handed back, and the eventual cleanup frees it once more. GnuPG warns the bug can leak data out of affected applications, for instance when they are fed signed data, and does not rule out remote code execution; no attacks exploiting the flaw have been reported. Anything built on a GPGME release older than 2.3.0 — as a shared library, as a Windows DLL, or compiled in statically — is vulnerable, with Gpg4win, GnuPG Desktop, GnuPG VS-Desktop, most email programs, various XMPP chat apps, Samba, and Flatpak among the advisory’s examples. Remediation: move the shared library to 2.3.1, rebuild statically linked applications against it, or apply the patch bundled with the advisory where an update is impossible; no GPGMEPP or GPGMEQT update is needed, and there is no interim workaround. On Windows, Gpg4win 5.1.2 bundles the fixed library. Debian issued DSA-6646-1 on November 20, moving gpgme1.0 in trixie from 1.24.2-3 to 1.24.2-3+deb13u1; update with your usual apt workflow.

References:

← All news