← Vulnerability feed

Vulnerability record · CVE-2018-12020 · published 8 June 2018

CVE-2018-12020: Redhat enterprise linux desktop vulnerability

Redhat · Enterprise Linux Desktop

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.

7.5 CVSS 3.1 High EPSS 8.5% · top 5.1% CWE-706 · CWE-706
7.5CVSS 3.1 base score, v2 5.0
8.5%EPSS exploitation probability, 30 days
NoNot in CISA KEV
9Affected product versions listed by NVD
42References
17 Jun 2026Last modified by NVD

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Affected products

9 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://openwall.com/lists/oss-security/2018/06/08/2 Mailing ListThird Party Advisory
http://packetstormsecurity.com/files/152703/Johnny-You-Are-Fired.html Third Party AdvisoryVDB Entry
http://seclists.org/fulldisclosure/2019/Apr/38 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2019/04/30/4 Mailing ListThird Party Advisory
http://www.securityfocus.com/bid/104450 Broken Link
http://www.securitytracker.com/id/1041051 Broken Link
https://access.redhat.com/errata/RHSA-2018:2180 Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:2181 Third Party Advisory
https://dev.gnupg.org/T4012 PatchVendor Advisory
https://github.com/RUB-NDS/Johnny-You-Are-Fired Technical DescriptionThird Party Advisory
https://github.com/RUB-NDS/Johnny-You-Are-Fired/blob/master/paper/johnny-fired.pdf Technical DescriptionThird Party Advisory
https://help.ecostruxureit.com/display/public/UADCE725/Security+fixes+in+StruxureWare+Data+Center+Expert+v7.6.0 Third Party Advisory
https://lists.debian.org/debian-lts-announce/2021/12/msg00027.html Mailing ListThird Party Advisory
https://lists.gnupg.org/pipermail/gnupg-announce/2018q2/000425.html Mailing ListVendor Advisory
https://usn.ubuntu.com/3675-1/ Third Party Advisory
https://usn.ubuntu.com/3675-2/ Third Party Advisory
https://usn.ubuntu.com/3675-3/ Third Party Advisory
https://usn.ubuntu.com/3964-1/ Third Party Advisory
https://www.debian.org/security/2018/dsa-4222 Third Party Advisory
https://www.debian.org/security/2018/dsa-4223 Third Party Advisory
https://www.debian.org/security/2018/dsa-4224 Third Party Advisory
http://openwall.com/lists/oss-security/2018/06/08/2 Mailing ListThird Party Advisory
http://packetstormsecurity.com/files/152703/Johnny-You-Are-Fired.html Third Party AdvisoryVDB Entry
http://seclists.org/fulldisclosure/2019/Apr/38 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2019/04/30/4 Mailing ListThird Party Advisory
http://www.securityfocus.com/bid/104450 Broken Link
http://www.securitytracker.com/id/1041051 Broken Link
https://access.redhat.com/errata/RHSA-2018:2180 Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:2181 Third Party Advisory
https://dev.gnupg.org/T4012 PatchVendor Advisory
https://github.com/RUB-NDS/Johnny-You-Are-Fired Technical DescriptionThird Party Advisory
https://github.com/RUB-NDS/Johnny-You-Are-Fired/blob/master/paper/johnny-fired.pdf Technical DescriptionThird Party Advisory
https://help.ecostruxureit.com/display/public/UADCE725/Security+fixes+in+StruxureWare+Data+Center+Expert+v7.6.0 Third Party Advisory
https://lists.debian.org/debian-lts-announce/2021/12/msg00027.html Mailing ListThird Party Advisory
https://lists.gnupg.org/pipermail/gnupg-announce/2018q2/000425.html Mailing ListVendor Advisory
https://usn.ubuntu.com/3675-1/ Third Party Advisory
https://usn.ubuntu.com/3675-2/ Third Party Advisory
https://usn.ubuntu.com/3675-3/ Third Party Advisory
https://usn.ubuntu.com/3964-1/ Third Party Advisory
https://www.debian.org/security/2018/dsa-4222 Third Party Advisory

Track CVE-2018-12020 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2025-32433Erlang/OTP SSH server missing authentication allows remote code executionErlang/OTP SSH servers before OTP-27.3.3, OTP-26.2.5.11 and OTP-25.3.2.20 mishandle SSH protocol messages, letting an unauthenticated attacker execut…KEVEPSS 99%analysed10.0CVE-2025-24201Apple WebKit out-of-bounds write allows sandbox escapeCVE-2025-24201 is an out-of-bounds write in Apple's WebKit that was addressed with improved checks. Maliciously crafted web content may break out of …KEVEPSS 3.8%analysed10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2026-24061GNU Inetutils telnetd argument injection allows remote auth bypasstelnetd in GNU Inetutils through 2.7 fails to sanitize the USER environment variable, so a value such as "-f root" is passed as an argument to login …KEVEPSS 99%analysed9.8CVE-2025-39682Linux kernel TLS zero-length record handling flaw on rx_listThe Linux kernel TLS receive path mishandles zero-length records that arrive from the rx_list, breaking the assumption that a record type change cann…KEVEPSS 2.9%analysed9.8CVE-2025-24813Apache Tomcat Default Servlet path equivalence enables RCE and file disclosureApache Tomcat mishandles path equivalence for names containing an internal dot, letting a remote unauthenticated attacker write files through the Def…KEVEPSS 100%analysed9.8CVE-2024-9680Mozilla Firefox and Thunderbird use-after-free in Animation timelinesA use-after-free flaw in Animation timelines allows an attacker to execute code in the content process of Firefox and Thunderbird. Mozilla reports ex…KEVEPSS 23%analysed9.8CVE-2023-46604Apache ActiveMQ OpenWire deserialization remote code executionThe Java OpenWire protocol marshaller in Apache ActiveMQ deserializes untrusted data, letting an attacker manipulate serialized class types so the br…KEVEPSS 100%analysed

Source: NIST National Vulnerability Database (record CVE-2018-12020), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.