CVE-2018-5158

firefox: The PDF viewer does not sufficiently sanitize PostScript calculator functions, allowing malicious JavaScript to be in...

CVE-2018-5158 is fixed in 4 products on 1 platform, first by firefox 60.0+build2-0ubuntu1, released May 10, 2018. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
n/a
Medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.1029
95th percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
firefox · Ubuntu 18.04.6 LTS (bionic) 60.0+build2-0ubuntu1 firefox 60.0+build2-0ubuntu1 May 10, 2018
firefox-globalmenu · Ubuntu 18.04.6 LTS (bionic) 60.0+build2-0ubuntu1 firefox-globalmenu 60.0+build2-0ubuntu1 May 10, 2018
firefox-mozsymbols · Ubuntu 18.04.6 LTS (bionic) 60.0+build2-0ubuntu1 firefox-mozsymbols 60.0+build2-0ubuntu1 May 10, 2018
firefox-testsuite · Ubuntu 18.04.6 LTS (bionic) 60.0+build2-0ubuntu1 firefox-testsuite 60.0+build2-0ubuntu1 May 10, 2018