266 points · by gdgghhhhh · 2w ago · 120 comments
"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.
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.
When Ubuntu came on the scene it quickly became a dominant choice for normies and non-tinkerers, and I feel like this sort of lifted prominence for debian too.
Ubuntu is the Canonical distro, but that's unrelated.
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...
> Exploiting this bug to mount an Remote Code Execution attack (RCE) can't be ruled out.
If an RCE exploit can't be ruled out, that's bad, but would be clearly worse in every way if an RCE exploit was public.
An LLM can aid in designing an actual exploit, but if it's not possible then it's simply not possible. Oftentimes we are lucky and exploits turn out to be impractical or require configurations never found in the wild.
"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.
I thought we reached the point a few years ago where the assumed probability this can be done is 100% ?
The trigger, whatever it was, would have to not just cause the super long userID to be displayed, but would somehow have to affect the target's display code in a meaningful way to do some sort of exploit.
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?I have 2 library packages with such name installed on my Ubuntu laptop. They have been pulled in by podman and by libreoffice.
This doesn't seem to be the standard package signing mechanism used by many Linux distros. So yes, many people might have it (if the libreoffice path is affected). But standard package installation should not be.
(Just from my quick analysis. Not an expert in the area and did not dig deeper.)
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?
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).
- Build Date: 2026-11-21 13:29 UTC
- Signature Date: 2026-11-21 13:31 UTC
- Last Updated: 2026-11-22 09:13 UTC
It's specifically in 'GPGME' though, so more limited scope I think.
Without digging into exactly how pacman uses it, I'm wondering if the cautious move is not to update anything before first updating it...
But for use-after-free, from the beginning, the solution was not to have pointers in the language at all; Ada does have pointers and Ada.Unchecked_Deallocation.
Obviously dynamic memory allocating does have useful applications, so after Rust 1.0 was released, SPARK Ada added pointers and an explicitly Rust-inspired ownership model.
"Verification of Programs with Pointers in SPARK", 2020 https://dl.acm.org/doi/10.1007/978-3-030-63406-3_4
"Proving heap-manipulating programs with SPARK", 2021 https://av.tib.eu/media/53376
Clearly it's bringing something to the table, even if not technical.
The correct title is: GnuPG Security Advisory for GPGME
"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.