SecurityOnlineDo Son
GnuPG fixes GPGME double free flaw that could leak data
Part of the CVE-2026-129975 story · since 21 Nov
- Sat 21 Nov, 11:30 UTC. The Hacker News, first report. GnuPG fixes GPGME flaw that could expose application data.
- Mon 23 Nov, 02:31 UTC. SecurityOnline, its first report on the story. GnuPG fixes GPGME double free flaw that could leak data. This article, 2nd of 2.
GnuPG has released GPGME 2.3.1 to fix CVE-2026-129975, a critical double-free in the library’s key handling. The flaw can be triggered by a crafted OpenPGP key with a very long user ID, potentially allowing data exfiltration from applications that rely on GPGME, such as mail clients and XMPP clients.
GnuPG warns that remote code execution “can’t be ruled out.” The advisory also notes that the vulnerability affects all prior versions of GPGME, including usage as a shared library, DLL or static build, with affected software spanning Gpg4win, GnuPG Desktop and GnuPG VS-Desktop, as well as many mail and XMPP clients, Samba and Flatpak.
The technical flaw stems from two internal GPGME functions that read status lines and key listings from gpg, each allocating a 1,024-byte buffer and growing as needed. The new, larger buffer pointer is only saved to the context at function exit; if a function returns early (for example due to a read error), a stale pointer may be freed a second time. GnuPG notes that allocator checks may not be triggered because of other allocations, enabling a second free and potential memory safety exploitation.
The advisory instructs users to update the GPGME shared library to version 2.3.1, with Windows users obtaining the DLL from the updated Gpg4win release; developers should rebuild statically linked binaries against 2.3.1. If upgrading is not possible, GnuPG provides a patch that “likely applies cleanly even to very old versions.” No public exploitation or PoC has been confirmed in the article.
How the story developed
2 articles from 2 outlets since 21 Nov. Still developing; the latest report was 5 hours ago. This was the 2nd report, 2 days after the first.
- Sat 21 Nov, 11:30 UTC. The Hacker News, first report. GnuPG fixes GPGME flaw that could expose application data.
- Mon 23 Nov, 02:31 UTC. SecurityOnline, its first report on the story. GnuPG fixes GPGME double free flaw that could leak data. This article, 2nd of 2.
- CVE not in KEV
- No CVE
- Larger: an outlet’s first report
- Coverage over time
Show all 2 articles as a listHide the list
- Sat 21 NovDay 01
- GnuPG fixes GPGME flaw that could expose application data11:30 · The Hacker News · First report
Quiet for 2 days
Mon 23 NovDay 21- GnuPG fixes GPGME double free flaw that could leak data02:31 · SecurityOnline · This article, 2nd of 2