What happened
The GnuPG project has released GPGME 2.3.1 to fix a critical bug, tracked as T8557 and CVE-2026-129975, in all earlier versions. The security advisory says an OpenPGP key with a very long user ID can trigger a double free. That can leak data from an application, and the authors say remote code execution cannot be ruled out. They recommend updating immediately.
Why it matters
GPGME is the library many programs use to talk to gpg. You may never install it on purpose, yet it can sit underneath other tools. That is the problem for a team without a platform team: nobody owns the list of what links against it.
The advisory says any software using a GPGME version before 2.3.0 is affected, whether it uses the shared library, a DLL or a statically linked copy. The static case is the awkward one. Updating the system package does nothing for a binary that carries its own copy, so it has to be rebuilt.
The trigger is a crafted key, so the risk is highest wherever your systems import or process keys or signed data from outside parties. Think of package or artefact verification, mail handling, and signed uploads. The advisory also notes that 2.3.0 was never publicly available, so you should end up on 2.3.1.
What to do this week
- List where GPGME is installed on servers, build agents and developer machines. Check your package manager first, then container images.
- Update the shared library to 2.3.1 through your distribution or the GnuPG-provided packages. On Windows, the updated Gpg4win release includes the fixed DLL.
- Find statically linked software that bundles GPGME, and rebuild it against the fixed version. Rebuild and redeploy container images that include the old library.
- If you cannot update yet, the advisory attaches a patch that should apply to older versions. Treat it as a stopgap and test it.
- Note where untrusted keys or signed data reach your systems, and prioritise those hosts first. Check the downloads against the signatures the project publishes.
Need a hand?
Working out what links against a library, and getting every image and build rebuilt, is the kind of job that gets lost between other tasks. Our team helps small companies with this through our Security & Compliance service, from inventory to patching to a repeatable process. The first call is free and it is with an engineer, not a salesperson.
Source: GnuPG Security Advisory for GPGME
Related service: Security & Compliance