7.5

CVE-2018-12020: canonical ubuntu_linux

Modified
AliasesALPINE-CVE-2018-12020MGASA-2018-0292SUSE-SU-2018:1696-1
Published 08-06-2018Last modified 05-08-2024

Vulnerability summary

CVE-2018-12020 is a high (CVSS 7.5) vulnerability in canonical ubuntu_linux. EPSS estimates a 8.19% chance of exploitation in the next 30 days, higher than 95% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 7.5 (NVD); no exploitation reported by the 5 checked sources; EPSS 8% (FIRST, 04-12-2026)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
8.19%
0%100%
Low · -0.05 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 12 · Related 10

Timeline

  1. 08-06-2018
    PublishedVulnerability first disclosed.
  2. 05-08-2024
    Last modifiedVulnerability information updated.

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 metrics

8 scores · 7 sources · 3 versions

EPSS trend

Probability

8.19%

Chance of exploitation in the next 30 days

Percentile

95%

Versus all other CVEs

30-day change

Decrease -0.05 pp

From 8.25% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Suse17 products
  • gpg2&distro=SUSE Enterprise Storage 4< 2.0.24-9.3.1
  • gpg2&distro=SUSE Linux Enterprise Desktop 12 SP3< 2.0.24-9.3.1
  • gpg2&distro=SUSE Linux Enterprise Module for Basesystem 15< 2.2.5-4.3.1
  • gpg2&distro=SUSE Linux Enterprise Point of Sale 11 SP3< 2.0.9-25.33.42.3.1
  • gpg2&distro=SUSE Linux Enterprise Server 11 SP3-LTSS< 2.0.9-25.33.42.3.1
Redhat9 products
Mageia6 products
  • gnupg< 1.4.19-1.4.mga5
  • gnupg2< 2.0.27-1.2.mga5
  • python-gnupg< 0.3.6-4.1.mga5
  • gnupg< 1.4.23-1.mga6
  • gnupg2< 2.1.21-3.1.mga6
Ubuntu5 products
  • enigmailAll versions (No fix recorded)
  • gnupg< 1.4.16-1ubuntu2.5 | < 1.4.20-1ubuntu3.2
  • gnupg1All versions (No fix recorded) | < 1.4.22-3ubuntu2+esm1
  • gnupg2< 2.0.22-3ubuntu1.4 | < 2.1.11-6ubuntu2.1 | < 2.2.4-1ubuntu1.1
  • python-gnupg< 0.3.6-1ubuntu0.1~esm1 | < 0.3.8-2ubuntu0.1~esm1 | < 0.4.1-1ubuntu1.18.04.1
Debian4 products
  • gnupg< 1.4.18-7+deb8u5
  • gnupg1< 1.4.22-5 | < 1.4.21-4+deb9u1
  • gnupg2< 2.2.8-1 | < 2.0.26-6+deb8u2 | < 2.1.18-8~deb9u2
  • debian_linuxEOL8.0 | 9.0
Alpine2 products
  • gnupg< 2.2.8-r0 | < 2.1.12-r1 | < 2.1.15-r1 | < 2.2.3-r1
  • gnupg1< 1.4.22-r1
Canonical1 product
  • ubuntu_linuxEOL12.04 | 14.04 | 16.04 | 17.10 | 18.04 | 18.10 | 19.04
Chainguard1 product
  • gnupgAll versions (No fix recorded)
Gnupg1 product
Wolfi1 product
  • gnupgAll versions (No fix recorded)

10 vendors · 47 products

References

50 links
Show all 50 references