In GnuPG before 2.5.17, a crafted CMS (S/MIME) EnvelopedData message carrying an oversized wrapped session key can cause a stack-based buffer overflow in gpg-agent during PKDECRYPT--kem=CMS handling. This can easily be leveraged for denial of service; however, there is also memory corruption that could lead to remote code execution.
History

Tue, 27 Jan 2026 20:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 27 Jan 2026 19:00:00 +0000

Type Values Removed Values Added
Description In GnuPG before 2.5.17, a crafted CMS (S/MIME) EnvelopedData message carrying an oversized wrapped session key can cause a stack-based buffer overflow in gpg-agent during PKDECRYPT--kem=CMS handling. This can easily be leveraged for denial of service; however, there is also memory corruption that could lead to remote code execution.
First Time appeared Gnupg
Gnupg gnupg
Weaknesses CWE-121
CPEs cpe:2.3:a:gnupg:gnupg:*:*:*:*:*:*:*:*
Vendors & Products Gnupg
Gnupg gnupg
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-01-27T20:08:54.449Z

Reserved: 2026-01-27T18:36:56.490Z

Link: CVE-2026-24881

cve-icon Vulnrichment

Updated: 2026-01-27T20:08:50.431Z

cve-icon NVD

Status : Received

Published: 2026-01-27T19:16:16.517

Modified: 2026-01-27T19:16:16.517

Link: CVE-2026-24881

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.