8.8

CVE-2018-5158: canonical ubuntu_linux Code Injection

CVSS: 8.8v3.0HighModified
AliasesUBUNTU-CVE-2018-5158DEBIAN-CVE-2018-5158GHSA-7jg2-jgv3-fmr4
Published 11-06-2018Last modified 05-08-2024

Vulnerability summary

CVE-2018-5158 is a high (CVSS 8.8) Code Injection vulnerability in canonical ubuntu_linux. EPSS estimates a 10.24% chance of exploitation in the next 30 days, higher than 95.6% of scored vulnerabilities.

Overall risk
37/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.8/10
010
High · v3.0 (NVD)
EPSS score
10.24%
0%100%
Medium · -0.20 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 14 · Related 8

Timeline

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

Description

The PDF viewer does not sufficiently sanitize PostScript calculator functions, allowing malicious JavaScript to be injected through a crafted PDF file. This JavaScript can then be run with the permissions of the PDF viewer by its worker. This vulnerability affects Firefox ESR < 52.8 and Firefox < 60.

CVSS metrics

6 scores · 5 sources · 3 versions

EPSS trend

Probability

10.24%

Chance of exploitation in the next 30 days

Percentile

96%

Versus all other CVEs

30-day change

-0.20 pp

From 10.45% on 18-09-2026

18-09-202618-10-2026
EPSS score
10.24%

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

Redhat6 products
Debian2 products
Mozilla2 products
Canonical1 product
Npm1 product
  • pdfjs-dist≥ 2.0.0, < 2.0.550 | < 1.10.100
Ubuntu1 product
  • firefox< 60.0+build2-0ubuntu0.14.04.1 | < 60.0+build2-0ubuntu0.16.04.1 | < 60.0+build2-0ubuntu1
Wordpress1 product
  • algori-pdf-viewer≤ 1.0.7 (fixed in 1.0.8)

7 vendors · 14 products

References

24 links
Show all 24 references