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.
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
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mozilla

Published:

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

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

Link: CVE-2018-5158

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

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

Modified: 2024-11-21T04:08:14.037

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.