Description
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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| GnuPG | GnuPG | < 2.2.51, 2.3.0 – < 2.4.9 | 2.2.51 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | gnupg2 | 2.4.8-5 | — |
| Debian 13 | gnupg2 | 2.4.7-21+deb13u1 | — |
| Debian 12 | gnupg2 | 2.2.40-1.1+deb12u2 | — |
| Debian 11 | gnupg2 | 2.2.27-2+deb11u3 | DLA-4437-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 25.10 | gnupg2 | 2.4.8-2ubuntu2.1 | — |
| Ubuntu 24.04 LTS | gnupg2 | 2.4.4-2ubuntu17.4 | — |
| Ubuntu 22.04 LTS | gnupg2 | 2.2.27-3ubuntu2.5 | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | gnupg2 | 2.2.19-3ubuntu2.5+esm1 | — |
| Ubuntu Pro 18.04 LTS | gnupg2 | 2.2.4-1ubuntu1.6+esm2 | — |
| Ubuntu Pro 16.04 LTS | gnupg | 1.4.20-1ubuntu3.3+esm3 | — |
| Ubuntu Pro 16.04 LTS | gnupg2 | 2.1.11-6ubuntu2.1+esm3 | — |
| Ubuntu Pro 14.04 LTS | gnupg | 1.4.16-1ubuntu2.6+esm2 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 10 | gnupg2 +1 | 2.4.5-3.el10_1 | RHSA-2026:0697 |
| RHEL 9 | gnupg2 +1 | 2.3.3-5.el9_7 | RHSA-2026:0719 |
| RHEL 8 | gnupg2 +1 | 2.2.20-4.el8_10 | RHSA-2026:0728 |
Show 14 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 10.0 EUS | gnupg2 +1 | 2.4.5-2.el10_0.1 | RHSA-2026:1629 |
| RHEL 9.6 EUS | gnupg2 +1 | 2.3.3-4.el9_6.1 | RHSA-2026:1229 |
| RHEL 9.4 EUS | gnupg2 +1 | 2.3.3-4.el9_4.1 | RHSA-2026:1230 |
| RHEL 9.2 E4S | gnupg2 +1 | 2.3.3-2.el9_2.1 | RHSA-2026:1705 |
| RHEL 9.0 E4S | gnupg2 +1 | 2.3.3-2.el9_0.1 | RHSA-2026:1719 |
| RHEL 8.8 TUS | gnupg2 +1 | 2.2.20-3.el8_8.1 | RHSA-2026:0935 |
| RHEL 8.8 E4S | gnupg2 +1 | 2.2.20-3.el8_8.1 | RHSA-2026:0935 |
| RHEL 8.6 TUS | gnupg2 +1 | 2.2.20-3.el8_6.1 | RHSA-2026:0974 |
| RHEL 8.6 E4S | gnupg2 +1 | 2.2.20-3.el8_6.1 | RHSA-2026:0974 |
| RHEL 8.6 AUS | gnupg2 +1 | 2.2.20-3.el8_6.1 | RHSA-2026:0974 |
| RHEL 8.4 EUS Long Life | gnupg2 +1 | 2.2.20-2.el8_4.1 | RHSA-2026:1014 |
| RHEL 8.4 AUS | gnupg2 +1 | 2.2.20-2.el8_4.1 | RHSA-2026:1014 |
| RHEL 8.2 AUS | gnupg2 +1 | 2.2.9-1.el8_2.1 | RHSA-2026:1468 |
| RHEL 7 ELS | gnupg2 +1 | 2.0.22-5.el7_9.1 | RHSA-2026:1677 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 10 | gnupg2 +1 | 2.4.5-3.el10_1 | ALSA-2026:0697 |
| AlmaLinux 9 | gnupg2 +1 | 2.3.3-5.el9_7 | ALSA-2026:0719 |
| AlmaLinux 8 | gnupg2 +1 | 2.2.20-4.el8_10 | ALSA-2026:0728 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 10 | gnupg2 | 2.4.5-3.el10_1 | RLSA-2026:0697 |
| Rocky Linux 9 | gnupg2 | 2.3.3-5.el9_7 | RLSA-2026:0719 |
| Rocky Linux 8 | gnupg2 | 2.2.20-4.el8_10 | RLSA-2026:0728 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | gpg2 | 2.4.4-150600.3.12.1 | SUSE-SU-2026:0215-1 |
| SLES 15 SP6 | gpg2 | 2.4.4-150600.3.12.1 | SUSE-SU-2026:0215-1 |
| SLES 15 SP5 | gpg2 | 2.2.27-150300.3.16.1 | SUSE-SU-2026:0214-1 |
| SLES 15 SP4 | gpg2 | 2.2.27-150300.3.16.1 | SUSE-SU-2026:0214-1 |
| SLES 12 SP5 | gpg2 | 2.0.24-9.17.1 | SUSE-SU-2026:0378-1 |
Show 14 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 16.0 | gpg2 | 2.5.5-160000.3.1 | SUSE-SU-2026:20080-1 |
| SLES for SAP 15 SP6 | gpg2 | 2.4.4-150600.3.12.1 | SUSE-SU-2026:0215-1 |
| SLES for SAP 15 SP5 | gpg2 | 2.2.27-150300.3.16.1 | SUSE-SU-2026:0214-1 |
| SLES for SAP 15 SP4 | gpg2 | 2.2.27-150300.3.16.1 | SUSE-SU-2026:0214-1 |
| SLES 16.0 | gpg2 | 2.5.5-160000.3.1 | SUSE-SU-2026:20080-1 |
| SLE Micro 6.2 | gpg2 | 2.5.5-160000.3.1 | SUSE-SU-2026:20108-1 |
| SLE Micro 6.1 | gpg2 | 2.4.4-slfo.1.1_6.1 | SUSE-SU-2026:20356-1 |
| SLE Micro 6.0 | gpg2 | 2.4.4-6.1 | SUSE-SU-2026:20243-1 |
| SLE Micro 5.5 | gpg2 | 2.2.27-150300.3.16.1 | SUSE-SU-2026:0214-1 |
| SLE Micro 5.4 | gpg2 | 2.2.27-150300.3.16.1 | SUSE-SU-2026:0214-1 |
| SLE Micro 5.3 | gpg2 | 2.2.27-150300.3.16.1 | SUSE-SU-2026:0214-1 |
| SLE Micro 5.2 | gpg2 | 2.2.27-150300.3.16.1 | SUSE-SU-2026:0214-1 |
| SLE HPC 15 SP5 | gpg2 | 2.2.27-150300.3.16.1 | SUSE-SU-2026:0214-1 |
| SLE HPC 15 SP4 | gpg2 | 2.2.27-150300.3.16.1 | SUSE-SU-2026:0214-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | gpg2 | 2.5.16-1.1 | openSUSE-SU-2026:10001-1 |
| openSUSE Leap 16.0 | gpg2 | 2.5.5-160000.3.1 | openSUSE-SU-2026:20029-1 |
| openSUSE Leap 15.6 | gpg2 | 2.4.4-150600.3.12.1 | SUSE-SU-2026:0215-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | gnupg | 2.4.9-r0 | — |
| Alpine v3.23 | gnupg | 2.4.9-r0 | — |
| Alpine v3.22 | gnupg | 2.4.9-r0 | — |
| Alpine v3.21 | gnupg | 2.4.9-r0 | — |
| Alpine v3.20 | gnupg | 2.4.9-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | gnupg2 +2 | 2.3.7-1.amzn2023.0.6 | ALAS2023-2026-1380 |
| Amazon Linux 2 | gnupg2 +1 | 2.0.22-5.amzn2.0.6 | ALAS2-2026-3125 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | gnupg2 | 2.4.9-1 | — |
| Azure Linux 2 (CBL-Mariner) | gnupg2 | 2.4.0-3 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 10 | gnupg2 +1 | 2.4.5-3.el10_1 | ELSA-2026-0697 |
| Oracle Linux 9 | gnupg2 +1 | 2.3.3-5.el9_7 | ELSA-2026-0719 |
| Oracle Linux 8 | gnupg2 +1 | 2.2.20-4.el8_10 | ELSA-2026-0728 |
| Oracle Linux 7 | gnupg2 +1 | 2.0.22-5.0.1.el7_5 | ELSA-2026-1677 |
Advisories 41
- WID-SEC-2026-2189 Dell PowerProtect Data Domain: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 2, 2026
- ALSA-2026:0697 Important: gnupg2 security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2026:0719 Important: gnupg2 security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2026:0728 Important: gnupg2 security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2026:1719 Red Hat Security Advisory: gnupg2 security update Red Hat Security Advisories (RHSA) · Sep 22, 2026
- RHSA-2026:1705 Red Hat Security Advisory: gnupg2 security update Red Hat Security Advisories (RHSA) · Sep 22, 2026
- RHSA-2026:1677 Red Hat Security Advisory: gnupg2 security update Red Hat Security Advisories (RHSA) · Sep 22, 2026
- RHSA-2026:1629 Red Hat Security Advisory: gnupg2 security update Red Hat Security Advisories (RHSA) · Sep 22, 2026
- RHSA-2026:1468 Red Hat Security Advisory: gnupg2 security update Red Hat Security Advisories (RHSA) · Sep 22, 2026
- RHSA-2026:1230 Red Hat Security Advisory: gnupg2 security update Red Hat Security Advisories (RHSA) · Sep 22, 2026
- RHSA-2026:1229 Red Hat Security Advisory: gnupg2 security update Red Hat Security Advisories (RHSA) · Sep 22, 2026
- RHSA-2026:1014 Red Hat Security Advisory: gnupg2 security update Red Hat Security Advisories (RHSA) · Sep 22, 2026
- RHSA-2026:0974 Red Hat Security Advisory: gnupg2 security update Red Hat Security Advisories (RHSA) · Sep 22, 2026
- RHSA-2026:0935 Red Hat Security Advisory: gnupg2 security update Red Hat Security Advisories (RHSA) · Sep 22, 2026
- RHSA-2026:0728 Red Hat Security Advisory: gnupg2 security update Red Hat Security Advisories (RHSA) · Sep 22, 2026
- RHSA-2026:0719 Red Hat Security Advisory: gnupg2 security update Red Hat Security Advisories (RHSA) · Sep 22, 2026
- RHSA-2026:0697 Red Hat Security Advisory: gnupg2 security update Red Hat Security Advisories (RHSA) · Sep 22, 2026
- WID-SEC-2026-2253 IBM Security Verify Access: Mehrere Schwachstellen BSI CERT-Bund (WID) · Sep 17, 2026
- WID-SEC-2025-2928 GnuPG: Mehrere Schwachstellen BSI CERT-Bund (WID) · Sep 3, 2026
- WID-SEC-2026-0778 Dell Secure Connect Gateway Policy Manager: Mehrere Schwachstellen BSI CERT-Bund (WID) · May 11, 2026
- WID-SEC-2026-1194 Oracle Communications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 21, 2026
- WID-SEC-2026-0544 IBM QRadar SIEM: Mehrere Schwachstellen BSI CERT-Bund (WID) · Mar 25, 2026
- openSUSE-SU-2026:20029-1 Security update for gpg2 SUSE / openSUSE Security Updates · Mar 23, 2026
- openSUSE-SU-2026:10001-1 dirmngr-2.5.16-1.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2026:20356-1 Security update for gpg2 SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2026:20243-1 Security update for gpg2 SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2026:20108-1 Security update for gpg2 SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2026:20080-1 Security update for gpg2 SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2026:0378-1 Security update for gpg2 SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2026:0215-1 Security update for gpg2 SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2026:0214-1 Security update for gpg2 SUSE / openSUSE Security Updates · Mar 23, 2026
- ELSA-2026-1677 Important: gnupg2 security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Feb 19, 2026
- ALAS2023-2026-1380 Important: gnupg2 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Feb 5, 2026
- ALAS2-2026-3125 Important: gnupg2 security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Jan 21, 2026
- RLSA-2026:0719 Important: gnupg2 security update Rocky Linux Security Advisories · Jan 20, 2026
- RLSA-2026:0728 Important: gnupg2 security update Rocky Linux Security Advisories · Jan 17, 2026
- RLSA-2026:0697 Important: gnupg2 security update Rocky Linux Security Advisories · Jan 17, 2026
- ELSA-2026-0728 Important: gnupg2 security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Jan 15, 2026
- ELSA-2026-0697 Important: gnupg2 security update (Oracle Linux 10) Oracle Linux Security Advisories (ELSA) · Jan 15, 2026
- ELSA-2026-0719 Important: gnupg2 security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Jan 15, 2026
- DLA-4437-1 gnupg2 - security update Debian Security (DSA / DLA) · Jan 14, 2026
References
- https://gpg.fail/memcpy
- https://news.ycombinator.com/item?id=46403200
- https://www.openwall.com/lists/oss-security/2025/12/28/5
- https://github.com/gpg/gnupg/commit/115d138ba599328005c5321c0ef9f00355838ca9
- https://github.com/gpg/gnupg/blob/ff30683418695f5d2cc9e6cf8c9418e09378ebe4/g10/armor.c#L1305-L1306
- https://github.com/gpg/gnupg/compare/gnupg-2.2.50...gnupg-2.2.51
- https://media.ccc.de/v/39c3-to-sign-or-not-to-sign-practical-vulnerabilities-i