CVE-2018-5816

NameCVE-2018-5816
DescriptionAn integer overflow error within the "identify()" function (internal/dcraw_common.cpp) in LibRaw versions prior to 0.18.12 can be exploited to trigger a division by zero via specially crafted NOKIARAW file (Note: This vulnerability is caused due to an incomplete fix of CVE-2018-5804).
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libraw (PTS)buster0.19.2-2fixed
buster (security)0.19.2-2+deb10u4fixed
bullseye (security), bullseye0.20.2-1+deb11u1fixed
bookworm0.20.2-2.1fixed
sid, trixie0.21.2-2.1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
librawsourcejessie(not affected)
librawsourcestretch(not affected)
librawsource(unstable)0.18.13-1low

Notes

[stretch] - libraw <not-affected> (Fix for CVE-2018-5804 not released in stretch)
[jessie] - libraw <not-affected> (Fix for CVE-2018-5804 not in jessie LTS)
http://seclists.org/bugtraq/2018/Jul/58
Issue caused by an incomplete fix for CVE-2018-5804

Search for package or bug name: Reporting problems