Home/CVE/The PDF viewer does not sufficiently sanitize PostScript calculator functions, allowing malicious JavaScript to be injec
CVE

CVE-2018-5158

The PDF viewer does not sufficiently sanitize PostScript calculator functions, allowing malicious JavaScript to be injec

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.

HIGH · CVSS 8.8 EPSS 0.43031
Schedule remediation
  • EPSS ≥ 0.10 - elevated exploitation probability
  • EPSS percentile: top 2% of all CVEs by exploitation likelihood
  • CVSS base score ≥ 7.0
Sigma rules1 YARA rules0

Affected Products & Versions

10

Affected Packages

1
Language-ecosystem packages (from OSV) tied to this CVE, with the version that fixes it - the dependency-level detail NVD doesn’t carry.
npm pdfjs-dist HIGH fixed in 2.0.550

Sigma Hunt Rules

1
Exact rules name this CVE ID. Product rules name an affected product in their title. Related rules cover techniques used by actors who exploited this CVE. Showing the most relevant matches; the complete related set is on the full drill-down.
producthighSQLite Firefox Profile Data DB Access

Scoring & Timeline

8.8
HIGH · CVSS v3.0 · security@mozilla.org
View on NVD
Attack Vector
Network Adjacent Local Physical
Attack Complexity
Low High
Privileges Required
None Low High
User Interaction
None Required
Scope
Unchanged Changed
Confidentiality
None Low High
Integrity
None Low High
Availability
None Low High
Published to NVD11 Jun 2018 · 09:29 PM
CVSS VectorCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Vendor Advisories

11
suse-csafopenSUSE-SU-2024:14572-1
suse-csafopenSUSE-SU-2024:10600-1
suse-csafSUSE-SU-2019:2872-1
suse-csafSUSE-SU-2018:1334-2
suse-csafSUSE-SU-2018:2298-1
🔗

References & Sources

9
Source URLs (vendor pages, mailing lists, write-ups). Exploit/PoC links are in their own section above to avoid duplication.
http://www.securityfocus.com/bid/104136Third Party AdvisoryVDB Entry
http://www.securitytracker.com/id/1040896Third Party AdvisoryVDB Entry
https://usn.ubuntu.com/3645-1/Third Party Advisory
Intelligence Graph · click any node to traverse
CVETechnique ActorTool Family
drag to reposition · click any node to traverse · button top-right enlarges
External lookups - second-class, for what we don’t hold ourselves
Vulnerabilities
CISA KEV catalog
CWE weaknesses
CAPEC attack patterns
Package vulnerabilities
Threat intelligence
Threat actors
Tools & malware
ATT&CK techniques
IOCs
Detection & defense
Sigma rules
YARA rules
Atomic Red Team tests
D3FEND countermeasures
Compliance
NIST 800-53
ISO 27001:2022
SOC 2 TSC
PCI-DSS v4.0
CIS Controls v8.1
About
All capabilities
Live statistics
Data sources
Privacy policy
Terms of service
threatengine.sh  ·  Open-source threat intelligence platform  ·  100+ authoritative sources  ·  Every fact traces to its origin