CVE-2018-12020
mainproc.c in GnuPG before 2.2.8 mishandles the original filename during decryption and verification actions, which allows remote attackers to spoof the output that GnuPG sends on file descriptor 2 to
02 Description
mainproc.c in GnuPG before 2.2.8 mishandles the original filename during decryption and verification actions, which allows remote attackers to spoof the output that GnuPG sends on file descriptor 2 to
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 8.24% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 94.8% of scored records. A rank, not a probability.
- NVD base score
- 7.5 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Important. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2018-06-08 21:00Z8 YR AGO
- Last updated
- 2024-08-05 08:24Z2 YR AGO
- Reserved
- 2018-06-07
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- Data version
- 5.1
- Document digest
- 55634346f639fbd7bfd448a4bf6dc68aac6f7207b14b6efd66eaecfce2bc64bb
05 Affected products
06 References
- usn.ubuntu.comUSN-3675-2https://usn.ubuntu.com/3675-2/
- access.redhat.comRHSA-2018:2180https://access.redhat.com/errata/RHSA-2018:2180
- lists.gnupg.orghttps://lists.gnupg.org/pipermail/gnupg-announce/2018q2/000425.html
- openwall.comhttp://openwall.com/lists/oss-security/2018/06/08/2
- www.debian.orgDSA-4222https://www.debian.org/security/2018/dsa-4222
- access.redhat.comRHSA-2018:2181https://access.redhat.com/errata/RHSA-2018:2181
- help.ecostruxureit.comhttps://help.ecostruxureit.com/display/public/UADCE725/Security+fixes+in+StruxureWare+Data+Center+Expert+v7.6.0
- www.debian.orgDSA-4224https://www.debian.org/security/2018/dsa-4224
- www.securityfocus.com104450http://www.securityfocus.com/bid/104450
- www.debian.orgDSA-4223https://www.debian.org/security/2018/dsa-4223
- usn.ubuntu.comUSN-3675-3https://usn.ubuntu.com/3675-3/
- www.securitytracker.com1041051http://www.securitytracker.com/id/1041051
- usn.ubuntu.comUSN-3675-1https://usn.ubuntu.com/3675-1/
- dev.gnupg.orghttps://dev.gnupg.org/T4012
- www.openwall.com[oss-security] 20190430 Spoofing OpenPGP and S/MIME Signatures in Emails (multiple clients)http://www.openwall.com/lists/oss-security/2019/04/30/4
- seclists.org20190430 OpenPGP and S/MIME signature forgery attacks in multiple email clientshttp://seclists.org/fulldisclosure/2019/Apr/38
- packetstormsecurity.comhttp://packetstormsecurity.com/files/152703/Johnny-You-Are-Fired.html
- usn.ubuntu.comUSN-3964-1https://usn.ubuntu.com/3964-1/
- github.comhttps://github.com/RUB-NDS/Johnny-You-Are-Fired
- github.comhttps://github.com/RUB-NDS/Johnny-You-Are-Fired/blob/master/paper/johnny-fired.pdf
- lists.debian.org[debian-lts-announce] 20211228 [SECURITY] [DLA 2862-1] python-gnupg security updatehttps://lists.debian.org/debian-lts-announce/2021/12/msg00027.html
07 Fixed in
Arch Linux
- gnupg Fixed in 2.2.8-1
Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.
Debian 12
- gnupg1 Fixed in 1.4.22-5
- gnupg2 Fixed in 2.2.8-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- gnupg1 Fixed in 1.4.22-5
- gnupg2 Fixed in 2.2.8-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- gnupg1 Fixed in 1.4.22-5
- gnupg2 Fixed in 2.2.8-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 14.04 LTS
- gnupg Fixed in 1.4.16-1ubuntu2.5
- gnupg2 Fixed in 2.0.22-3ubuntu1.4
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- enigmail No fix yet
- gnupg Fixed in 1.4.20-1ubuntu3.2
- gnupg2 Fixed in 2.1.11-6ubuntu2.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- enigmail No fix yet
- gnupg1 No fix yet
- gnupg2 Fixed in 2.2.4-1ubuntu1.1
- python-gnupg Fixed in 0.4.1-1ubuntu1.18.04.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- enigmail No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- enigmail No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 14.04 LTS
- python-gnupg Fixed in 0.3.6-1ubuntu0.1~esm1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 16.04 LTS
- python-gnupg Fixed in 0.3.8-2ubuntu0.1~esm1Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.