AI Weekly Malaysia

Back to items Summaries

GnuPG Security Advisory for GPGME

ID
49176
Status
summarized
Published
21 Nov 2026, 4:32 PM
Fetched
22 Nov 2026, 3:55 PM
Provider
Hacker News
Category
dev-community
Original URL
https://lists.gnupg.org/pipermail/gnupg-announce/2026q4/000517.html
Source URL
https://hnrss.org/best

Summary

Score
7.0
Created
22 Nov 2026, 3:55 PM
Tags
Audience
developersvibe_coderssaas_founders

What happened

GnuPG shipped GPGME 2.3.1 on 2026-11-19 to fix CVE-2026-129975, a critical double free present in every version before 2.3.0. A crafted OpenPGP key with a very long user ID triggers the bug in GPGME's status-line/key-listing read functions, where a reallocated buffer pointer is only written back to the context at function end — an early read error leaves a stale pointer that gets freed twice, allowing data exfiltration via signed data and possibly RCE. Reported by Johan Carlsson via GitLab on 2026-11-12, disclosure was pulled forward from 2026-11-25 to 2026-11-20 because of the separate Ruby2Shell bug.

Why it matters

The affected list is wider than 'people who use GPG directly': Gpg4win, GnuPG Desktop/VS-Desktop, most mail clients, many XMPP clients, Samba and Flatpak all link GPGME, so a Linux desktop or mail stack can be exposed without you choosing the library. Decide today whether you rebuild statically linked binaries against 2.3.1, drop in the 2.3.1 DLL from the updated Gpg4win, or apply the attached patch to a pinned older version — GPGMEPP and GPGMEQT do not need updating. If you ship a distro image or Flatpak, check whether the GPGME bump has actually landed in your base.

Discussion angle

The root cause is a classic C realloc pattern: the new pointer is only assigned back to the context at the end of the function, so any early return keeps the stale one — worth walking through live as a code-review habit. Then the process question: GitLab moved this disclosure earlier because Ruby2Shell forced its hand, so how do you triage and patch when two criticals land in the same week and your dependency is transitive?

Top