Vulnerability · CVE-2026-24881
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
Published Jan 27, 2026 · catalog updated Jul 15, 2026 · GnuPG GnuPG
Last checked Nov 2, 2026. A connected source was read within the last 7 days.
Check if you run it
No confirmed exploitation is on record for CVE-2026-24881. EPSS is 1.81%. Act only if a listed version of GnuPG GnuPG is installed.
Gaps on this record
- No vendor fix or required action is stored. Compare the linked advisory before you change production.
Same product and reporting
- CVE-2026-24882 · High
- CVE-2025-68973 · High
- CVE-2025-68972 · Medium
- Severity
- High8.1
- Known exploitation
- Not in CISA/VulnCheck KEV
- EPSS
- 1.81%
- Remediation
- Version ranges on file
- Affected products
- vendor GnuPG GnuPG 2.5.13 <2.5.17
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.
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- vendor GnuPG GnuPG 2.5.13 <2.5.172.5.13 <2.5.17
How to fix CVE-2026-24881
Upgrade
CVE-2026-24881 lists a fix boundary at 2.5.17. Compare the installed build with that boundary before you change production.
Version check
Seen in 2.5.13 <2.5.17
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
No confirmed exploitation is on record for CVE-2026-24881. EPSS is 1.81%. Act only if a listed version of GnuPG GnuPG is installed.
Which versions are affected?
Compare what you have installed with GnuPG GnuPG 2.5.13 <2.5.17 2.5.13 <2.5.17. Compare the installed version with the linked vendor advisory before you change production.
What should an analyst verify?
No weakness class is stored. EPSS 1.81%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.
Code
The project this record applies to. Exploit listings stay in References.
No public source repository is identified for this product.
Timeline
Detection, updates, and resolution for this record.
Jan 27, 2026 · EUVD
Detected
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.
Jul 15, 2026 · EUVD
Updated
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.
Sources
- FIRST EPSSExploitation probabilityCVE-2026-24881
30-day exploitation probability 1.81%
first.org - EUVDVulnerability recordEUVD-2026-4768
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 memor
euvd.enisa.europa.eu
References
Freshness
Last verified in this catalog Nov 2, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.
- FIRST EPSSNov 2, 2026
- EUVDNov 2, 2026