What’s Vulnerable › Vulnerabilities
CVE-2021-32142
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2023-02-17 · updated 2026-06-17
- Weakness: CWE-787
Description
Buffer 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.
Affected products
- LibRaw: 0.20.0
References
- https://github.com/LibRaw/LibRaw/commit/bc3aaf4223fdb70d52d470dae65c5a7923ea2a49
- https://github.com/LibRaw/LibRaw/issues/400
- https://github.com/gtt1995
- https://lists.debian.org/debian-lts-announce/2023/05/msg00025.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5ICTVDRGBWGIFBTUWJLGX7QM5GWBWUG7/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/E7TEZ7CLRNYYQZJ5NJGZXK6YJU46WH2L/
- https://www.debian.org/security/2023/dsa-5412
- https://www.libraw.org/
- https://github.com/LibRaw/LibRaw/commit/bc3aaf4223fdb70d52d470dae65c5a7923ea2a49
- https://github.com/LibRaw/LibRaw/issues/400
- https://github.com/gtt1995
- https://lists.debian.org/debian-lts-announce/2023/05/msg00025.html
Get alerted when CVE-2021-32142 or the next vulnerability affects your stack