GnuPG Security Advisory for GPGME(lists.gnupg.org)
265 points by gdgghhhhh 8 days ago | 115 comments
tl;dr: GPGME 2.3.1 fixes a critical double-free vulnerability (CVE-2026-129975) triggered by an OpenPGP key with a crafted long user ID, potentially enabling data exfiltration or remote code execution. The bug stems from internal buffer reallocation functions failing to update the context pointer on early returns, leaving a stale freed-memory reference. All prior versions are affected, impacting Gpg4win, GnuPG Desktop, most mail clients, many XMPP clients, Samba, and Flatpak; immediate updates are strongly recommended.
HN Discussion:
  • •Red Hat already patched this years ago but upstream missed it
  • ↑Disclosure timeline context and GitLab impact via signed commits
  • ↓The article overstates severity; it's just a double-free, not RCE
  • •Questioning the practical attack vectors and scope of affected software
  • ↑Humans shouldn't write C/C++ without Rust-level tooling to prevent such bugs