CVE-2018-20365

NameCVE-2018-20365
DescriptionLibRaw::raw2image() in libraw_cxx.cpp has a heap-based buffer overflow.
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)
NVD severitymedium (attack range: remote)
Debian Bugs917111

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libraw (PTS)jessie (security), jessie0.16.0-9+deb8u3fixed
stretch (security), stretch0.17.2-6+deb9u1vulnerable
buster, sid0.19.2-2fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
librawsource(unstable)0.19.2-2medium917111
librawsourcejessie(not affected)

Notes

[jessie] - libraw <not-affected> (Vulnerable code not present)
https://github.com/LibRaw/LibRaw/issues/195
Fixed by: https://github.com/LibRaw/LibRaw/commit/7e29b9f29449fde30cc878fbb137d61c14bba3a4
Additionally needed: https://github.com/LibRaw/LibRaw/commit/a7c17cb6bbec1e79f058d84511f9c3b142cbdfa7
CVE-2018-20363, CVE-2018-20364 and CVE-2018-20365 have same root cause

Search for package or bug name: Reporting problems