What does the GnuPG advisory say?
On November 20, 2026, GnuPG announced CVE-2026-129975 (internal reference T8557), a critical flaw in GPGME, a library used by applications handling OpenPGP functionality. An OpenPGP key containing an intentionally very long user ID can trigger a double free memory-management error.
According to the maintainers, the error could permit data exfiltration from affected applications, for example using signed data. Remote code execution cannot be ruled out, but the advisory does not demonstrate a successful RCE exploit or widespread active exploitation.
How does the double free happen?
Two internal functions processing GnuPG status lines and key listings begin with a 1,024-byte buffer, reallocating it when needed. On some early error paths, the updated pointer is not written back to the context. The context retains a pointer to freed memory, which may later be released again. This is the root cause described in the maintainer advisory.
Which software is affected?
The project says GPGME versions earlier than 2.3.0 are affected, whether used as a shared library, DLL or statically linked component. It also says 2.3.0 was never publicly released. The fixed security release is GPGME 2.3.1, dated November 19 and announced November 20, 2026.
The advisory names software families including Gpg4win, GnuPG Desktop, mail clients, XMPP clients and Samba. This does not mean every installed release of those products is vulnerable: exposure depends on the bundled GPGME version and usage paths.
Recommended remediation
- Inventory actual library versions: search package databases, runtime dependencies, container layers and installed applications.
- Update to GPGME 2.3.1 or apply the security fix from your OS distribution vendor. Backported security patches may be available under distribution-specific version numbers.
- Rebuild statically linked binaries: replacing the system-wide shared library will not fix code already included inside a compiled executable.
- On Windows: install corrected application releases, such as Gpg4win 5.1.2 announced with updated GPGME, rather than manually swapping DLLs.
- Validate after rollout: confirm the actual library loaded by the application and test OpenPGP key processing.
GnuPG states there is no need to update GPGMEPP or GPGMEQT separately to fix this bug. The priority is the GPGME library actually used.
Why component inventory matters
Software may have a recent application version while bundling a vulnerable library, particularly in containers, statically linked executables and local installations. Looking at the top-level application alone is insufficient. SBOMs and evidence about direct, transitive and embedded components can guide investigations and remediation.
For InfraCheck, this illustrates why monitoring should correlate CVEs, component versions, embedded dependencies and vendor patches without treating inventory as proof of real-world exploitability.
Primary source
GnuPG — Security Advisory for GPGME (T8557, CVE-2026-129975), November 20, 2026. Obtain updates from official GnuPG downloads or trusted distribution repositories.
Published November 23, 2026. Consult vendor advisories for product-specific patched versions.