Stack-based buffer overflow in GnuPG
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-121 and the CVSS impact.
Summary
In GnuPG before 2.5.17, a stack-based buffer overflow exists in tpm2daemon during handling of the PKDECRYPT command for TPM-backed RSA and ECC keys.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| GnuPG | GnuPG | before 2.5.17 | 2.5.17 | Patch available | CNA |
- GnuPG VendorGnuPG Affected before 2.5.17 Fixed in 2.5.17 Patch available CNA
Remediation
- Fix · CNA GnuPG (GnuPG) Fixed in 2.5.17
Red Hat 2 advisories
- RHSA-2026:2753 Released 2026-02-16 · Red Hat rating Importantgnupg2 security update
- Red Hat Enterprise Linux AppStream EUS (v. 10.0) gnupg2-smime-2.4.5-2.el10_0.2
- Red Hat Enterprise Linux BaseOS EUS (v. 10.0) gnupg2-2.4.5-2.el10_0.2
- RHSA-2026:2719 Released 2026-02-16 · Red Hat rating Importantgnupg2 security update
- Red Hat Enterprise Linux AppStream (v. 10) gnupg2-smime-2.4.5-4.el10_1
- Red Hat Enterprise Linux BaseOS (v. 10) gnupg2-2.4.5-4.el10_1
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
GnuPG 2.5.17
3 records Highest priority Priority MEDIUM 1 MEDIUM, 2 LOW
Other records, highest priority first
- TI-2026-20067 Stack-based buffer overflow in GnuPGPriority MEDIUM 46
- TI-2026-20069 NULL pointer dereference in GnuPGPriority LOW 25
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux AppStream (v. 10) | Fixed | RHSA-2026:2719 |
| Red Hat Enterprise Linux AppStream EUS (v. 10.0) | Fixed | RHSA-2026:2753 |
| Red Hat Enterprise Linux BaseOS (v. 10) | Fixed | RHSA-2026:2719 |
| Red Hat Enterprise Linux BaseOS EUS (v. 10.0) | Fixed | RHSA-2026:2753 |
Not affected: 4 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
Timeline
- 2026-10-02 Threatist record created from CVE-2026-24882
- 2026-10-03 Alias added: GHSA-mpc3-hqr8-w5f3
References
More Gnupg vulnerabilities
- TI-2022-03243 Integer overflow in libksba CVSS 3.1CRITICAL 9.8
- TI-2025-42429 Out-of-bounds write in GnuPG CVSS 3.1HIGH 7.8
- TI-2025-42428 Improper signature verification in GnuPG CVSS 3.1MEDIUM 5.9
- TI-2008-01464 GnuPG (gpg) 1.4.8 and 2.0.8 allows remote attackers to cause a denial of service (crash)… CVSS 2.0HIGH 9.3
- TI-2026-20067 Stack-based buffer overflow in GnuPG CVSS 3.1CRITICAL 9.8
- TI-2018-08614 mainproc.c in GnuPG before 2.2.8 mishandles the original filename during decryption and… CVSS 3.1HIGH 7.5
Sources
- CVE-2026-24882 · CVE Program
- CVE-2026-24882 · NVD
- FIRST EPSS
- GHSA-mpc3-hqr8-w5f3 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-24882 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences