CVE-2026-24881: In GnuPG before 2.5.17, a crafted CMS (S/MIME) EnvelopedData message carrying an oversized wrapped session...
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.
Security readout for executives and security teams
Plain-English summary
A malicious S/MIME encrypted message can crash GnuPG’s gpg-agent when it handles an oversized wrapped session key. The public record says denial of service is easy, and memory corruption could allow remote code execution. Treat this as urgent where GnuPG processes untrusted CMS/S/MIME mail or content.
Executive priority
High priority for organizations using GnuPG in email security, automated decryption, or document-processing workflows. The main proven impact is service disruption, but the memory-corruption risk raises the urgency for patching exposed systems.
Technical view
CVE-2026-24881 is a stack-based buffer overflow in GnuPG gpg-agent during PKDECRYPT--kem=CMS handling of CMS EnvelopedData with an oversized wrapped session key. Sources describe GnuPG before 2.5.17 and identify GnuPG 2.5.13. CVSS 3.1 is 8.1 with network attack vector and high confidentiality, integrity, and availability impact.
Likely exposure
Exposure is most likely in systems using GnuPG or gpg-agent to decrypt CMS/S/MIME content from untrusted sources. The provided affected data specifically lists GnuPG 2.5.13, while the title states GnuPG before 2.5.17.
Exploitation context
The bundle does not show CISA KEV listing or confirmed active exploitation. It states denial of service is easy and memory corruption could lead to remote code execution. Attack complexity is rated high in the CVSS vector.
Researcher notes
Evidence supports CWE-121 stack overflow in gpg-agent PKDECRYPT--kem=CMS handling. The bundle does not provide public exploit details, confirmed exploitation, or complete downstream vendor impact. Validate exposure through version inventory and actual CMS/S/MIME processing paths.
Mitigation direction
Upgrade GnuPG to 2.5.17 or a vendor-fixed build where available.
Check Red Hat and GnuPG advisories for distribution-specific package status.
Reduce automated processing of untrusted S/MIME CMS messages until patched.
Monitor gpg-agent crashes or abnormal restarts on mail-processing hosts.
Prioritize systems that decrypt external S/MIME content.
Validation and detection
Inventory GnuPG versions on servers, desktops, and mail-processing systems.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-121: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
2CVSS vectors
5Timeline events
2ADP providers
6Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total
CVSS vector scores
2 official scores
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-121 · source CWE mapping
Stack-based Buffer Overflow
Stack-based Buffer Overflow represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.