{"id":"CVE-2018-12020","published":"2018-06-08T21:00:00Z","modified":"2024-08-05T08:24:03Z","title":"mainproc.c in GnuPG before 2.2.8 mishandles the original filename during decryption and verification actions, which…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.08194,"percentile":0.95002,"provenance":"source"},"cwes":[],"references":[{"url":"https://usn.ubuntu.com/3675-2/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2180","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://lists.gnupg.org/pipermail/gnupg-announce/2018q2/000425.html","tags":["x_refsource_MISC"]},{"url":"http://openwall.com/lists/oss-security/2018/06/08/2","tags":["x_refsource_MISC"]},{"url":"https://www.debian.org/security/2018/dsa-4222","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2181","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://help.ecostruxureit.com/display/public/UADCE725/Security+fixes+in+StruxureWare+Data+Center+Expert+v7.6.0","tags":["x_refsource_CONFIRM"]},{"url":"https://www.debian.org/security/2018/dsa-4224","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://www.securityfocus.com/bid/104450","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://www.debian.org/security/2018/dsa-4223","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://usn.ubuntu.com/3675-3/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://www.securitytracker.com/id/1041051","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"https://usn.ubuntu.com/3675-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://dev.gnupg.org/T4012","tags":["x_refsource_MISC"]},{"url":"http://www.openwall.com/lists/oss-security/2019/04/30/4","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://seclists.org/fulldisclosure/2019/Apr/38","tags":["mailing-list","x_refsource_FULLDISC"]},{"url":"http://packetstormsecurity.com/files/152703/Johnny-You-Are-Fired.html","tags":["x_refsource_MISC"]},{"url":"https://usn.ubuntu.com/3964-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://github.com/RUB-NDS/Johnny-You-Are-Fired","tags":["x_refsource_MISC"]},{"url":"https://github.com/RUB-NDS/Johnny-You-Are-Fired/blob/master/paper/johnny-fired.pdf","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/12/msg00027.html","tags":["mailing-list","x_refsource_MLIST"]}],"priority":{"score":24.0,"factors":[{"name":"EPSS percentile","points":19.0},{"name":"Public exploit code","points":5.0}]},"summary":{"text":"The flaw is in mainproc.c in GnuPG versions before 2.2.8, where the original filename is mishandled during decryption and verification. A remote attacker who can supply OpenPGP data can make GnuPG emit spoofed status output on file descriptor 2, such as embedded line feeds paired with GOODSIG or VALIDSIG codes, affecting programs that read that output via the \"--status-fd 2\" option.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:56:30Z"},"euvd":{"id":"EUVD-2018-4011","exploited":false,"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/152703/Johnny-You-Are-Fired.html"]}