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, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-1838-1, DSA-4334-1
Debian Bugs887130

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
mupdf (PTS)bullseye1.17.0+ds1-2fixed
bullseye (security)1.17.0+ds1-1.3~deb11u1fixed
bookworm1.21.1+ds2-1fixed
sid, trixie1.24.10+ds1-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
mupdfsourcejessie1.5-1+deb8u6DLA-1838-1
mupdfsourcestretch1.9a+ds1-4+deb9u4DSA-4334-1
mupdfsource(unstable)1.13.0+ds1-1887130

Notes

[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: https://git.ghostscript.com/?p=mupdf.git;h=b70eb93f6936c03d8af52040bbca4d4a7db39079

Search for package or bug name: Reporting problems