CVE Tools

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

The Hacker NewsBy The Hacker News

Our summary

GnuPG has disclosed a critical vulnerability in GPGME, the library many applications rely on to interact with GnuPG for handling OpenPGP keys. Tracked as CVE-2026-129975, the flaw is a double-free memory bug inside the read_status() and read_colon_line() functions, triggered when a crafted key contains an abnormally long user ID; an error during buffer reallocation can cause a pointer to already-freed memory to be released again. This affects every program using GPGME versions before 2.3.0 — including many mail and XMPP clients, Samba, and GnuPG's own Gpg4win, GnuPG Desktop and GnuPG VS-Desktop — regardless of whether the library is dynamically linked, loaded as a Windows DLL, or statically embedded. No active exploitation has been observed, but GnuPG warns that attackers could potentially use the bug to exfiltrate data from vulnerable applications, and remote code execution has not been ruled out. The project urges updating to GPGME 2.3.1 (or Gpg4win 5.1.2 on Windows), with a patched legacy release 1.24.4 for those unable to move to the newer branch; statically linked or bundled copies require separate rebuilt releases from affected application vendors, and no temporary mitigation is currently offered.

Read at The Hacker News

The Hacker News publishes this story on its own site; we link to it rather than reprint it.

Worried this affects your company?

Discuss a security assessment of your internet-facing systems. Scope agreed before testing.

Check my exposure