A critical memory vulnerability in GPGME, identified as CVE-2026-129975, has been addressed in the latest software update. The flaw, a double free in the read_status() and read_colon_line() routines, can be triggered by a malicious OpenPGP key with an unusually long user ID.
The vulnerability affects all software using GPGME before version 2.3.0, including most mail clients, many XMPP clients, Samba, and Gpg4win. The fixed version, 2.3.1, was released on November 19, 2026, and Gpg4win version 5.1.2 includes this updated library.
The GnuPG project has not reported any attacks exploiting this flaw, although the bug could potentially be used to exfiltrate data from affected applications. Remote code execution cannot be ruled out, according to the GnuPG project.
The vulnerability was discovered by Johan Carlsson and reported by GitLab. Public disclosure of the flaw was initially scheduled for November 25, 2026, but was moved up to November 20, 2026.
For those unable to update to the latest version, a patch is available for older versions of GPGME. However, no interim workaround is provided for software that cannot yet be updated.
