CVE-2026-118131CVE-2026-118131
GnuPG (version 2.5.21) for Windows contains a vulnerability where default Discretionary Access Control List (DACL) inheritance on the C:\ProgramData directory allows members of the BUILTIN\Users group to create arbitrary subdirectories under this path. An attacker with low-privilege access can create the expected GnuPG configuration directory and inject malicious configuration files consumed by GnuPG components. This can result in code execution within the security context of the victim user.
What to do
Red Hat has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | gnupg2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | gnupg2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | gnupg2 | Not affected vulnerable_code_not_present | ||
| Red Hat Enterprise Linux 10 | gnupg2 | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | gnupg2 | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | gnupg2-smime | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | gnupg2 | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | gnupg2-smime | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | gnupg2 | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | gnupg2-smime | Fix pending Affected | ||
| Red Hat Enterprise Linux 6 | gnupg2 | Fix pending Affected | ||
| Red Hat Enterprise Linux 6 | gnupg2-smime | Fix pending Affected |
What the vendor says
As published in the CVE record by certcc, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- GnuPG: affected: 2.5.21
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.