Skip to content
OpenAdvisories
High · 8.1 CVE-2026-24881 EUVD-2026-4768GHSA-5w36-x85h-pphm

In GnuPG before 2.5.17, a crafted CMS (S/MIME) EnvelopedData message carrying an oversized wrapped session key can cause a stack-based buff…

Published Jan 27, 2026 · Updated Jul 15, 2026 · Assigned by mitre

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.

Affected products

VendorProductAffectedFixed
GnuPG GnuPG 2.5.13 – < 2.5.17 2.5.17

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
openSUSE Tumbleweed gpg2 2.5.17-1.1 openSUSE-SU-2026:10112-1

Advisories 2

References