The GnuPG project has issued a critical security warning over a vulnerability in its widely used GPGME encryption library that could allow attackers to access sensitive application data through specially crafted OpenPGP keys. The flaw affects several software products, including email clients, messaging applications and Windows encryption tools, prompting the release of emergency security updates.
The vulnerability, tracked as CVE-2026-129975, involves a memory management error that can be triggered when a malicious OpenPGP key contains an unusually long user ID.
GnuPG warned that successful exploitation could expose information handled by vulnerable applications, while the possibility of remote code execution has not been ruled out.
The project has released GPGME version 2.3.1 to address the issue. No confirmed attacks exploiting the vulnerability have been reported.
FCRF Launches Certified Chief Risk Officer (CRO) Program for India’s Risk Leaders
How Does the OpenPGP Vulnerability Work?
The vulnerability affects GnuPG Made Easy (GPGME), a software library that allows applications to use GnuPG’s cryptographic functions without directly managing the underlying encryption processes.
The flaw is classified as a double-free memory error, which occurs when a program attempts to release the same memory allocation more than once.
According to the project’s technical findings, the weakness exists in two routines, read_status() and read_colon_line(), which process status information and key listings returned by GnuPG.
When unusually long input is received, the routines attempt to move the information into a larger memory buffer.
However, if an error occurs during this process, the program may fail to update the memory address correctly. This can leave a reference to memory that has already been released.
When the application subsequently attempts to clean up its resources, the same memory may be freed again, potentially causing memory corruption.
A specially crafted OpenPGP key containing an unusually long user ID could trigger this condition when processed by a vulnerable application.
GnuPG identified signed data supplied to an application as one possible route through which malicious material could reach the affected library.
The vulnerability was discovered by security researcher Johan Carlsson and reported to the project through GitLab.
Which Applications Are Affected by the Critical Flaw?
The vulnerability affects software using GPGME versions earlier than 2.3.0, including applications that load the library dynamically or contain it as a bundled component.
According to GnuPG, potentially affected products include many email clients, XMPP messaging applications, Samba and its own Gpg4win, GnuPG Desktop and GnuPG VS-Desktop software packages.
The impact is not restricted to applications that use the library as a shared system component.
Programs containing statically linked copies of vulnerable GPGME code are also affected, meaning that simply updating the library installed on an operating system may not protect every application.
Such software requires updated versions rebuilt with the corrected library.
The project has warned that the vulnerability could potentially be exploited to obtain data from affected applications. Remote code execution also remains a possibility, although it has not been established as a confirmed exploitation outcome.
The severity of the issue prompted an accelerated disclosure.
According to the security advisory, the vulnerability was initially scheduled for public disclosure on November 25, 2026. However, the timeline was brought forward after a separate security issue required an earlier software update.
GnuPG has not reported any known exploitation of CVE-2026-129975 in real-world attacks.
What Security Updates Should Users Install?
GnuPG has released GPGME version 2.3.1 to address the vulnerability and advised affected software users and administrators to install the corrected version.
Although the vulnerability affects versions earlier than 2.3.0, the project clarified that GPGME 2.3.0 was never publicly released.
For Windows users, Gpg4win version 5.1.2 includes the corrected library. Its release documentation describes the issue as severe and urges users to update as soon as possible.
A separate fixed release, GPGME 1.24.4, has also been made available for users of the older software branch.
However, the project cautioned that the legacy branch may not receive every future security correction.
Developers maintaining applications that bundle GPGME or include statically linked copies must incorporate the security fix into their software and distribute updated builds.
GnuPG stated that the related GPGMEPP and GPGMEQT components do not require separate updates.
The advisory did not identify an interim workaround for applications that cannot immediately install the security fix.
The vulnerability highlights how weaknesses in widely used software libraries can create security risks across multiple applications, even when users are unaware that those programs depend on a common component.
Users and organisations relying on GnuPG-based encryption tools are advised to review their installed software versions and apply the available security updates to reduce the risk of sensitive information exposure.
About the author — Suvedita Nath is a science student with a growing interest in cybercrime and digital safety. She writes on online activity, cyber threats, and technology-driven risks. Her work focuses on clarity, accuracy, and public awareness.
