CVE-2018-5158

NameCVE-2018-5158
DescriptionThe 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-1376-1, DSA-4199-1
Debian Bugs926482

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
firefox (PTS)sid133.0.3-1fixed
firefox-esr (PTS)bullseye115.14.0esr-1~deb11u1fixed
bullseye (security)128.5.0esr-1~deb11u1fixed
bookworm128.3.1esr-1~deb12u1fixed
bookworm (security)128.5.0esr-1~deb12u1fixed
trixie128.5.0esr-1fixed
sid128.5.1esr-1fixed
gitlab (PTS)sid16.8.4-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
firefoxsource(unstable)60.0-1
firefox-esrsourcewheezy52.8.0esr-1~deb7u1DLA-1376-1
firefox-esrsourcejessie52.8.0esr-1~deb8u1DSA-4199-1
firefox-esrsourcestretch52.8.0esr-1~deb9u1DSA-4199-1
firefox-esrsource(unstable)52.8.0esr-1
gitlabsource(unstable)11.8.6+dfsg-1926482

Notes

https://www.mozilla.org/en-US/security/advisories/mfsa2018-11/#CVE-2018-5158
https://www.mozilla.org/en-US/security/advisories/mfsa2018-12/#CVE-2018-5158
https://about.gitlab.com/2019/04/01/security-release-gitlab-11-dot-9-dot-4-released/

Search for package or bug name: Reporting problems