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 Debian

  • DEBIAN-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 Debian Updated 23 October 2026
  • DLA-1376-1

    firefox-esr - security update

    CVE-2018-5150CVE-2018-5154CVE-2018-5155CVE-2018-5157 Debian Updated 20 November 2026
  • DSA-4199-1

    firefox-esr - security update

    CVE-2018-5150CVE-2018-5154CVE-2018-5155CVE-2018-5157 Debian Updated 20 November 2026

References