CVE-2020-24870

NameCVE-2020-24870
DescriptionLibraw before 0.20.1 has a stack buffer overflow via LibRaw::identify_process_dng_fields in identify.cpp.
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)jessie, jessie (lts)0.16.0-9+deb8u6fixed
stretch (security)0.17.2-6+deb9u2fixed
stretch (lts), stretch0.17.2-6+deb9u5fixed
buster (security), buster, buster (lts)0.19.2-2+deb10u4fixed
bullseye (security), bullseye0.20.2-1+deb11u1fixed
bookworm0.20.2-2.1fixed
sid, trixie0.21.3-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
librawsourcejessie(not affected)
librawsourcestretch(not affected)
librawsourcebuster(not affected)
librawsource(unstable)0.20.2-1

Notes

[buster] - libraw <not-affected> (Vulnerable code not present)
[stretch] - libraw <not-affected> (vulnerable code not present)
https://github.com/LibRaw/LibRaw/commit/4feaed4dea636cee4fee010f615881ccf76a096d
https://github.com/LibRaw/LibRaw/issues/330
[jessie] - libraw <not-affected> (Vulnerable code not present)
rechecked libraw/stretch as not-affected: DNG parser added in 0.18.0

Search for package or bug name: Reporting problems