CVE-2018-5686

NameCVE-2018-5686
DescriptionIn MuPDF 1.12.0, there is an infinite loop vulnerability and application hang in the pdf_parse_array function (pdf/pdf-parse.c) because EOF is not considered. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted pdf file.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDSA-4334-1
NVD severitymedium (attack range: remote)
Debian Bugs887130

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
mupdf (PTS)jessie (security), jessie1.5-1+deb8u4vulnerable
stretch1.9a+ds1-4+deb9u3vulnerable
stretch (security)1.9a+ds1-4+deb9u4fixed
buster, sid1.14.0+ds1-2fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
mupdfsource(unstable)1.13.0+ds1-1medium887130
mupdfsourcestretch1.9a+ds1-4+deb9u4mediumDSA-4334-1

Notes

[jessie] - mupdf <no-dsa> (Minor issue)
[wheezy] - mupdf <no-dsa> (Minor issue)
https://bugs.ghostscript.com/show_bug.cgi?id=698860
pdf_parse_array function in source/pdf/pdf-parse.c does not consider
EOF.
Fixed by: http://git.ghostscript.com/?p=mupdf.git;h=b70eb93f6936c03d8af52040bbca4d4a7db39079

Search for package or bug name: Reporting problems