Skip to main content

gpgme CVE-2026-129975

| EUVDEUVD-2026-133152 HIGH
Double Free (CWE-415)
8.1
CVSS 3.1 · Vendor
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Deliver crafted OpenPGP input to app
  2. Delivery
    Input parsed via gpgme library
  3. Exploit
    Early return after realloc leaves stale pointers
  4. Execution
    Double-free during cleanup corrupts heap
  5. Impact
    Crash (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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – 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)
v1 Nov 20, 2026 - 21:16

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

Vendor (CNA) PRIMARY 8.1 HIGH
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.1 HIGH

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).

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (CNA).

CVSS VectorVendor

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
Analysis Updated
Nov 23, 2026 - 16:28 vuln.today
v2 - CVSS changed
CVSS changed
Nov 23, 2026 - 16:22 NVD
8.1 (HIGH)
CVE Published
Nov 20, 2026 - 20:58 oss-security
CRITICAL

Description PRE-NVD

Disclosed via oss-security. NVD scoring and full description are pending.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

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

Prevalence
High
GnuPG binding library bundled across Linux distros and email/package tooling
Social Media
2
Sightings
Data Quality
3 sources
Confidence: Low

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS N/A
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

40
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +40
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

More in Gnupg

View all
CVE-2026-24881 CRITICAL POC
9.8 Jan 27

Remote code execution and denial of service in GnuPG before 2.5.17 stem from a stack-based buffer overflow in gpg-agent

CVE-2018-1000858 HIGH POC
8.8 Dec 20

GnuPG version 2.1.12 - 2.2.11 contains a Cross ite Request Forgery (CSRF) vulnerability in dirmngr that can result in At

CVE-2018-6829 HIGH POC
7.5 Feb 07

cipher/elgamal.c in Libgcrypt through 1.8.2, when used to encrypt messages directly, improperly encodes plaintexts, whic

CVE-2026-24882 HIGH POC
7.8 Jan 27

Stack-based buffer overflow in GnuPG's tpm2daemon (versions before 2.5.17) allows a local attacker to corrupt the daemon

CVE-2020-25125 HIGH POC
7.8 Sep 03

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

CVE-2019-13050 HIGH POC
7.5 Jun 29

Interaction between the sks-keyserver code through 1.2.0 of the SKS keyserver network, and GnuPG through 2.2.16, makes i

CVE-2022-34903 MEDIUM POC
6.5 Jul 01

GnuPG through 2.3.6, in unusual situations where an attacker possesses any secret-key information from a victim's keyrin

CVE-2012-6085 MEDIUM POC
5.8 Jan 24

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

CVE-2021-40528 MEDIUM POC
5.9 Sep 06

The ElGamal implementation in Libgcrypt before 1.9.4 allows plaintext recovery because, during interaction between two c

CVE-2026-118131 CRITICAL
9.8 Oct 27

Code execution in a victim user's context is possible on Windows hosts running GnuPG 2.5.21 because default DACL inherit

CVE-2022-47629 CRITICAL
9.8 Dec 20

Libksba before 1.6.3 is prone to an integer overflow vulnerability in the CRL signature parser. Rated critical severity

CVE-2014-9087 HIGH
7.5 Dec 01

Integer underflow in the ksba_oid_to_str function in Libksba before 1.3.2, as used in GnuPG, allows remote attackers to

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy