GHSA-278w-vg7x-x376
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDeliver crafted OpenPGP input to app
-
DeliveryInput parsed via gpgme library
-
ExploitEarly return after realloc leaves stale pointers
-
ExecutionDouble-free during cleanup corrupts heap
-
ImpactCrash (DoS) or potential code execution
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Double free prevention
|
| Exploitation Conditions | Exploitation requires that a consuming application pass attacker-controlled, crafted input through gpgme's parsing path so the vulnerable code reaches the early return following a memory reallocation; the condition is the specific malformed input that triggers that early-return-after-realloc path, not a configuration toggle. Per the CVSS vector no authentication (PR:N) or user interaction (UI:N) is required. Limiting factors: HIGH attack complexity (AC:H) means weaponizing the double-free into code execution is unreliable and allocator-dependent, with a DoS crash the more attainable result; and reachability depends on an application actually feeding attacker-supplied data to gpgme (e.g., an email client verifying signatures), so exposure varies by how each deployment uses the library. The exact triggering input and whether specific gpgme versions are affected are not detailed in the available sources. |
| Impact | Signals are moderately consistent but not alarming. The CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H, base 8.1) describes a network-reachable, unauthenticated flaw with full C/I/A impact but HIGH attack complexity - the AC:H is the key dampener, reflecting that reliable exploitation of a CWE-415 double-free into code execution is non-trivial. The vuln.today decision label is 'this_week' (not act_now/emergency), aligning with a serious-but-not-critical posture. No CISA KEV listing and no EPSS score are present in the input, so there is no evidence of active exploitation or a quantified exploitation probability. The RCE and Denial Of Service tags describe the two plausible outcomes of the double-free, not confirmed exploitation. Net: this is a credible memory-corruption bug in a widely bundled crypto library warranting prompt patching this week, but the AC:H rating and absence of KEV/EPSS/working PoC argue against treating it as an emergency. Note the conflict to verify: the description says 'remote attacker' and CVSS says AV:N, yet gpgme typically processes input handed to it by a local host application (e.g., crafted OpenPGP/signature data arriving via email) - confirm whether network delivery is direct or requires an application to feed attacker-supplied data to the library. |
| Exploit ScenarioDerived | An attacker delivers crafted OpenPGP input (for example a malformed signature or message) to an application that parses it through gpgme. Processing hits an early return after a memory reallocation, leaving stale internal buffer pointers that are freed a second time during cleanup, corrupting heap memory. The most reliable outcome is a DoS crash of the consuming process; arbitrary code execution is possible but, consistent with the HIGH attack complexity, would require defeating heap-allocator protections. No verified working exploit code is present in the provided sources. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Nov 23, 2026
gpgme can double-free internal buffers when a consuming application processes crafted input, because an early return after memory reallocation leaves pointers referencing freed memory that cleanup frees again. Remote, unauthenticated attackers can corrupt the process memory of an application that feeds attacker-controlled data into gpgme, causing a denial-of-service crash and potentially enabling code execution; the CVSS 3.1 score is 8.1 with high attack complexity. No public exploit was identified at time of analysis, and exploitation depends on an application actually passing crafted input through the vulnerable parsing path.
Earlier versions of this analysis (1)
A double free in GPGME's internal status-line and key-listing readers lets an attacker-supplied OpenPGP key carrying a crafted, extremely long user ID corrupt heap memory in any application that imports that key or processes signed data through the library, providing a path to data exfiltration with remote code execution not ruled out by the vendor. Every GPGME release prior to 2.3.1 is affected, whether linked as a shared library, DLL or statically, which pulls in Gpg4win, GnuPG Desktop, GnuPG VS-Desktop, many mail and XMPP clients, Samba and Flatpak; the assessed vector is network-reachable and unauthenticated but high complexity. No public exploit code was identified at time of analysis, and no KEV, EPSS or SSVC data was supplied (the vuln.today decision label is 'awaiting_data'), yet the GnuPG project classifies the bug as critical and recommends an immediate update to 2.3.1.
RemediationAI
The supplied data does not provide an exact fixed gpgme version, so patch status is not confirmed from available data; the primary action is to monitor the upstream GnuPG/gpgme tracker at https://dev.gnupg.org/T8427 and the GnuPG release announcement at https://lists.gnu.org/archive/html/info-gnu/2026-11/msg00006.html, then update to the fixed release once it is identified, and for packaged deployments follow the Red Hat CVE page at https://access.redhat.com/security/cve/CVE-2026-129975 and Bugzilla 2574514 at https://bugzilla.redhat.com/show_bug.cgi?id=2574514 for patched builds. No vendor workaround is described in the supplied sources; because the flaw is reachable only when a consuming application passes crafted input to gpgme, reducing exposure means restricting which applications accept untrusted signed or encrypted input and isolating processes that use gpgme, with the trade-off of reduced functionality for those workflows rather than removal of the underlying double-free. Updating the library remains the complete fix.
Affected ProductsAI
gpgme (GnuPG Made Easy) is the affected library; exposure applies to applications and services that embed gpgme and pass crafted input into its parsing routines. The supplied intelligence does not provide exact affected version ranges or CPE identifiers, so version-specific status must be confirmed through the upstream tracker at https://dev.gnupg.org/T8427, the Red Hat CVE page at https://access.redhat.com/security/cve/CVE-2026-129975, and Red Hat Bugzilla 2574514 at https://bugzilla.redhat.com/show_bug.cgi?id=2574514; GnuPG release information is also referenced at https://lists.gnu.org/archive/html/info-gnu/2026-11/msg00006.html and https://repos.gnupg.org/deb/gnupg. Until those sources identify fixed builds, treat deployments that process untrusted input with gpgme as potentially affected.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
gpgme (GnuPG Made Easy) is a C library that applications use to invoke GnuPG for signature verification, encryption, and key operations, so the vulnerable code sits behind many consumers rather than in a standalone network service. The flaw is CWE-415 (double free): during processing of crafted input, an early return after a memory reallocation leaves internal buffer pointers still referring to the old, freed allocation, and later cleanup frees those stale pointers again. The supplied sources do not describe the exact malformed input or the precise parser function involved; the CVSS vector (AV:N/AC:H/PR:N/UI:N) indicates network-reachable, unauthenticated triggering but high attack complexity, which is consistent with the assessment that a DoS crash is more attainable than reliable code execution, since turning the double-free into controlled corruption depends on allocator and heap state. Reachability is deployment-dependent: only applications that pass attacker-controlled data to gpgme, such as clients verifying untrusted signatures or messages, exercise the path.
Know when Gnupg gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Crafted input processed without auth or interaction gives AV:N/PR:N/UI:N; reliable double-free-to-RCE exploitation is allocator-dependent, so AC:H, with full memory-corruption impact (C/I/A:H).
Primary rating from Vendor (CNA).
CVSS VectorVendor
Lifecycle Timeline
3Description PRE-NVD
Articles & Coverage 1
Executive ViewAI
CVE-2026-129975 is a high-severity vulnerability in the gpgme library that can cause a double-free memory corruption, leading to denial-of-service and potential code execution in applications that process untrusted input. This affects any product integrating gpgme, and exploitation requires an attacker to supply crafted data to a vulnerable parsing path. Leadership should prioritize this because a successful exploit could disrupt critical services or compromise systems, especially in environments where gpgme handles external data.
No vendor-released patch identified at time of analysis. Interim mitigations include strict input validation, running affected processes with least privilege, enabling exploit protection features (e.g., ASLR, DEP), and network segmentation to limit exposure.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Remote code execution and denial of service in GnuPG before 2.5.17 stem from a stack-based buffer overflow in gpg-agent
GnuPG version 2.1.12 - 2.2.11 contains a Cross ite Request Forgery (CSRF) vulnerability in dirmngr that can result in At
cipher/elgamal.c in Libgcrypt through 1.8.2, when used to encrypt messages directly, improperly encodes plaintexts, whic
Stack-based buffer overflow in GnuPG's tpm2daemon (versions before 2.5.17) allows a local attacker to corrupt the daemon
GnuPG 2.2.21 and 2.2.22 (and Gpg4win 3.1.12) has an array overflow, leading to a crash or possibly unspecified other imp
Interaction between the sks-keyserver code through 1.2.0 of the SKS keyserver network, and GnuPG through 2.2.16, makes i
GnuPG through 2.3.6, in unusual situations where an attacker possesses any secret-key information from a victim's keyrin
The read_block function in g10/import.c in GnuPG 1.4.x before 1.4.13 and 2.0.x through 2.0.19, when importing a key, all
The ElGamal implementation in Libgcrypt before 1.9.4 allows plaintext recovery because, during interaction between two c
Code execution in a victim user's context is possible on Windows hosts running GnuPG 2.5.21 because default DACL inherit
Libksba before 1.6.3 is prone to an integer overflow vulnerability in the CRL signature parser. Rated critical severity
Integer underflow in the ksba_oid_to_str function in Libksba before 1.3.2, as used in GnuPG, allows remote attackers to
EUVD-2026-133152
NVD
CVE.org
Exploit-DB