ADVISORIES

Vulnerability

CVE-2018-5158

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.

18 advisories report this vulnerability, across 7 ecosystems.

Advisories in Ubuntu

  • UBUNTU-CVE-2018-5158

    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…

    CVE-2018-5158 Ubuntu Updated 24 November 2026
  • USN-3645-1

    firefox vulnerabilities

    CVE-2018-5150CVE-2018-5151CVE-2018-5152CVE-2018-5153 Ubuntu Updated 24 November 2026

References