CVE-2018-5158: Canonical Ubuntu Linux
High severity, CVSS 8.8. EPSS: 10.4% chance of exploitation in the next 30 days.
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.
Affected products
- Canonical Ubuntu Linux: version 14.04 only; version 16.04 only; version 17.10 only; version 18.04 only
- Debian Debian Linux: version 7.0 only; version 8.0 only; version 9.0 only
- Mozilla Firefox: before 52.8.0 (fixed in 52.8.0); before 60.0 (fixed in 60.0)
- Red Hat Enterprise Linux Desktop: version 6.0 only; version 7.0 only
- Red Hat Enterprise Linux Server: version 6.0 only; version 7.0 only
- Red Hat Enterprise Linux Server Aus: version 7.6 only
- Red Hat Enterprise Linux Server Eus: version 7.5 only; version 7.6 only
- Red Hat Enterprise Linux Server Tus: version 7.6 only
- Red Hat Enterprise Linux Workstation: version 6.0 only; version 7.0 only
Published 2018-06-11. Last modified 2026-06-17.