Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2018-5158

31
FAUCET Score

CVE-2018-5158 describes a critical vulnerability in the PDF viewer component of Firefox ESR versions prior to 52.8 and Firefox versions prior to 60. It allows for arbitrary JavaScript injection and execution with PDF viewer permissions through specially crafted PDF files, due to insufficient sanitization of PostScript calculator functions. This vulnerability carries a high CVSS score of 8.8, indicating a severe risk with potential for high impact on confidentiality, integrity, and availability, requiring user interaction (opening a malicious PDF) for exploitation. While not listed in CISA's KEV catalog, its high FAUCET Risk Score of 97/100 and mentions in community discussions and media coverage suggest significant attention, though no public exploit code (Metasploit, Nuclei, ExploitDB) is currently available.

Impacted Technologies

VendorProductVersion(s)CPE
7.0CPE matchmatch criteria
cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*
8.0CPE matchmatch criteria
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
9.0CPE matchmatch criteria
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
6.0CPE matchmatch criteria
cpe:2.3:o:redhat:enterprise_linux_desktop:6.0:*:*:*:*:*:*:*
7.0CPE matchmatch criteria
cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.0

8.8HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
Exploitability Score
2.8
Impact Score
5.9
CvssVersion
3.0

Exploit Intelligence

EPSS Score
10.58%
Probability of exploitation in next 30 days
EPSS Percentile
95.3%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.1058 is in the 95th percentile among its peer group of 14,875 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.2 Bluesky, 0.1 Mastodon, and 0.2 GitHub mentions.

Media Mentions

The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.1 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (5)

npmpatch availablevia ghsa
Product: pdfjs-distFixed in: 2.0.550
npmpatch availablevia ghsa
Product: pdfjs-distFixed in: 1.10.100
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 6Fixed in: firefox-0:52.8.0-1.el6_9
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 7Fixed in: firefox-0:52.8.0-1.el7_5
View patch
mozillavendor investigatingvia nvd_reference
View patch

Vendor Advisories (2)

npmGHSA-7jg2-jgv3-fmr4high

Malicious PDF can inject JavaScript into PDF Viewer

May 14, 2022
redhatCVE-2018-5158Important

Mozilla: Malicious PDF can inject JavaScript into PDF Viewer

May 9, 2018

References

access.redhat.com / errata/RHSA-2018:1414
Third Party Advisory
access.redhat.com / errata/RHSA-2018:1415
Third Party Advisory
bugzilla.mozilla.org / show_bug.cgi
Issue TrackingVendor Advisory
lists.debian.org / debian-lts-announce/2018/05/msg00007.html
Mailing ListThird Party Advisory
security.gentoo.org / glsa/201810-01
Third Party Advisory
usn.ubuntu.com / 3645-1
Third Party Advisory
debian.org / security/2018/dsa-4199
Third Party Advisory
mozilla.org / security/advisories/mfsa2018-11
Vendor Advisory
mozilla.org / security/advisories/mfsa2018-12
Vendor Advisory
securityfocus.com / bid/104136
Third Party AdvisoryVDB Entry
securitytracker.com / id/1040896
Third Party AdvisoryVDB Entry