ShieldPack SHIELD PACK
From 1401 onwards.

Where would you like to start?

Services, updates, and ways to contact us, all in one place

Pricing and orders →

Use the bot or chat with us—whichever you prefer

ShieldPack posts

GnuPG Warns Critical GPGME Flaw Could Expose App Data via Malicious OpenPGP Keys

About 3 min read

The GnuPG project announced yesterday that a critical memory‑corruption flaw has been discovered in GPGME, the library most applications use to interact with GnuPG, and that patched versions of the library are now available. The vulnerability, catalogued as CVE‑2026‑129975, can be triggered by a specially crafted OpenPGP key whose user‑ID field is unusually long, and it may allow an attacker to extract data from any program that relies on a vulnerable GPGME build.
The defect affects every piece of software that incorporates GPGME prior to version 2.3.0, regardless of whether the library is linked dynamically as a shared object, loaded as a Windows DLL, or statically compiled into the application binary. The GnuPG advisory lists a wide range of affected products, including most email clients, many XMPP instant‑messaging clients, the Samba file‑sharing suite, and the project’s own distributions such as Gpg4win, GnuPG Desktop, and GnuPG VS‑Desktop. In practice, any application that automatically processes signed OpenPGP data through GPGME without a manual key import step could be exposed.
The underlying bug is a double‑free error that resides in two internal routines—read_status() and read_colon_line()—which parse status lines and key listings returned by GnuPG. When the library receives an input string that exceeds the expected length, it reallocates a larger buffer but only updates the pointer to the new buffer if the operation completes without error. If an error occurs part‑way through, the original pointer remains, and the library later attempts to free that memory a second time during cleanup. This sequence can corrupt the program’s heap, potentially allowing an attacker to read or manipulate memory belonging to the host application. While the advisory does not confirm any real‑world exploits, it warns that remote code execution cannot be ruled out.
The vulnerability was uncovered by security researcher Johan Carlsson and reported to the GnuPG project by GitLab last week. Initial disclosure was scheduled for 25 November, but the timeline was accelerated after a separate Ruby2Shell issue forced an earlier update cycle. The project responded by releasing GPGME 2.3.1 this week; notably, version 2.3.0 was never made public, so the new release is the first patched iteration. Users of software that bundles GPGME must upgrade to a version that incorporates the 2.3.1 library, or otherwise replace the vulnerable component with a newer build.
GnuPG Warns Critical GPGME Flaw Could Expose App Data via Malicious OpenPGP Keys
Because the flaw resides deep within the library’s memory‑management code, the advisory offers no temporary mitigation for applications that cannot be updated immediately. Administrators are therefore urged to verify whether their deployed software includes a pre‑2.3.0 GPGME component and to prioritize patching. In environments where updating is not feasible, the safest approach is to suspend processing of unsigned or unverified OpenPGP data until a fix can be applied.
The broader implications for the security community are significant. GPGME is a foundational component for a large ecosystem of encryption‑aware tools, and a double‑free vulnerability of this nature can be weaponized to bypass the confidentiality guarantees that OpenPGP is intended to provide. By exposing internal memory, an attacker could potentially harvest cryptographic keys, user credentials, or other sensitive information held by the host application. The possibility of remote code execution also raises the stakes for network‑exposed services that automatically verify signed messages, such as mail transfer agents or XMPP servers.
For ShieldPack readers who develop or maintain technology, gaming, AI, or cybersecurity solutions, the key takeaways are clear: audit all dependencies for the GPGME library, confirm the linked version, and deploy the 2.3.1 update without delay. Developers should also review their code paths that feed signed OpenPGP data into GPGME to ensure that no unchecked user‑supplied identifiers can reach the vulnerable routines. In the meantime, monitoring for any indicators of compromise related to unexpected memory errors or crashes in affected applications can help detect attempted exploitation. The incident underscores the importance of rapid vulnerability disclosure and the need for robust supply‑chain hygiene in cryptographic software.

Source: The Hacker News · Cybersecurity

ShieldPack media