VDB
CVE-2018-5158
CVE-2018-5158
PUBLISHED
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.
EPSS 43.03% · 97.6th percentile
Risk Scores
EPSS Score
43.03%
97.6th percentile
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ubuntu:18.04:LTS | firefox | 0, 59.0.1+build1-0ubuntu1, * |
| Ubuntu:16.04:LTS | firefox | 44.0.2+build1-0ubuntu1, 45.0+build2-0ubuntu1, 45.0.1+build1-0ubuntu1 |
| Ubuntu:14.04:LTS | firefox | 53.0.3+build1-0ubuntu0.14.04.2, 54.0+build3-0ubuntu0.14.04.1, 55.0.2+build1-0ubuntu0.14.04.1 |
Exploit Intelligence
- a simple PDF file for CVE-2018-5158 (github-poc-repo)
- a simple PDF file for CVE-2018-5158 (github-poc-repo)
- a simple PDF file for CVE-2018-5158 (github-poc-repo)
- a simple PDF file for CVE-2018-5158 (github-poc-repo)
- a simple PDF file for CVE-2018-5158 (github-poc-repo)
- a simple PDF file for CVE-2018-5158 (github-poc-repo)
- a simple PDF file for CVE-2018-5158 (github-poc-repo)
- a simple PDF file for CVE-2018-5158 (github-poc-repo)
- a simple PDF file for CVE-2018-5158 (github-poc)
- a simple PDF file for CVE-2018-5158 (github-poc)
…and 15 more exploits
Timeline
- CVE Published
- May 23, 2020 PoC Published
- Apr 14, 2021 EPSS Score
- Feb 4, 2022 EPSS Score
- Nov 2, 2023 EPSS Score
- Jan 5, 2024 EPSS Score
- Mar 17, 2025 EPSS Score
- Mar 20, 2025 EPSS Score
- Mar 24, 2025 EPSS Score
- Mar 28, 2025 EPSS Score
- Mar 30, 2025 EPSS Score
- May 1, 2025 EPSS Score
References
- https://ubuntu.com/security/CVE-2018-5158 third-party-advisory
- https://www.mozilla.org/en-US/security/advisories/mfsa2018-11/#CVE-2018-5158 third-party-advisory
- https://ubuntu.com/security/notices/USN-3645-1 vendor-advisory
- https://www.cve.org/CVERecord?id=CVE-2018-5158 third-party-advisory