In GnuPG through 2.4.8, 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.)
https://www.openwall.com/lists/oss-security/2025/12/28/5
https://news.ycombinator.com/item?id=46403200
https://github.com/gpg/gnupg/compare/gnupg-2.2.50...gnupg-2.2.51
https://github.com/gpg/gnupg/commit/115d138ba599328005c5321c0ef9f00355838ca9
https://github.com/gpg/gnupg/blob/ff30683418695f5d2cc9e6cf8c9418e09378ebe4/g10/armor.c#L1305-L1306