CVE-2018-12020mainproc.c in GnuPG before 2.2.8 mishandles the original filename during decryption and verification actions, which allows remote…
- 7.5HighCVSS base score
- 8.2%Exploitation in 30 daysEPSS · top 5.0% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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 other programs that use the "--status-fd 2" option. For example, the OpenPGP data might represent an original filename that contains line feed characters in conjunction with GOODSIG or VALIDSIG status codes.
Timeline
ID reserved
By mitre
- 1 day later
· 1 day later
Published
- 6 years later
· 6 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
- EPSS (exploitation in 30 days)
- 8.2% · top 5.0% of all CVEs (12 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Affected products
n/a
- affected n/a
References
References21
- USN-3675-2 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- RHSA-2018:2180 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://lists.gnupg.org/pipermail/gnupg-announce/2018q2/000425.html (opens in a new tab)x_refsource_MISCx_transferred
- http://openwall.com/lists/oss-security/2018/06/08/2 (opens in a new tab)x_refsource_MISCx_transferred
- DSA-4222 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- RHSA-2018:2181 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://help.ecostruxureit.com/display/public/UADCE725/Security+fixes+in+StruxureWare+Data+Center+Expert+v7.6.0 (opens in a new tab)x_refsource_CONFIRMx_transferred
- DSA-4224 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- 104450 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- DSA-4223 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- USN-3675-3 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- 1041051 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- USN-3675-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- https://dev.gnupg.org/T4012 (opens in a new tab)x_refsource_MISCx_transferred
- [oss-security] 20190430 Spoofing OpenPGP and S/MIME Signatures in Emails (multiple clients) (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- 20190430 OpenPGP and S/MIME signature forgery attacks in multiple email clients (opens in a new tab)mailing-listx_refsource_FULLDISCx_transferred
- http://packetstormsecurity.com/files/152703/Johnny-You-Are-Fired.html (opens in a new tab)x_refsource_MISCx_transferred
- USN-3964-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- https://github.com/RUB-NDS/Johnny-You-Are-Fired (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/RUB-NDS/Johnny-You-Are-Fired/blob/master/paper/johnny-fired.pdf (opens in a new tab)x_refsource_MISCx_transferred
- [debian-lts-announce] 20211228 [SECURITY] [DLA 2862-1] python-gnupg security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2018-4011 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2018-12020)Record last updated .