CVE-2016-6265

NameCVE-2016-6265
DescriptionUse-after-free vulnerability in the pdf_load_xref function in pdf/pdf-xref.c in MuPDF allows remote attackers to cause a denial of service (crash) via a crafted PDF file.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, GitHub code/issues, web search, more)
ReferencesDSA-3655-1
NVD severitymedium (attack range: remote)
Debian Bugs832031

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
mupdf (PTS)wheezy0.9-2+deb7u2fixed
wheezy (security)0.9-2+deb7u4fixed
jessie (security), jessie1.5-1+deb8u3fixed
stretch (security), stretch1.9a+ds1-4+deb9u2fixed
buster, sid1.11+ds1-2fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
mupdfsource(unstable)1.9a+ds1-1.1medium832031
mupdfsourcejessie1.5-1+deb8u1mediumDSA-3655-1
mupdfsourcewheezy(not affected)

Notes

[wheezy] - mupdf <not-affected> (vulnerable code not present, no segfault)
http://bugs.ghostscript.com/show_bug.cgi?id=696941
Fixed by: http://git.ghostscript.com/?p=mupdf.git;h=fa1936405b6a84e5c9bb440912c23d532772f958
Possibly introduced with: http://git.ghostscript.com/?p=mupdf.git;h=e767bd783d91ae88cd79da19e79afb2c36bcf32a (1.7-rc1)
Although the e767bd783d91ae88cd79da19e79afb2c36bcf32a introduced the solid xrefs,
that part of the code went trough several iterations before it settled down, and
thus the issue could possibly be presend already before. The code in 1.5-1 looks
quite similar, although the reproducer does not lead to a heap-use-after-free in
the 1.5-1 case.

Search for package or bug name: Reporting problems