hn.today

RCE in Gnupg

lists.gnupg.org228 points93 comments
Screenshot of RCE in Gnupg

GnuPG announces GPGME 2.3.1 to fix a critical flaw, tracked as T8557 and CVE-2026-129975. A specially crafted OpenPGP key with an extremely long user ID can trigger a double free while GPGME reads status lines or key listings from GnuPG. The underlying bug occurs when a growing buffer is reallocated but its updated pointer is not saved in the context until the function finishes. If an error or other event causes an early return, the context retains a pointer to freed memory and may free it again later. The flaw can be used to exfiltrate data - for example, through signed content - and remote code execution cannot be ruled out.

Software using GPGME versions before 2.3.1 is affected, whether the library is shared, provided as a DLL, or statically linked; the advisory notes that version 2.3.0 was never publicly released. Potentially affected products include Gpg4win, GnuPG Desktop, mail and XMPP clients, Samba, and Flatpak. Users should update the library to 2.3.1, or rebuild statically linked programs against that release; an attached patch is offered for installations that cannot upgrade. Updated Gpg4win, GnuPG Desktop, and VS-Desktop releases are also available. No update to GPGMEPP or GPGMEQT is needed. The release additionally adds constants and mappings for several cryptographic algorithms.

Read on lists.gnupg.org93 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Security

Upload2Shell · CVE-2026-125396

Upload2Shell · CVE-2026-125396

A use-after-free in Ghostscript’s Type 1 font loader lets crafted documents escape the -dSAFER sandbox and run commands through vulnerable upload, preview, and document-processing workflows. Ghostscript 10.08.0 fixes the flaw, with downstream vulnerabilities also reported in services including Debian CUPS, Roundcube, Plesk, and WordPress. (pwn.ai)

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.