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.
Yeah I use Ubuntu and Fedora and the only thing I don't like about my Fedora desktop is that more desktop software is only available for Ubuntu/Debian rather than Fedora. Probably only simply because Ubuntu is more popular. (I have used alien in the past to some success in this regard to get software running on Fedora that was only built for Ubuntu.)
More on alien:
> alien is a program that converts between Red Hat rpm, Debian deb, Stampede slp, Slackware tgz, and Solaris pkg file formats. If you want to use a package from another linux distribution than the one you have installed on your system, you can use alien to convert it to your preferred package format and install it. It also supports LSB packages. [1]
In my personal experience, I think both of you are right in different bubbles (for lack of a better word). If you worked in commercial unix-like tech systems since the early 2000s (meaning your company/business was tech focused), you would consider RH to be the canonical distro. There is a reason all the newer distros marketed towards commercial use (Alma, Rocky, Cent, Core, Amazon, Azure) are all Fedora/RH derivatives.
If you have been mainly OSS or used unix-system in a non-tech business, then you would consider Debian/Ubuntu to be the more canonical distros.
It was found by static analysis FIVE years ago, but never re-found? That is really odd. I thought people were running every kind of commercial scanning tool on OSS for free most of the time.
Sure, you can get coverity scans for free for open source tools. Most open source maintainers I know aren't eager to hear ideas how they can have more work maintaining their software.
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?
> But packages of many distros are verified using GPG. Is the vulnerable component involved or not?
Debian uses it last time I was on a Debian system And I think all Debian based distros that don't modify apt will essentially use GPG to verify the packages as well.
I think it's one of the those programs that pop up in a lot of different things. Personally I use it a fair amount and even use the Symmetric encryption features for some files and for personal password management.
I do think developer are moving away from it thought I agree (and for various reasons that are good).
We are having this debate right now. So it's far from over. Without PoC it's unclear if it's RCE or just overhyped bullshit. See PHP or Nginx "RCE" which required specific crafted settings for it to even work. A video is not a "PoC".
If you believe an LLM can generate an exploit for this - feel free to post one.
It's more of a "made public" a year later, you have no idea if anyone exploited it in between.
At first I thought the whole Linux everything is a CVE was kind of annoying, but over time, especially with automated exploit finding it really has shown to be in front of what was about to happen.
The mail says "Exploiting this bug to mount an Remote Code Execution attack (RCE) can't be ruled out.".
They didn't write this just for fun. gnupg usually downplays security issues.
It makes sense to assume the worst, then try to achieve it. And only if you achieve it so you tag it as such. You can't announce vulnerabilities to the world based on vibes of what it might do....
"Yeah this is a classic double free. We can't think of a way to transform it into a RCE or something like that, we've also failed at having LLMs do it so far. but in the current climate it could happen so we humbly ask the tag of most dangerous vulnerability please. Not just this disclaimer. We want 9.9 CVE that says RCE!!"
If someone opens an encrypted email that came from an attacker using GnuPG and code is executed on his machine as a result, that is still remote code execution.
Are you suggesting the existence of exploits outside of the definition of "attacker controlled"?
If not, and all exploits are attacker controlled, it sounds like all exploits are RCE.
EDIT I guess I have to weaken the last condition since we haven't proved all exploits are "code execution", but we have at least proved all exploits are "remote".
AI is doing quite well at automating the escalation of small memory bugs (which can usually theoretically cause RCEs) into actual RCE exploits. This bug has a similar nature to php2shell.
The current title is "RCE in Gnupg". A more appropriate title would be "Double free produces posible RCE in GnuPG". The non-editorialized title would also be better because it does not claim there is an RCE that is not known to exist.
"Probable RCE in GnuPG clients" would be appropriate.
When someone posts a Claude POC, then the situation is different.
Not even that, just "double free" would be a fair title. Every double free is a possible RCE using this logic. For tens of years we had "double free" vulnerabilities. Calling each and every of them "RCE" makes that word meaningless.
miduil | 10 hours ago
You can find the GitLab Omnibus related patch here: https://gitlab.com/gitlab-org/omnibus-gitlab/-/commit/279ac3...
legsrunny | 9 hours ago
uptrails | 9 hours ago
[OP] gdgghhhhh | 8 hours ago
c-hendricks | 6 hours ago
christophilus | 6 hours ago
throooooo | 5 hours ago
nullpoint420 | 3 hours ago
IMO, RH is just better at security, integration, and much much more.
johnsonjo | 3 hours ago
More on alien:
> alien is a program that converts between Red Hat rpm, Debian deb, Stampede slp, Slackware tgz, and Solaris pkg file formats. If you want to use a package from another linux distribution than the one you have installed on your system, you can use alien to convert it to your preferred package format and install it. It also supports LSB packages. [1]
[1]: (https://manpages.ubuntu.com/manpages/bionic/man1/alien.1p.ht...)
eddythompson80 | 2 hours ago
If you have been mainly OSS or used unix-system in a non-tech business, then you would consider Debian/Ubuntu to be the more canonical distros.
cozzyd | an hour ago
BadBadJellyBean | an hour ago
gpvos | an hour ago
cozzyd | an hour ago
cowlevel | an hour ago
Ubuntu is the Canonical distro, but that's unrelated.
creatonez | 7 minutes ago
sandos | an hour ago
"when it was noticed by a Coverity scan:"
It was found by static analysis FIVE years ago, but never re-found? That is really odd. I thought people were running every kind of commercial scanning tool on OSS for free most of the time.
hannob | 10 minutes ago
Sure, you can get coverity scans for free for open source tools. Most open source maintainers I know aren't eager to hear ideas how they can have more work maintaining their software.
usr1106 | 8 hours ago
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?
[OP] gdgghhhhh | 8 hours ago
Geezus_42 | 8 hours ago
[OP] gdgghhhhh | 8 hours ago
Geezus_42 | 7 hours ago
kodoman | 6 hours ago
A lot of people use it especially certain high value targets on darknet drug markets who might miss this.
A lot of projects do still use it for signing projects though many have opted for simpler solutions (or unfortunately no signing).
I think Debian still uses it (not sure about ubuntu) in apt.
Geezus_42 | 6 hours ago
Sure, GPG gets used for signing packages and that COULD potentially lead to a supply chain attack IF this is not quickly patched.
OJFord | 7 hours ago
It's specifically in 'GPGME' though, so more limited scope I think.
usr1106 | 7 hours ago
capitol_ | 7 hours ago
usr1106 | 4 hours ago
lazka | 7 hours ago
kodoman | 6 hours ago
Debian uses it last time I was on a Debian system And I think all Debian based distros that don't modify apt will essentially use GPG to verify the packages as well.
I think it's one of the those programs that pop up in a lot of different things. Personally I use it a fair amount and even use the Symmetric encryption features for some files and for personal password management.
I do think developer are moving away from it thought I agree (and for various reasons that are good).
firesteelrain | 5 hours ago
usr1106 | 4 hours ago
mik1998 | 8 hours ago
[OP] gdgghhhhh | 8 hours ago
gsich | 7 hours ago
Deeg9rie9usi | 7 hours ago
gsich | 7 hours ago
If you believe an LLM can generate an exploit for this - feel free to post one.
o_-_o | 7 hours ago
InsidiousWombat | 6 hours ago
pixl97 | 4 hours ago
Quit writing memory free errors in software. Prove your software is safe, not prove that it's not exploitable.
gsich | 2 hours ago
pixl97 | 23 minutes ago
At first I thought the whole Linux everything is a CVE was kind of annoying, but over time, especially with automated exploit finding it really has shown to be in front of what was about to happen.
Deeg9rie9usi | 5 hours ago
kuroguro | 7 hours ago
Deeg9rie9usi | 7 hours ago
kuroguro | 7 hours ago
It's still a critical bug, just would not call it a prime example of rce.
Sopel | 7 hours ago
bigfishrunning | 5 hours ago
wavemode | 6 hours ago
dboreham | 4 hours ago
I thought we reached the point a few years ago where the assumed probability this can be done is 100% ?
InsidiousWombat | 6 hours ago
> Exploiting this bug to mount an Remote Code Execution attack (RCE) can't be ruled out.
mhluongo | 5 hours ago
gertop | 3 hours ago
"Yeah this is a classic double free. We can't think of a way to transform it into a RCE or something like that, we've also failed at having LLMs do it so far. but in the current climate it could happen so we humbly ask the tag of most dangerous vulnerability please. Not just this disclaimer. We want 9.9 CVE that says RCE!!"
This is ridiculous.
slim | 2 hours ago
rubendev | an hour ago
dwattttt | an hour ago
catlifeonmars | 45 minutes ago
In all seriousness, “remote” in this case means attacker controlled.
dwattttt | 21 minutes ago
If not, and all exploits are attacker controlled, it sounds like all exploits are RCE.
EDIT I guess I have to weaken the last condition since we haven't proved all exploits are "code execution", but we have at least proved all exploits are "remote".
cowlevel | an hour ago
mmsc | 8 hours ago
usr1106 | 7 hours ago
The correct title is: GnuPG Security Advisory for GPGME
g-b-r | 6 hours ago
fn-mote | 6 hours ago
"Probable RCE in GnuPG clients" would be appropriate.
When someone posts a Claude POC, then the situation is different.
g-b-r | 6 hours ago
msm_ | 53 minutes ago
Not even that, just "double free" would be a fair title. Every double free is a possible RCE using this logic. For tens of years we had "double free" vulnerabilities. Calling each and every of them "RCE" makes that word meaningless.
Velocifyer | 7 hours ago
IshKebab | 7 hours ago
fock | 6 hours ago
tombardier | 3 hours ago
gpvos | an hour ago
wannabe44 | 3 hours ago
dehrmann | 2 hours ago