CVE-2026-24881
GnuPG GnuPG — In GnuPG before 2.5.17, a crafted CMS (S/MIME) EnvelopedData message carrying an oversized wrapped session key can cause a stack-based bu…
Description · from the CVE record
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
ProductAffectedFixed inSource
GnuPG2.5.13 – < 2.5.172.5.17CNA
Red Hat Enterprise Linux 10see advisory–redhat-SADP
Red Hat Enterprise Linux 6see advisory–redhat-SADP
Red Hat Enterprise Linux 7see advisory–redhat-SADP
Red Hat Enterprise Linux 8see advisory–redhat-SADP
Red Hat Enterprise Linux 9see advisory–redhat-SADP
Scores by source
NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
mitre (CNA)8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
redhat-SADP (CNA)8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA ADPSSVCExploitation: none · Automatable: no · Technical impact: total