GPGME vulnerability allows arbitrary code execution via memory reallocation error
A flaw in GnuPG Made Easy (GPGME) memory handling can lead to denial of service or arbitrary code execution when processing specially crafted input.
Summary
Ubuntu has issued a security advisory regarding a vulnerability in the GnuPG Made Easy (GPGME) library, identified as CVE-2026-129975. The defect involves incorrect memory reallocation logic when the library processes status and colon-delimited lines.
This vulnerability affects a wide range of Ubuntu releases, from the current 26.10 version down to legacy 14.04 LTS systems. Depending on the input provided, an attacker could trigger a program crash resulting in a denial of service or potentially execute arbitrary code with the privileges of the user running the affected application.
Technical details of CVE-2026-129975
- Defect Class: The vulnerability is rooted in improper memory reallocation during the parsing of specific line formats.
- Attack Vector: An attacker can exploit this by providing specially crafted status or colon-delimited input to applications utilizing the GPGME library.
- Impact Severity: Successful exploitation can result in either a denial of service (application crash) or arbitrary code execution under the current user's login context.
- Affected Packages: The fix is distributed through various package names including libgpgme45, libgpgme11t64, and libgpgme11 depending on the Ubuntu release version.
Why it matters
Because GPGME is a common interface for GnuPG, this vulnerability impacts any software that relies on it for cryptographic operations and key management. System administrators should prioritize updating the libgpgme packages across all supported Ubuntu distributions to mitigate the risk of local privilege escalation or service disruption.
What to do
- Perform a standard system update to apply necessary changes.
- Update libgpgme45 to version 2.1.2-1ubuntu0.1 if using Ubuntu 26.10.
- Update libgpgme45 to version 2.0.1-2ubuntu0.1 if using Ubuntu 26.04 LTS.
- Update libgpgme11t64 to version 1.18.0-4.1ubuntu4.1 if using Ubuntu 24.04 LTS.
Original reference: ubuntu.com →