Severity: High (CVSS 3.1 8.1) · Exploitation: No known exploitation · Fix available: Partial
A double-free vulnerability exists in GPGME, the standard library that applications use to interact with GnuPG. When processing a crafted OpenPGP key with an unusually long user ID, an early return following memory reallocation can leave internal buffer pointers referencing already-freed memory; when the context is later cleaned up, the same memory is freed a second time. A remote attacker who can supply a malicious OpenPGP key could exploit this condition to corrupt process memory, potentially achieving arbitrary code execution or causing a denial-of-service crash. The flaw was reported by Johan Carlsson (joaxcar) and disclosed on November 20, 2026; GPGME 2.3.1 is available as the upstream fix, though fixed versions for several Red Hat products have not yet been published.
The root cause is a CWE-415 (double free) in the read_status() function and a related key-listing path. Both functions begin with a fixed-size buffer and reallocate it when incoming data exceeds the original allocation. During reallocation the new pointer is used immediately, but the pointer stored in the context object is only updated upon successful completion. If an early return occurs — for example when processing an unusually long user ID field — the context retains a stale pointer to freed memory. When the context is subsequently destroyed, the allocator frees that region a second time. The CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H) indicates the attack is network-reachable, requires no authentication or user interaction, but carries high attack complexity — meaning exploitation depends on specific timing or memory-layout conditions. Intervening allocations may prevent standard allocator checks from detecting the corruption, complicating detection.
There is no evidence of in-the-wild exploitation at the time of publication, and this CVE does not appear on the CISA Known Exploited Vulnerabilities catalog. No public proof-of-concept exploit code has been identified. Despite the absence of active exploitation, the high CVSS score, network-reachable attack vector, and wide deployment of GPGME across mail and signing software make prompt patching a priority.
gpgme-main package to 2.3.1-1.hum1 or later.rpm -q gpgme.Uptycs vulnerability management continuously inventories hosts, containers, and cloud workloads for affected GPGME versions, enabling security teams to identify and prioritize patching across their entire environment without manual asset enumeration. Uptycs Threat Research continues to monitor this vulnerability and will update this bulletin if exploitation activity or new vendor patches change the risk picture.