Home › News › Cybersecurity
Cybersecurity

Critical GPGME Vulnerability CVE-2026-129975 Exposes Mail Clients and Samba to Memory Corruption

S
Published November 23, 2026 at 3:52 AM
1 min read 2 views
Critical GPGME Vulnerability CVE-2026-129975 Exposes Mail Clients and Samba to Memory Corruption

A newly disclosed critical memory corruption flaw in GPGME, the standard wrapper library for GnuPG, leaves a wide array of mail clients, XMPP applications, and enterprise tools vulnerable to potential data theft and remote code execution.

⚡ Key Takeaways
  • Core Development: Tracked as CVE-2026-129975, the vulnerability affects all software utilizing GPGME prior to version 2.3.0.
  • Technical Shift: The flaw is classified as a double free memory bug residing in internal parsing routines read_status() and read_colon_line().
  • Industry Impact: Affected ecosystems include numerous mail clients, messaging applications, Samba, and GnuPG Desktop suites.

Anatomy of the Double-Free Memory Bug

Disclosed following an accelerated timeline prompted by independent security coordination, the vulnerability stems from how parser routines handle excessively long user IDs inside malicious OpenPGP keys. When input stretches beyond standard parameters, read_status() and read_colon_line() attempt to migrate data to a larger buffer.

However, if an error interrupts this transition before the new memory address is successfully recorded, cleanup routines retain a pointer to an already freed block of memory. This triggers a classic double free condition when the application subsequently attempts to clear the resource again. Security researchers emphasize that while exploitation has not yet been observed in the wild, remote code execution remains a distinct threat vector depending on how client software handles untrusted signed data.

"An error in between leaves a pointer to memory that was already freed, and cleanup then frees it a second time."

Affected Ecosystems and Immediate Remediation

Because GPGME is heavily relied upon for cryptographic operations across diverse architectures—whether loaded dynamically as a shared library, Windows DLL, or compiled directly via static linking—the attack surface is broad. Developer advisories highlight impacts to mainstream products including Gpg4win, GnuPG Desktop, and enterprise GnuPG VS-Desktop packages, alongside third-party mail and chat utilities.

Discovered by security researcher Johan Carlsson and coordinated via GitLab, the public disclosure window was advanced ahead of schedule. Crucially, the GnuPG project notes that there are no interim workarounds available for systems unable to patch immediately.

Industry Outlook & Next Steps

To mitigate CVE-2026-129975, administrators and software maintainers must upgrade their cryptographic stacks to GPGME 2.3.1 immediately. Because version 2.3.0 was skipped prior to public release, all prior iterations must be audited. Engineering teams should review their software dependency trees to ensure static binaries and shared system packages are updated before threat actors weaponize the memory corruption exploit.

Original report published on: https://thehackernews.com/2026/11/gnupg-warns-critical-gpgme-flaw-could.html