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.)
Fix
Patch, vendor advisory and mitigation references on NVD 3
- https://github.com/gpg/gnupg/commit/115d138ba599328005c5321c0ef9f00355838ca9 Patch
- https://github.com/gpg/gnupg/compare/gnupg-2.2.50...gnupg-2.2.51 Patch
- http://www.openwall.com/lists/oss-security/2025/12/29/11 Mailing List, Patch
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 7.0 · gnupgNVD modified 2026-10-13 09:10
Affected (CPE criteria) 1
cpe:2.3:a:gnupg:gnupg:*:*:*:*:-:*:*:*
References 10
- https://github.com/gpg/gnupg/blob/ff30683418695f5d2cc9e6cf8c9418e09378ebe4/g10/armor.c#L1305-L1306 Product
- https://github.com/gpg/gnupg/commit/115d138ba599328005c5321c0ef9f00355838ca9 Patch
- https://github.com/gpg/gnupg/compare/gnupg-2.2.50...gnupg-2.2.51 Patch
- https://gpg.fail/memcpy Broken Link
- https://media.ccc.de/v/39c3-to-sign-or-not-to-sign-practical-vulnerabilities-i Issue Tracking
- https://news.ycombinator.com/item?id=46403200 Issue Tracking
- https://www.openwall.com/lists/oss-security/2025/12/28/5 Mailing List
- http://www.openwall.com/lists/oss-security/2025/12/29/11 Mailing List, Patch
- https://lists.debian.org/debian-lts-announce/2026/01/msg00008.html
- https://gpg.fail/memcpy Broken Link