---
title: GnuPG: critical GPGME double free (CVE-2026-129975) triggered by an OpenPGP key with a very long user ID can leak app data; RCE not ruled out, fixed in GPGME 2.3.1 | ctxsec
url: https://ctxsec.com/items/gnupg-gpgme-cve-2026-129975-critical-double-free-crafted-long-user-id-key-data-exfiltration-rce-not-ruled-out-fixed-2-3-1
description: "GnuPG says every GPGME version before 2.3.0 is affected, whether used as a shared library, DLL or statically linked. A key with a crafted long user ID triggers a double free that can be used to exfiltrate data from an application, for example by sending signed data, and RCE can't be ruled out. Software using GPGME includes Gpg4win, GnuPG Desktop and VS-Desktop, most mail clients, many XMPP clients, Samba and Flatpak. Fixes: GPGME 2.3.1 and Gpg4win 5.1.2; a patch for older versions is attached to the advisory. The bug was found by Johan Carlsson and reported via GitLab on Nov 12; disclosure moved up from Nov 25 because of the Ruby2Shell release timing."
status: "official (GnuPG security advisory T8557, Nov 20, 2026)"
published: 2026-11-20
---

> GnuPG says every GPGME version before 2.3.0 is affected, whether used as a shared library, DLL or statically linked. A key with a crafted long user ID triggers a double free that can be used to exfiltrate data from an application, for example by sending signed data, and RCE can't be ruled out. Software using GPGME includes Gpg4win, GnuPG Desktop and VS-Desktop, most mail clients, many XMPP clients, Samba and Flatpak. Fixes: GPGME 2.3.1 and Gpg4win 5.1.2; a patch for older versions is attached to the advisory. The bug was found by Johan Carlsson and reported via GitLab on Nov 12; disclosure moved up from Nov 25 because of the Ruby2Shell release timing.

[← Cybersecurity News](/news) · [markdown](/items/gnupg-gpgme-cve-2026-129975-critical-double-free-crafted-long-user-id-key-data-exfiltration-rce-not-ruled-out-fixed-2-3-1.md)

official (GnuPG security advisory T8557, Nov 20, 2026)

2026-11-20 · published here

2026-11-21 7:49 AM ET

### GnuPG: critical GPGME double free (CVE-2026-129975) triggered by an OpenPGP key with a very long user ID can leak app data; RCE not ruled out, fixed in GPGME 2.3.1

- **Update** the system gpgme library (watch distro advisories) and Gpg4win; GPGMEPP/GPGMEQT don't need updating.
- **Static builds:** anything that bundles GPGME (mail clients, Flatpak runtimes, appliances) must be rebuilt against 2.3.1.
- No exploitation reported.

Sources: [gnupg-announce: GnuPG Security Advisory for GPGME (T8557, CVE-2026-129975), Werner Koch (Nov 20, 2026)](https://lists.gnupg.org/pipermail/gnupg-announce/2026q4/000517.html)
