GCVE-1-2026-0008: gnupg gpg-agent Classic Buffer Overflow
Vulnerability summary
GCVE-1-2026-0008 is a critical (CVSS 10.0) Classic Buffer Overflow vulnerability in gnupg gpg-agent.
Timeline
- 28-01-2026PublishedVulnerability first disclosed.
Description
A crafted CMS (S/MIME) EnvelopedData message carrying an oversized wrapped session key (AES Key Wrap ciphertext) can cause a stack buffer overflow in gpg-agent during PKDECRYPT --kem=CMS handling. The root cause is an unbounded session key length derived from attacker-controlled ciphertext and used as the AES Key Wrap output length when decrypting into a fixed-size stack buffer. libgcrypt’s AES-KW unwrap copies attacker-controlled bytes into the caller-provided output buffer before performing integrity checks, so the stack overflow occurs even if later CMS or key-wrap integrity validation fails.
CVSS metrics
1 score · 1 source · 1 versionEPSS trend
No EPSS score has been published for this record yet.
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Gnupg1 product
- gpg-agent≥ 2.5.13, < 2.5.17
1 vendor · 1 product
References
1 links- dev.gnupg.org/T8044Issue Tracking