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.
Metrics
Affected Vendors & Products
Advisories
| Source | ID | Title |
|---|---|---|
Debian DLA |
DLA-1376-1 | firefox-esr security update |
Debian DSA |
DSA-4199-1 | firefox-esr security update |
Github GHSA |
GHSA-7jg2-jgv3-fmr4 | Malicious PDF can inject JavaScript into PDF Viewer |
Ubuntu USN |
USN-3645-1 | Firefox vulnerabilities |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Tue, 25 Nov 2025 18:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | ||
| Vendors & Products |
Mozilla firefox Esr
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: mozilla
Published:
Updated: 2024-08-05T05:26:47.026Z
Reserved: 2018-01-03T00:00:00
Link: CVE-2018-5158
No data.
Status : Modified
Published: 2018-06-11T21:29:15.280
Modified: 2025-11-25T17:50:16.803
Link: CVE-2018-5158
OpenCVE Enrichment
No data.
Debian DLA
Debian DSA
Github GHSA
Ubuntu USN