7.5

CVE-2018-12020: canonical ubuntu_linux

CVSS: 7.5v3.1HighModified
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.25% chance of exploitation in the next 30 days, higher than 94.8% of scored vulnerabilities.

Overall risk
32/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
8.25%
0%100%
Low · -0.30 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known 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.25%

Chance of exploitation in the next 30 days

Percentile

95%

Versus all other CVEs

30-day change

-0.30 pp

From 8.55% on 19-09-2026

19-09-202619-10-2026
EPSS score
8.25%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

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)
  • gnupg2< 2.2.4-1ubuntu1.1 | < 2.0.22-3ubuntu1.4 | < 2.1.11-6ubuntu2.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

49 links
Show all 49 references