GnuPG's GPGME library has a critical flaw (CVE-2026-129975): a crafted OpenPGP key can leak data from mail clients and other apps; update to GPGME 2.3.1
On 20 November 2026 the GnuPG project disclosed a critical double-free bug in GPGME, the library many mail clients, Gpg4win, Samba and other programs use to talk to GnuPG. A crafted OpenPGP key with a very long user ID can be used to leak data, and GnuPG says code execution cannot be ruled out. Fixed in GPGME 2.3.1 and Gpg4win 5.1.2. GnuPG reports no attacks. Who is affected, what to do, and what we could not confirm.
How urgent
Plan this week
Who is affected
Anyone who uses software built on GPGME older than 2.3.1: GnuPG's own Desktop products and Gpg4win, and, according to GnuPG, most mail clients, many XMPP chat clients, Samba and Flatpak. If you only send email through a web service and never use PGP or S/MIME in a desktop app, you are probably not affected
What to do
Install your system's or vendor's update that includes GPGME 2.3.1 (Windows: Gpg4win 5.1.2), update your mail client and other PGP-using apps, rebuild any program that bundles GPGME, and until then do not import or open signed or encrypted mail that includes keys from people you do not know
Published 21 Nov 2026 · Sources last checked 21 Nov 2026No. 104 / 168
Watch the short video
The video loads from YouTube (privacy-enhanced mode) only when you press play.
What happened
On 20 November 2026 the GnuPG project published a security advisory for GPGME, the library that programs use to call GnuPG, the open-source tool behind PGP encryptionEncryption Scrambling data with a key so that only someone with the key can read it. Tap again to open the glossary and signing. GnuPG calls it a critical bug and says it affects all earlier versions. The bug is a double free: the library gives the same piece of memory back to the system twice, which can corrupt how a program works. The CVECVE A public ID number, like CVE-2026-12345, given to one specific security flaw so everyone can talk about the same bug. Tap again to open the glossary number is CVE-2026-129975.
According to the advisory, an attacker can trigger it with an OpenPGP key whose user ID is very long. GnuPG says the bug can be used to exfiltrate data from applications, for example by sending signed data, and that remote code executionRCE (remote code execution) A flaw that lets an attacker run their own code on your server or device from a distance. Tap again to open the glossary cannot be ruled out, so it recommends updating immediately. It was found by Johan Carlsson, reported to GnuPG by GitLab on 12 November, and published on 20 November instead of the planned 25 November because GitLab had to update early for a separate flaw GnuPG calls Ruby2Shell.
Who is affected
GnuPG says any software that uses a GPGME older than the fixed release, as a shared library, a Windows DLL, or built in statically, is affected. It lists as examples Gpg4win, GnuPG Desktop, GnuPG VS-Desktop, most mail clients, many XMPP chat clients, Samba and Flatpak. In plain words: if you use a desktop mail program with PGP or S/MIME, a Linux machine that handles signed mail, or a file server running Samba, the library may be inside it without you ever installing it by name. If you only use webmail and never use PGP, you are probably not affected.
Is it being exploited?
The advisory does not report any attacks, and we found no other source that does. GnuPG's own words are that code execution is possible in principle but not shown. We therefore describe this as a critical flaw with a fix and no reported exploitation, not as an active attack.
What to do
- Find out whether you use it. Ask whoever manages your computers and servers whether your mail client, Samba server or PGP tools use GPGME. On Linux, your package manager shows the installed
libgpgmeversion. - Update. GnuPG says to update the GPGME library to 2.3.1 (released on 19 November). On Windows, Gpg4win 5.1.2 includes the fixed library. Your Linux distribution or your mail client's vendor will ship its own update: install it when it arrives.
- If a program bundles GPGME inside itself (built in statically), it has to be rebuilt against 2.3.1; that is the vendor's job, so ask them.
- If you cannot update yet, GnuPG attached a patchPatch (security update) A fix released by the maker of a piece of software to close a flaw or a bug. Tap again to open the glossary that it says likely applies even to very old versions, which matters for people who maintain their own builds. For everyone else, the stopgap is our own precaution, not GnuPG's: do not import keys, or open signed or encrypted mail with keys attached, from senders you do not know.
Steps 1 and 4 are ours; steps 2 and 3 follow GnuPG. No need to update GPGMEPP or GPGMEQt, according to GnuPG.
What we do not know
How easy the bug is to use in practice against each program, whether any attacker is already using it, and which mail clients or distributions have already shipped a fixed library. GnuPG lists categories, not specific products.
What we could not confirm
We read GnuPG's advisory on 21 November 2026. We did not read The Hacker News (blocked), and the CVE database record was empty when we tried, so we have no severity score (CVSSCVSS score A number from 0 to 10 that rates how serious a flaw is in general. From 9.0 up it is called Critical. Tap again to open the glossary) to quote. We did not test the bug or the fix. The wording about the affected versions in the advisory refers to "prior to 2.3.0", a version GnuPG says was never public, so the safe target is 2.3.1.
Keep reading
More stories on the same topic or from the same area.
- Linux kernel flaw can let crafted IPv6 traffic slip past stateful firewall rules (CVE-2026-139281): update the kernel and check IPv6 exposurePlan this week 4 Dec 2026
- Laravel: a few crafted JSON requests can take an app offline without logging in. Update to 12.74.0 or 13.44.1 (CVE-2026-142612)Plan this week 3 Dec 2026
- node-tar, the package that unpacks archives in Node.js, got 18 security advisories in one day: a crafted archive can place a link outside the extraction folder; the fix is tar 8, which needs Node 22Plan this week 2 Dec 2026
Comments
No account needed. Add a nickname if you like, or leave it empty to comment anonymously. Comments are reviewed before they appear. Links are not allowed.
We store your comment, your nickname and a scrambled form of your connection that we use only to limit spam. We do not store your IP address or set cookies. Cloudflare Turnstile checks that you are not a bot.
Sources and verification
We use primary sources first and say when we rely on a news report. Dates are the day we last checked each source.
Spotted a mistake? Email [email protected] and we will correct it and note the change.