Back to CVE records
High 7.5Published Jun 8, 2018

CVE-2018-12020mainproc.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 t…

Updated under an hour ago ()

Does this affect you?

It affects redhat enterprise_linux_desktop and 8 other products. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

Free: a daily email for up to 3 products and the weekly digest. No card, no password. By continuing you agree to the Terms and Privacy Policy.

CVSS
7.5 HIGH (v3.1, NVD)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness (CWE)
CWE-706
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
Not given
NVD analysis
Modified
Record last updated
Jun 16, 2026
First seen by InfoSec Signals
Nov 1, 2026

Affected products

Affected products
redhat enterprise_linux_desktop
redhat:enterprise_linux_desktop
6.0; 7.0
NVD
redhat enterprise_linux_server
redhat:enterprise_linux_server
6.0; 7.0
NVD
redhat enterprise_linux_server_aus
redhat:enterprise_linux_server_aus
7.6
NVD
redhat enterprise_linux_server_eus
redhat:enterprise_linux_server_eus
7.5; 7.6
NVD
redhat enterprise_linux_server_tus
redhat:enterprise_linux_server_tus
7.6
NVD
redhat enterprise_linux_workstation
redhat:enterprise_linux_workstation
6.0; 7.0
NVD
canonical ubuntu_linux
canonical:ubuntu_linux
12.04; 14.04; 16.04; 17.10; 18.04; 18.10; 19.04
NVD
debian debian_linux
debian:debian_linux
8.0; 9.0
NVD
gnupg gnupg
gnupg:gnupg
before 2.2.8
NVD

References

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Essential cookies only, unless you allow a Google ads cookie. See our .