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.
Published: 2018-06-11
Score: 8.8 High
EPSS: 43.0% Moderate
KEV: No
Impact: n/a
Action: n/a
AI Analysis

No analysis available yet.

Remediation

No remediation available yet.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-1376-1 firefox-esr security update
Debian DSA Debian DSA DSA-4199-1 firefox-esr security update
Github GHSA Github GHSA GHSA-7jg2-jgv3-fmr4 Malicious PDF can inject JavaScript into PDF Viewer
Ubuntu USN Ubuntu USN USN-3645-1 Firefox vulnerabilities
History

Tue, 25 Nov 2025 18:00:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:mozilla:firefox_esr:*:*:*:*:*:*:*:*
Vendors & Products Mozilla firefox Esr

Subscriptions

Canonical Ubuntu Linux
Debian Debian Linux
Mozilla Firefox
Redhat Enterprise Linux Enterprise Linux Desktop Enterprise Linux Server Enterprise Linux Server Aus Enterprise Linux Server Eus Enterprise Linux Server Tus Enterprise Linux Workstation
cve-icon MITRE

Status: PUBLISHED

Assigner: mozilla

Published:

Updated: 2024-08-05T05:26:47.026Z

Reserved: 2018-01-03T00:00:00.000Z

Link: CVE-2018-5158

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2018-06-11T21:29:15.280

Modified: 2025-11-25T17:50:16.803

Link: CVE-2018-5158

cve-icon Redhat

Severity : Important

Publid Date: 2018-05-09T00:00:00Z

Links: CVE-2018-5158 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses