Vulnerability DatabaseCVE-2026-129975

CVE-2026-129975: 
GPGME vulnerability analysis and mitigation

Overview

CVE-2026-129975 is a double-free vulnerability in GPGME (GnuPG Made Easy), the official C library providing a high-level cryptographic API for GnuPG operations. The flaw is triggered when GPGME processes an OpenPGP key containing a crafted, extremely long user ID, potentially enabling data exfiltration and remote code execution. The CVE was first detected and reported via the oss-security mailing list on November 20, 2026, with GnuPG issuing an official announcement shortly after (GnuPG Announce, oss-sec). The vulnerability is estimated as HIGH severity by Feedly threat intelligence, and affects the gpgme library maintained by the GnuPG project (Feedly). Specific affected version ranges have not yet been publicly confirmed as the CVE remains in Reserved status.

Technical details

The vulnerability is classified as a double-free memory corruption flaw (CWE-415), occurring in GPGME's handling of OpenPGP key user ID fields. When GPGME parses a specially crafted key with an abnormally long user ID string, it triggers a double-free condition — a memory management error where the same memory region is freed more than once — which can corrupt the heap. This class of bug is exploitable by an unauthenticated attacker who can supply a malicious OpenPGP key to any application that uses GPGME for key import or verification, making the attack surface broad given GPGME's widespread use in email clients and other cryptographic tooling (oss-sec, GnuPG Announce, Ostorlab Blog). No public proof-of-concept exploit code has been identified at this time.

Impact

Successful exploitation of this vulnerability can result in heap memory corruption, which may lead to application crashes (denial of service), sensitive data exfiltration, or — in the worst case — remote code execution within the context of the affected application (GnuPG Announce, The Hacker News). Because GPGME is a widely used library integrated into numerous email clients (e.g., Thunderbird with Enigmail, Evolution, KMail) and other applications that process OpenPGP keys, the blast radius is significant — any application that imports or verifies untrusted OpenPGP keys is potentially affected. The vulnerability has been described as having been present in the library for approximately 24 years, suggesting broad historical exposure across many software ecosystems (HWBusters).

Exploitability

As of the time of disclosure (November 20–21, 2026), there is no public proof-of-concept exploit code and no confirmed in-the-wild exploitation (Feedly). The CVE remains in Reserved status, and no EPSS score or CISA KEV catalog entry has been published yet. The attack requires no authentication — an attacker only needs to supply a malicious OpenPGP key to a vulnerable application, which is a low-barrier precondition given that key servers and email attachments are common key distribution channels (oss-sec, Ostorlab Blog). Nessus detection plugin 384864 has been published, indicating active scanner support for identifying vulnerable systems (Tenable).

Exploitation steps

  1. Craft a malicious OpenPGP key: Generate an OpenPGP key with an extremely long user ID string designed to trigger the double-free condition in GPGME's key parsing logic.
  2. Distribute the malicious key: Upload the crafted key to a public key server, embed it in an email, or deliver it via any channel that causes the target application to import or process the key (e.g., sending a signed/encrypted email to a victim using a vulnerable mail client).
  3. Trigger key processing: When the target application (e.g., an email client using GPGME) attempts to import, verify, or display information about the malicious key, GPGME's parser processes the oversized user ID and triggers the double-free memory corruption.
  4. Exploit heap corruption: Depending on heap layout and platform mitigations, the double-free may be leveraged to achieve arbitrary memory writes, enabling data exfiltration or remote code execution within the application's process context.
  5. Achieve objective: Depending on exploitation success, the attacker may exfiltrate sensitive data (e.g., decrypted email content, private keys in memory) or execute arbitrary code under the privileges of the affected application (oss-sec, GnuPG Announce).

Indicators of compromise

  • Network: Unexpected outbound connections from email client or GPGME-using application processes to unknown external hosts; retrieval of anomalous OpenPGP keys from key servers with unusually large user ID fields.
  • Logs: Application crash logs or core dumps originating from GPGME library calls (e.g., gpgme_op_import, gpgme_get_key); heap corruption error messages or double-free signals (SIGABRT, SIGSEGV) in system logs.
  • File System: Unexpected files written by email client or GPGME-consuming application processes; new or modified files in application data directories following key import operations.
  • Process: Unusual child processes spawned by email clients or other GPGME-linked applications; abnormal memory usage or crashes in processes that handle OpenPGP key material.

Mitigation and workarounds

GnuPG has issued an official security announcement urging users to update GPGME immediately (GnuPG Announce). Specific patched version numbers have not yet been confirmed in available public sources; users should monitor the GnuPG announcements list and apply vendor-supplied updates as soon as they are released. As interim mitigations: restrict GPGME-based applications from importing keys from untrusted or public key servers; implement input validation and size limits for OpenPGP key user ID fields where possible at the application layer; and avoid processing OpenPGP keys from unknown or untrusted sources until a patch is applied (Feedly). Linux distribution maintainers (Debian, Slackware, and others) have begun tracking and packaging fixes (OSV Debian, Slackware ChangeLog).

Community reactions

GnuPG issued an official advisory via its announcement mailing list urging immediate updates, characterizing the flaw as critical (GnuPG Announce). The Hacker News covered the disclosure with the headline "GnuPG Warns Critical GPGME Flaw Could Expose App Data via Malicious OpenPGP Keys," driving significant community attention (The Hacker News). Security community commentary on Mastodon and Bluesky highlighted the alarming detail that the bug reportedly existed in the library for approximately 24 years, with HWBusters noting that "most mail clients ship it" (HWBusters). The oss-security mailing list saw rapid follow-up discussion, and Tenable quickly published a Nessus detection plugin, reflecting the security community's urgency in responding to this disclosure (Tenable, oss-sec).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

gpgme1.0: 1.18.0-3+deb12u1

Fixed

sid

gpgme1.0: 2.3.1-1

Fixed

trixie

gpgme1.0: 1.24.2-3+deb13u1

Fixed

Ubuntu

Unknown

bionic (esm-infra)

gpgme1.0

Unknown

devel

gpgme1.0

Unknown

focal (esm-infra)

gpgme1.0

Unknown

jammy

gpgme1.0

Unknown

noble

gpgme1.0

Unknown

resolute

gpgme1.0

Unknown

trusty (esm-infra-legacy)

gpgme1.0

Unknown

xenial (esm-infra-legacy)

gpgme1.0

Unknown

Alpine

Fixed

edge

gpgme: 2.3.1-r0

Fixed

Source: This report was generated using AI

Related GPGME vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-129975HIGH8.1
  • GPGME logoGPGME
  • gpgme
NoYesNov 23, 2026
CVE-2020-8945HIGH7.5
  • Docker logoDocker
  • origin-service-catalog
NoYesFeb 12, 2020
CVE-2014-3564MEDIUM6.8
  • GPGME logoGPGME
  • gpgme1.0
NoYesOct 20, 2014
CVE-2007-1263MEDIUM5
  • GNU Privacy Guard logoGNU Privacy Guard
  • gnupg
NoYesMar 06, 2007

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management