SecurityContext

CVE-2026-24881: GnuPG - Buffer Overflow

  • Cve: CVE-2026-24881
  • Name: GnuPG - Buffer Overflow
  • Description: 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.
  • Impact: Remote attackers can cause denial of service or execute arbitrary code remotely via crafted CMS messages.
  • Remediation: Update to version 2.5.17 or later.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: denial_of_service, remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.01813
  • Epss percentile: 0.79093
  • Assignee: [email protected]
  • Published at: 2026-01-27T19:16:16Z
  • Age in days: 301
  • Modified at: 2026-07-15T02:18:52Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 5
  • Products total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-24881
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-121Stack-based Buffer Overflow

Public exploits

UrlSourceAdded date
https://dev.gnupg.org/T8044nvd2026-01-27

References

Same in every row:

  • Source: nvd
UrlTags
https://dev.gnupg.org/T8044Exploit, Product
https://www.openwall.com/lists/oss-security/2026/01/27/8Mailing List, Third Party Advisory
https://access.redhat.com/security/cve/CVE-2026-24881
https://bugzilla.redhat.com/show_bug.cgi?id=2433480
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-24881.json

Products

ProductAffectedPlatform boundSourcesUrl
gnupg:gnupg>= 2.5.13, < 2.5.17nonvd/v1/products/gnupg/gnupg
gpg4win:gpg4win>= 5.0.0, < 5.0.1nonvd/v1/products/gpg4win/gpg4win

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2026-01-27
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts