Paper/Archive/CVE-2026-24881

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

References

refopenwall.com/lists/oss-security/2026/01/27/8refdev.gnupg.org/T8044refaccess.redhat.com/security/cve/CVE-2026-24881refbugzilla.redhat.com/show_bug.cgi?id=2433480refsecurity.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-24881.json