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

  • 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
  • ELSA-2018-1414

    ELSA-2018-1414: firefox security update (CRITICAL)

    Critical CVE-2018-5150CVE-2018-5154CVE-2018-5155CVE-2018-5157 Oracle Linux Updated 14 May 2018
  • ELSA-2018-1415

    ELSA-2018-1415: firefox security update (CRITICAL)

    Critical CVE-2018-5150CVE-2018-5154CVE-2018-5155CVE-2018-5157 Oracle Linux Updated 14 May 2018
  • GHSA-7jg2-jgv3-fmr4

    Malicious PDF can inject JavaScript into PDF Viewer

    High CVE-2018-5158 npm Updated 28 May 2024
  • RHSA-2018:1414

    Red Hat Security Advisory: firefox security update

    CVE-2018-5150CVE-2018-5154CVE-2018-5155CVE-2018-5157 Red Hat Updated 23 November 2026
  • RHSA-2018:1415

    Red Hat Security Advisory: firefox security update

    CVE-2018-5150CVE-2018-5154CVE-2018-5155CVE-2018-5157 Red Hat Updated 23 November 2026
  • SUSE-SU-2018:1319-1

    Security update for MozillaFirefox

    CVE-2018-5150CVE-2018-5154CVE-2018-5155CVE-2018-5157 SUSE Updated 4 February 2026
  • SUSE-SU-2018:1334-1

    Security update for MozillaFirefox

    CVE-2018-5150CVE-2018-5154CVE-2018-5155CVE-2018-5157 SUSE Updated 4 February 2026
  • SUSE-SU-2018:1334-2

    Security update for MozillaFirefox

    CVE-2018-5150CVE-2018-5154CVE-2018-5155CVE-2018-5157 SUSE Updated 4 February 2026
  • SUSE-SU-2018:2298-1

    Security update for MozillaFirefox

    CVE-2018-12359CVE-2018-12360CVE-2018-12362CVE-2018-12363 SUSE Updated 4 February 2026
  • SUSE-SU-2019:2872-1

    Security update for MozillaFirefox

    CVE-2016-2830CVE-2016-5289CVE-2016-5292CVE-2016-9063 SUSE Updated 4 February 2026
  • SUSEVEX-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…

    Important CVE-2018-5158 SUSE Updated 2 November 2026
  • 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 22 April 2026
  • USN-3645-1

    firefox vulnerabilities

    CVE-2018-5150CVE-2018-5151CVE-2018-5152CVE-2018-5153 Ubuntu Updated 22 April 2026
  • openSUSE-SU-2024:10600-1

    MozillaFirefox-92.0-1.2 on GA media

    Known exploited CVE-2006-6077CVE-2007-0008CVE-2007-0009CVE-2007-0078 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:14572-1

    firefox-esr-128.5.1-1.1 on GA media

    Known exploited CVE-2006-6077CVE-2007-0008CVE-2007-0009CVE-2007-0078 openSUSE Updated 4 February 2026

References