Buffer overflow in Libraw
CVE-2021-32142
- CVSS v3
- 7.8 High
- Public exploits
- None known
- EPSS
- 0.004 · 33.7th percentile
- Published
- 2023-02-17
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
- Attack Vector
- Local
AV:L - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- Required
UI:R - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.004, 33.7th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Libraw — versions 0.20.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (DiRaltvein/memory-corruption-examples). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/LibRaw/LibRaw/issues/400 (Exploit, Issue Tracking)
- github.com/LibRaw/LibRaw/commit/bc3aaf4223fdb70d52d470dae65c5a7923ea2a49 (Patch)
- github.com/gtt1995 (Not Applicable)
- www.libraw.org/ (Product)
- FEDORA-2023-220878f1bf (vendor-advisory)
- FEDORA-2023-be842ba7fb (vendor-advisory)
- [debian-lts-announce] 20230527 [SECURITY] [DLA 3433-1] libraw security update (mailing-list)
- DSA-5412 (vendor-advisory)