CVE-2026-24882 Details
Description
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.
A stack-based buffer overflow vulnerability has been identified in GnuPG versions prior to 2.5.17, specifically within the tpm2daemon component. This issue arises when the PKDECRYPT command is processed for TPM-backed RSA and ECC keys. The vulnerability allows a local attacker with access to the daemon's Assuan socket to send oversized ciphertext, leading to memory corruption. This exploitation can cause the daemon to crash and potentially allow arbitrary code execution. The vulnerability is introduced by inadequate validation of ciphertext length before it is copied into fixed-size buffers, particularly during decryption operations.
Users are advised to update GnuPG to version 2.5.17 or later. For Gpg4win users, version 5.0.1 should be installed. If an immediate update is not possible, the gpgsm or gpgsm.exe binary can be removed to prevent remote exploitation of the vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 27, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://access.redhat.com/errata/RHSA-2026:2719 | redhat-SADP | |
| https://access.redhat.com/errata/RHSA-2026:2753 | redhat-SADP | |
| https://access.redhat.com/security/cve/CVE-2026-24882 | redhat-SADP | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2433464 | redhat-SADP | |
| https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-24882.json | redhat-SADP | |
| https://dev.gnupg.org/T8045 | [email protected] | ExploitProduct |
| https://www.openwall.com/lists/oss-security/2026/01/27/8 | [email protected] | Mailing ListThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-121 | Stack-based Buffer Overflow | redhat-SADP |
| CWE-121 | Stack-based Buffer Overflow | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| gnupg gnupg | >= 2.5.13, < 2.5.17 |
CPE
Remediation
| |
| gpg4win gpg4win | >= 5.0.0, < 5.0.1 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 15, 2026 | CVE Modified | redhat-SADP |
| Jun 30, 2026 | CVE Modified | redhat-SADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 6, 2026 | Initial Analysis | [email protected] |
| Jan 27, 2026 | New CVE Received | [email protected] |