Skip to content- Sources: primary, primary, discussion
- Summary: GnuPG released GPGME 2.3.1 on 2026-11-20 to fix CVE-2026-129975, a double free in the functions that read gpg status lines and key listings, which keep a stale pointer after realloc when they return early. Werner Koch says the bug can be used to exfiltrate data, for example by sending signed data, and that remote code execution cannot be ruled out. Johan Carlsson found it, GitLab reported it on 2026-11-12, and disclosure moved up from 2026-11-25 because GitLab had to ship early for Ruby2Shell.
- Why it matters: Any service or client that verifies OpenPGP keys or signatures through GPGME, including statically linked builds, needs 2.3.1 or the supplied backport patch.
- Background: GPGME is the C library most applications use to talk to GnuPG. It runs the gpg binary as a child process and parses its machine-readable status and colon-delimited output. That makes it a shared dependency of mail clients, Flatpak signature checks, Samba and forges that verify signed commits. A double free can corrupt allocator state, and here other allocations between the two frees can hide it from common allocator checks.