Breaking
Critical RCE Vulnerability Found in GnuPG's GPGME Library
A critical double-free vulnerability (CVE-2026-129975) in GnuPG's GPGME library could lead to data exfiltration and remote code execution. Users are urged to update immediately.

By Elena Rostova, Cybersecurity
2 min read
A critical security vulnerability, identified as CVE-2026-129975, has been discovered in all previous versions of GnuPG's GPGME library. This flaw, a double-free bug, poses a significant risk as it could allow for data exfiltration and potentially lead to Remote Code Execution (RCE) on affected systems.
The vulnerability is triggered when GPGME processes an OpenPGP key that contains a specially crafted, excessively long user ID. This malicious input can cause a memory corruption issue, specifically a double-free, which attackers could exploit.
Werner Koch, from GnuPG, announced the release of GPGME version 2.3.1, which includes the fix for this critical issue. Users are strongly advised to update their GPGME installations immediately to mitigate the risk. The update is also being rolled out in new versions of Gpg4win, GnuPG Desktop, and GnuPG VS-Desktop, all of which rely on GPGME.
The discovery of this vulnerability is credited to Johan Carlsson, who reported it to GnuPG via GitLab on November 12, 2026. Interestingly, discussions on platforms like Hacker News and Openwall's oss-security mailing list indicate that a patch addressing a similar issue was implemented by Red Hat years ago, but was not submitted upstream to the main GnuPG project. This highlights a potential communication gap in the open-source security ecosystem.
The potential for RCE makes this a high-severity vulnerability, as it could allow attackers to execute arbitrary code on a compromised system, gaining full control. Even without RCE, the ability to exfiltrate data from applications using GPGME is a serious concern for privacy and data integrity. Therefore, prompt action by users to update their software is crucial.
Sources
- 1GnuPG Announcelists.gnupg.org
- 2oss-securityopenwall.com
- 3Hacker Newsnews.ycombinator.com