Live threats

All CVEs / Redhat

CVE-2018-12020Redhat Enterprise Linux Desktop

High 7.5 No auth needed

Priority
61
CVSS 3.1
7.5
EPSS
8.2%
probability of exploitation in 30 days · percentile 96
Auth required
No
Published
Jun 8, 2018
Updated
Jun 17, 2026
Category
Operating system · Linux
Weakness (CWE)
CWE-706
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Enterprise Linux Desktop.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
redhatenterprise_linux_desktop6.0
redhatenterprise_linux_desktop7.0
redhatenterprise_linux_server6.0
redhatenterprise_linux_server7.0
redhatenterprise_linux_server_aus7.6
redhatenterprise_linux_server_eus7.5
redhatenterprise_linux_server_eus7.6
redhatenterprise_linux_server_tus7.6
redhatenterprise_linux_workstation6.0
redhatenterprise_linux_workstation7.0
canonicalubuntu_linux12.04
canonicalubuntu_linux14.04
canonicalubuntu_linux16.04
canonicalubuntu_linux17.10
canonicalubuntu_linux18.04
canonicalubuntu_linux18.10
canonicalubuntu_linux19.04
debiandebian_linux8.0
debiandebian_linux9.0
gnupggnupg< 2.2.8

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.