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": [
{
"database_specific": {
"status": "Modified"
},
"id": "CVE-2026-24881",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-24881",
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-24881",
"modified": "2026-07-15T02:18:52.100Z",
"imported": "2026-07-17T22:08:49.867Z",
"published": "2026-01-27T19:16:16.517Z"
},
{
"id": "GHSA-5w36-x85h-pphm",
"url": "https://api.github.com/advisories/GHSA-5w36-x85h-pphm",
"html_url": "https://github.com/advisories/GHSA-5w36-x85h-pphm",
"modified": "2026-06-30T03:36:31Z",
"imported": "2026-07-17T22:08:50.036Z",
"published": "2026-01-27T21:31:49Z"
},
{
"id": "EUVD-2026-4768",
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-4768",
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-4768",
"modified": "2026-06-30T12:06:35Z",
"imported": "2026-07-17T22:08:58.738Z",
"published": "2026-01-27T18:36:56Z"
}
],
"license": "CC-BY-4.0"
}