GrepBoard/Manuals
605 manuals ·

GPGME 2.3.1 CVE-2026-129975 Update and Package Check

·Tested on Debian 13, Ubuntu 24.04 and Rocky Linux 9 official Docker images · 2026-11·Test scope ↓·4 steps

GPGME 2.3.1 fixes CVE-2026-129975. Use APT or RPM to find installed versions and dependent packages, then check your distribution's fix.

Check the fix for CVE-2026-129975, disclosed on November 20, 2026, on systems with software that uses GPGME. GPGME is the library applications use to call cryptographic engines such as gpg. Check the library version and which packages depend on it. GnuPG security advisory

[1] Pick the fixed version for your installation. The advisory covers all software using GPGME before 2.3.0 as a shared library, a DLL, or through static linking. Version 2.3.0 was never made public, and 2.3.1 is the fixed upstream release. The condition is an OpenPGP key with a crafted, very long user ID. GnuPG says the double free can expose application data and that remote code execution cannot be ruled out.

InstallationFixed version to check for
Upstream GPGME2.3.1
Gpg4win5.1.2 includes the fixed GPGME
Debian 13 trixie1.24.2-3+deb13u1 (DSA-6646-1)
Debian 12 bookworm1.18.0-3+deb12u1 (DLA-4924-1)
Ubuntu and RHEL familyFixed package versions unconfirmed in official security notices on November 22, 2026

The Debian versions come from the November 20 notices. The notices name the source package gpgme1.0. Compare the installed binary package version with the row for your Debian release.

[2] On Debian and Ubuntu, read the installed version and the repository candidate. Query libgpgme11t64 on Debian 13 or Ubuntu 24.04. On Debian 12, substitute libgpgme11 in the APT commands. This output came from the official Debian 13 image after refreshing the package index.

console
$ apt-cache policy libgpgme11t64
output
libgpgme11t64:  Installed: (none)  Candidate: 1.24.2-3+deb13u1  Version table:     1.24.2-3+deb13u1 500        500 http://deb.debian.org/debian-security trixie-security/main amd64 Packages     1.24.2-3 500        500 http://deb.debian.org/debian trixie/main amd64 Packages

Installed: is the installed version. Candidate: is the version APT selected from its configured repositories and package index. The Debian image had the fixed build as its candidate and the library was absent. The Ubuntu 24.04 image had 1.18.0-4.1ubuntu4 as its candidate. That number alone cannot establish whether the fix is present. When preparing an update, confirm that the security repository is enabled, refresh the package indexes, then check the candidate again.

List installed reverse dependencies. Omit --installed to see the reverse dependencies known to APT, regardless of whether the packages are installed.

console
$ apt-cache --installed rdepends libgpgme11t64

In the stock Debian 13 and Ubuntu 24.04 images, no installed reverse dependencies appeared under Reverse Depends:. Use the list to identify packages that can require the library. Check each application separately to see whether it is running and actually handles OpenPGP data.

[3] On RHEL-family systems, read the installed RPM version. This output came from the official Rocky Linux 9 image.

console
$ rpm -q gpgme
output
gpgme-1.15.1-6.el9.x86_64

Next, read the library capabilities the package provides.

console
$ rpm -q --provides gpgme

Find the capability starting with libgpgme.so in the --provides output and pass it to --whatrequires. The example queries libgpgme.so.11()(64bit) on the same image. On a different architecture, use the exact capability shown by RPM.

console
$ rpm -q --whatrequires 'libgpgme.so.11()(64bit)'
output
gpgme-1.15.1-6.el9.x86_64librepo-1.19.0-1.el9.x86_64libdnf-0.69.0-20.el9.rocky.0.1.x86_64python3-gpg-1.15.1-6.el9.x86_64

[4] Update distribution packages to a fixed build for that release, then check the installed version again using [2] or [3]. For a separate upstream installation, update the shared library to 2.3.1. Rebuild statically linked binaries against 2.3.1. If you maintain an older source release, use a build with the backport patch attached to the GnuPG advisory. Update Windows installations managed by Gpg4win to 5.1.2. Check for an application update if it ships its own DLL.

A running application can still use the old library after the on-disk copy changes. Follow your normal operations procedure to restart the affected application and confirm it starts with the updated version.

Where the check can mislead

The Debian 13 image showed 1.24.2-3+deb13u1. Its number is lower than 2.3.1, and the Debian notice identifies this exact build as fixed. Use the full distribution version when evaluating packaged builds. The Apache httpd security update has another example of how to check for a backport.

If the installed reverse dependency list is empty, check manually installed programs and separate containers as well. An application with a bundled DLL or a static build can sit outside the host APT or RPM inventory. Check the application's release records for the GPGME version it uses.

#gpgme#gnupg#gpg4win#cve#apt#rpm