Stack-based Buffer Overflow The advisory has been revoked - it doesn't affect any version of package gnupg2  (opens in a new tab)


Threat Intelligence

EPSS
1.68% (76th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CENTOS9-GNUPG2-15127567
  • published28 Jan 2026
  • disclosed27 Jan 2026

Introduced: 27 Jan 2026

CVE-2026-24881  (opens in a new tab)
CWE-121  (opens in a new tab)

Amendment

The Centos security team deemed this advisory irrelevant for Centos:9.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gnupg2 package and not the gnupg2 package as distributed by Centos.

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.