A critical memory bug has been identified in GPGME, the library used by many applications to handle GnuPG operations, potentially allowing data exfiltration from affected software. The vulnerability, assigned CVE-2026-129975, is triggered by a malicious OpenPGP key with an unusually long user ID, causing a double-free error. This bug affects all software using GPGME versions before 2.3.0, impacting a wide range of applications including mail clients, XMPP clients, Samba, and various GnuPG packages such as Gpg4win and GnuPG Desktop.

The GnuPG project warned about this flaw and has released a patch with GPGME version 2.3.1 to address the issue. While there have been no reported exploits of this vulnerability, the potential for remote code execution remains a concern. The flaw resides in the routines read_status() and read_colon_line(), which handle status lines and key listings. When an error occurs during data processing, it can lead to a pointer referencing already freed memory, potentially freeing it a second time. This vulnerability was discovered by Johan Carlsson and reported via GitLab, prompting the project to release a fix sooner than planned due to the emergence of the Ruby2Shell bug.

Software developers and security teams are advised to update to GPGME version 2.3.1 immediately to mitigate this risk. If updating is not possible, monitoring for further guidance from the GnuPG project is recommended as no interim workaround has been provided.