Vulnerabilities · 2025 · Gnupg
CVE-2025-68973
Gnupg vulnerability
In GnuPG before 2.4.9, armor_filter in g10/armor.c has two increments of an index variable where one is intended, leading to an out-of-bounds write for crafted input. (For ExtendedLTS, 2.2.51 and later are fixed versions.)
Affected products
Gnupg. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Gnupg runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/gpg/gnupg/commit/115d138ba599328005c5321c0ef9f00355838ca9 · Patch
- github.com/gpg/gnupg/compare/gnupg-2.2.50...gnupg-2.2.51 · Patch
- www.openwall.com/lists/oss-security/2025/12/29/11 · Patch
- github.com/gpg/gnupg/blob/ff30683418695f5d2cc9e6cf8c9418e09378ebe4/g10/armor.c#L1305-L1306
- gpg.fail/memcpy
- media.ccc.de/v/39c3-to-sign-or-not-to-sign-practical-vulnerabilities-i
- news.ycombinator.com/item?id=46403200
- www.openwall.com/lists/oss-security/2025/12/28/5
- nvd.nist.gov/vuln/detail/CVE-2025-68973
- cve.org/CVERecord?id=CVE-2025-68973
More vulnerabilities in Gnupg products
CVE-2026-24883CVE-2026-24882CVE-2025-68972CVE-2025-30258CVE-2022-47629CVE-2022-34903CVE-2022-3515CVE-2022-3219All 52
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.