RCE in Gnupg

196 points - today at 8:32 AM

Source

Comments

uptrails today at 11:27 AM
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...
miduil today at 10:33 AM

       This vulnerability was discovered by Johan Carlsson and we were informed by GitLab on 2026-11-12.
       Initially we set 2026-11-25 for a coordinated disclosure;
       due to the new Ruby2Shell bug GitLab had to update earlier
       and thus we also disclosed the GPGME bug on 2026-11-20.
I guess pretty important for GitLab since it supports signed commits, code execution in that path is pretty bad.

You can find the GitLab Omnibus related patch here: https://gitlab.com/gitlab-org/omnibus-gitlab/-/commit/279ac3...

dehrmann today at 6:19 PM
It's becoming clear that humans have no business writing C/C++ without Rust-level tooling around it to prevent these things.
mik1998 today at 12:29 PM
It's a double free bug, not an RCE chain. Are these vulnerability reports intentionally overstated?
wannabe44 today at 5:34 PM

    All software using a GPGME version prior to 2.3.0 either as shared
libary, DLL, or statically linked is affected. Examples of software using GPGME are

   - Gpg4win
   - GnuPG Desktop
   - GnuPG VS-Desktop
   - Most mail clients
   - Many XMPP clients
   - Samba
   - Flatpack
I assume this is in "gpgme" and doesn't affect apt etc? Can someone confirm?
usr1106 today at 12:16 PM
What are practical attack vectors for Linux workstations and servers?

The masses of internet users don't know what GPG is. I'd caim the majority of software developers don't have a GPG key and never explicitly verify any signature.

But packages of many distros are verified using GPG. Is the vulnerable component involved or not?

tombardier today at 4:52 PM
"We are pleased to announce..."
usr1106 today at 1:16 PM
Editorialized submission title to be better bait.

The correct title is: GnuPG Security Advisory for GPGME

fock today at 2:16 PM
so essentially look at the key before? (and hope your program does not have another RCE...)
Velocifyer today at 1:24 PM
This is a reminder that Seqouia-PGP exists, and its 'sq' CLI is way more intuitive.
mmsc today at 12:35 PM
The vulnerability is in GpgME (the library), not GnuTLS (the library).
legsrunny today at 11:01 AM
more or less than 0 impacted systems?
IshKebab today at 1:32 PM
Luckily nobody uses it!