Live threats

All CVEs / Debian

CVE-2018-5158Debian Linux

High 8.8 No auth neededHigh EPSS

Priority
69
CVSS 3.0
8.8
EPSS
10.1%
probability of exploitation in 30 days · percentile 96
Auth required
No
Published
Jun 11, 2018
Updated
Jun 17, 2026
Category
Operating system · Linux
Weakness (CWE)
CWE-94
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

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

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm pdfjs-dist ≥ 2.0.0 < 2.0.550 2.0.550 npm install pdfjs-dist@2.0.550
npm pdfjs-dist < 1.10.100 1.10.100 npm install pdfjs-dist@1.10.100

Per OSV / GitHub Advisories (GHSA-7jg2-jgv3-fmr4). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
debiandebian_linux7.0
debiandebian_linux8.0
debiandebian_linux9.0
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
mozillafirefox< 52.8.0
mozillafirefox< 60.0
canonicalubuntu_linux14.04
canonicalubuntu_linux16.04
canonicalubuntu_linux17.10
canonicalubuntu_linux18.04

Official sources

References

Links published by the sources. Open them with care.