CVE-2018-5158

HIGH

Firefox ESR < 52.8-Firefox < 60 - Code Injection

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2018-5158. PoCs published by puzzle-tools.

Description

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.

Exploits (1)

References (11)

Core 11
Core References
Third Party Advisory vendor-advisory x_refsource_redhat
https://access.redhat.com/errata/RHSA-2018:1415
Third Party Advisory vendor-advisory x_refsource_gentoo
https://security.gentoo.org/glsa/201810-01
Third Party Advisory vendor-advisory x_refsource_redhat
https://access.redhat.com/errata/RHSA-2018:1414
Vendor Advisory x_refsource_confirm
https://www.mozilla.org/security/advisories/mfsa2018-11/
Third Party Advisory, VDB Entry vdb-entry x_refsource_sectrack
http://www.securitytracker.com/id/1040896
Third Party Advisory vendor-advisory x_refsource_debian
https://www.debian.org/security/2018/dsa-4199
Third Party Advisory vendor-advisory x_refsource_ubuntu
https://usn.ubuntu.com/3645-1/
Mailing List, Third Party Advisory mailing-list x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2018/05/msg00007.html
Issue Tracking, Vendor Advisory x_refsource_confirm
https://bugzilla.mozilla.org/show_bug.cgi?id=1452075
Vendor Advisory x_refsource_confirm
https://www.mozilla.org/security/advisories/mfsa2018-12/
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/104136

Scores

CVSS v3 8.8
EPSS 0.4303
EPSS Percentile 97.6%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Details

CWE
CWE-94
Status published
Products (19)
canonical/ubuntu_linux 14.04
canonical/ubuntu_linux 16.04
canonical/ubuntu_linux 17.10
canonical/ubuntu_linux 18.04
debian/debian_linux 7.0
debian/debian_linux 8.0
debian/debian_linux 9.0
mozilla/firefox < 52.8.0
npm/pdfjs-dist 2.0.0 - 2.0.550npm
redhat/enterprise_linux_desktop 6.0
... and 9 more
Published Jun 11, 2018
Tracked Since Feb 18, 2026