Vulnerability · Published Dec 28, 2025 · Assigned by mitre
CVE-2025-68973
High 7.8
In plain English
A high-severity security flaw in GnuPG from GnuPG. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 4% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.8High
Exploit odds (30 days)0.2%top 95.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:10 | gnupg2 | 2.4.5-3.el10_1 | ALSA-2026:0697 |
| AlmaLinux:8 | gnupg2 | 2.2.20-4.el8_10 | ALSA-2026:0728 |
| AlmaLinux:9 | gnupg2 | 2.3.3-5.el9_7 | ALSA-2026:0719 |
| AlmaLinux:10 | gnupg2-smime | 2.4.5-3.el10_1 | ALSA-2026:0697 |
| AlmaLinux:8 | gnupg2-smime | 2.2.20-4.el8_10 | ALSA-2026:0728 |
| AlmaLinux:9 | gnupg2-smime | 2.3.3-5.el9_7 | ALSA-2026:0719 |
| Alpine:v3.20 | gnupg | 2.4.9-r0 | ALPINE-CVE-2025-68973 |
| Alpine:v3.21 | gnupg | 2.4.9-r0 | ALPINE-CVE-2025-68973 |
| Alpine:v3.22 | gnupg | 2.4.9-r0 | ALPINE-CVE-2025-68973 |
| Alpine:v3.23 | gnupg | 2.4.9-r0 | ALPINE-CVE-2025-68973 |
| Alpine:v3.24 | gnupg | 2.4.9-r0 | ALPINE-CVE-2025-68973 |
| Debian:12 | gnupg2 | 2.2.40-1.1+deb12u2 | DEBIAN-CVE-2025-68973 |
| Debian:13 | gnupg2 | 2.4.7-21+deb13u1 | DEBIAN-CVE-2025-68973 |
| Debian:14 | gnupg2 | 2.4.8-5 | DEBIAN-CVE-2025-68973 |
| Rocky Linux:10 | gnupg2 | 0:2.4.5-3.el10_1 | RLSA-2026:0697 |
| Rocky Linux:8 | gnupg2 | 0:2.2.20-4.el8_10 | RLSA-2026:0728 |
| Rocky Linux:9 | gnupg2 | 0:2.3.3-5.el9_7 | RLSA-2026:0719 |
| Ubuntu:22.04:LTS | gnupg2 | 2.2.27-3ubuntu2.5 | UBUNTU-CVE-2025-68973 |
| Ubuntu:24.04:LTS | gnupg2 | 2.4.4-2ubuntu17.4 | UBUNTU-CVE-2025-68973 |
| Ubuntu:25.10 | gnupg2 | 2.4.8-2ubuntu2.1 | UBUNTU-CVE-2025-68973 |
Affected products (as reported)
Weakness: CWE-675 · Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N
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
- http://www.openwall.com/lists/oss-security/2025/12/29/11
- https://lists.debian.org/debian-lts-announce/2026/01/msg00008.html