Skip to content
OpenAdvisories
High · 7.8 CVE-2025-68973 EUVD-2025-205519GHSA-pj23-86ww-f72p

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-boun…

Published Dec 28, 2025 · Updated Apr 30, 2026 · Assigned by mitre

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

VendorProductAffectedFixed
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.

ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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 —
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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 ↗
ReleasePackageFixed inAdvisory
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 ↗
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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

ReleasePackageFixed inAdvisory
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

ReleasePackageFixed inAdvisory
Azure Linux 3 gnupg2 2.4.9-1 —
Azure Linux 2 (CBL-Mariner) gnupg2 2.4.0-3 —

Oracle Linux

ReleasePackageFixed inAdvisory
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

References