[Announce] GnuPG Security Advisory for GPGME (T8557,CVE-2026-129975)
Michal Hlavinka
mhlavink at redhat.com
Tue Nov 24 16:18:31 CET 2026
Hi,
>> Related, but sad: Red Hat Enterprise Linux 9 seems to have
>> patched the double-free *5 years ago* when it was noticed by
> My comment on oss-security was:
>
> We regularly received results from Coverity scans via Redhat.
> Fortunately they had already filtered them on plausibility and thus the
> mentioned one might have slipped through. In particular because it was
> mostly about memory leakage in error paths.
>
> It is a bit strange that this was a one-off patch and never re-applied
> to newer releases. That part of the code did not receive any serious
> updated in the last decades.
>
>> Instead, they didn't even share it with Fedora where it
>> would have made it into future RHEL releases.
First, I have to say that I was not there that time, so can't answer all
questions.
Some context first - we do regular scans that spew tens to hundreds (or
more) warnings and because the noise-value ratio is really very very
bad, nobody likes them. When we have some time, we go through those and
try to find true positives and send those upstream. It's usually some
corner cases and often ignored when sent upstream or dismissed as
nonsense. That's why getting no response to a scan found issues does not
ring any alarm. (This is general observed state, not about any specific
upstream project).
I was able to find out that patch was sent
https://lists.gnupg.org/pipermail/gnupg-devel/2021-July/034928.html and
probably went unnoticed. I don't know why there was no repeated attempt
to get a response, but I *guess* that he assumed that there was no
interest.
Why the fix is present in old rhel, not newer rhel and not fedora is due
to the policies. It was found during rhel9 beta, so with dev freeze
close, my *guess* is that it was applied immediately not to miss a
deadline. Also it was sent on the mailing list. The policies are Fedora
first and for Fedora it's upstream first. We do not want to carry
downstream patches when not necessary. As the patch did not make it into
the repository, it was not included in Fedora and as Fedora did not
carry it, rhel 10 did not get it either. Don't forget that it was a
corner case double free, not a security issue, that would be handled
differently.
Cheers,
Michal
More information about the Gnupg-devel
mailing list