synced 14 MIN AGO
01 Record

CVE-2018-12020

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

UnratedPUBLISHEDCNA: mitre
CNA base scoreUnratedNo CNA CVSS vector

02 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

03 Exploitation and scoring

Exploitation
Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
SSVC decision
Not assessed by CISA
EPSS probability
8.24% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 94.8% of scored records. A rank, not a probability.
NVD base score
7.5 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD analysis status
Modified. NVD last modified this record on 2026-06-17.
Red Hat severity
Important. Red Hat's rating for its own products, not a CVSS rating.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2018-06-08 21:00Z8 YR AGO
Last updated
2024-08-05 08:24Z2 YR AGO
Reserved
2018-06-07
Assigning CNA
mitre
Record state
PUBLISHED
Severity
Not rated by the issuing CNA
CNA CVSS vector
Not published by the issuing CNA
Weaknesses
  • CWE-706Use of Incorrectly-Resolved Name or ReferenceClass
  • CWE-20Improper Input ValidationClass
Data version
5.1
Document digest
55634346f639fbd7bfd448a4bf6dc68aac6f7207b14b6efd66eaecfce2bc64bb

05 Affected products

VendorProductVersionsPlatforms
canonicalubuntu_linuxNot specified—
debiandebian_linuxNot specified—
gnupggnupgNot specified—
redhatenterprise_linuxNot specified—
redhatenterprise_linux_desktopNot specified—
redhatenterprise_linux_serverNot specified—
redhatenterprise_linux_server_ausNot specified—
redhatenterprise_linux_server_eusNot specified—
redhatenterprise_linux_server_tusNot specified—
redhatenterprise_linux_workstationNot specified—

06 References

07 Fixed in

Arch Linux

  • gnupg
    Fixed in 2.2.8-1

Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.

Debian 12

  • gnupg1
    Fixed in 1.4.22-5
  • gnupg2
    Fixed in 2.2.8-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 13

  • gnupg1
    Fixed in 1.4.22-5
  • gnupg2
    Fixed in 2.2.8-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 14

  • gnupg1
    Fixed in 1.4.22-5
  • gnupg2
    Fixed in 2.2.8-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 14.04 LTS

  • gnupg
    Fixed in 1.4.16-1ubuntu2.5
  • gnupg2
    Fixed in 2.0.22-3ubuntu1.4

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 16.04 LTS

  • enigmail
    No fix yet
  • gnupg
    Fixed in 1.4.20-1ubuntu3.2
  • gnupg2
    Fixed in 2.1.11-6ubuntu2.1

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 18.04 LTS

  • enigmail
    No fix yet
  • gnupg1
    No fix yet
  • gnupg2
    Fixed in 2.2.4-1ubuntu1.1
  • python-gnupg
    Fixed in 0.4.1-1ubuntu1.18.04.1

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 20.04 LTS

  • enigmail
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 22.04 LTS

  • enigmail
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 14.04 LTS

  • python-gnupg
    Fixed in 0.3.6-1ubuntu0.1~esm1
    Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 16.04 LTS

  • python-gnupg
    Fixed in 0.3.8-2ubuntu0.1~esm1
    Available with Ubuntu Pro: https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.