CVE-2021-32142

NameCVE-2021-32142
DescriptionBuffer Overflow vulnerability in LibRaw linux/unix v0.20.0 allows attacker to escalate privileges via the LibRaw_buffer_datastream::gets(char*, int) in /src/libraw/src/libraw_datastream.cpp.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub advisories/code/issues, web search, more)
Debian Bugs1031790

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libraw (PTS)buster0.19.2-2vulnerable
buster (security)0.19.2-2+deb10u2vulnerable
bullseye0.20.2-1vulnerable
bookworm, sid0.20.2-2vulnerable

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
librawsourceexperimental0.21.1-1
librawsource(unstable)(unfixed)1031790

Notes

[bullseye] - libraw <no-dsa> (Minor issue)
[buster] - libraw <no-dsa> (Minor issue)
https://github.com/LibRaw/LibRaw/issues/400
https://github.com/LibRaw/LibRaw/commit/bc3aaf4223fdb70d52d470dae65c5a7923ea2a49 (0.21-Beta1)

Search for package or bug name: Reporting problems