← Sat, Nov 21 digest

RCE in Gnupg

read article ↗ hn thread ↗

GnuPG released GPGME 2.3.1 to patch a critical double-free vulnerability (CVE-2026-129975) triggered by a crafted user ID.

summary is enough An immediate update is necessary, but the advisory itself is a standard release notice rather than an in-depth technical analysis.

summary

GnuPG issued an urgent advisory for GPGME version 2.3.1, addressing a critical double-free vulnerability designated as CVE-2026-129975. The flaw occurs when reading status lines and key listings due to stale memory pointers following early function returns, which can be triggered by a crafted OpenPGP user ID. Because many mail clients, Samba, and utility wrappers depend on GPGME, processing untrusted signed data could lead to remote code execution. Administrators and developers must update their shared libraries or apply the official patch immediately.

key points

  1. CVE-2026-129975 stems from stale memory pointers left in context objects during early returns in GPGME status-reading functions.
  2. Attackers can trigger the double-free mechanism using an OpenPGP key containing a maliciously crafted, excessively long user ID.
  3. Widespread applications relying on GPGME, including mail clients and Gpg4win, are potentially vulnerable.

who should read it

Software maintainers, system administrators, and security engineers integrating GnuPG libraries.

discussion skeptical

consensus

Participants debate whether labeling a double-free as potential remote code execution is alarmist or realistic given modern exploitation techniques.

pushback

A prominent thread notes that static analysis tools flagged this exact issue years ago and downstream maintainers like Red Hat had already fixed it, pointing to upstream visibility gaps.

best comment by uptrails ↗

Reportedly fixed by Red Hat 5 years ago based on the output from conventional tools, but missed by upstream: https://gitlab.com/redhat/centos-stream/rpms/gpgme/-/blob/c9...

It reveals that the bug was discovered by static analysis years prior and patched downstream, raising questions about upstream tracking.

Generated by an LLM from the article and thread. Check the sources before relying on it.