Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2021-32142

24
FAUCET Score

CVE-2021-32142 is a buffer overflow vulnerability in LibRaw linux/unix v0.20.0, specifically within the LibRaw_buffer_datastream::gets function, which could allow an attacker to escalate privileges. It carries a high CVSS score of 7.8, indicating a local attack vector with low complexity, requiring user interaction, and potentially leading to high confidentiality, integrity, and availability impacts. Despite its severity, there is no evidence of active exploitation, publicly available exploit code, or significant community discussion or media coverage.

Impacted Technologies

VendorProductVersion(s)CPE
0.20.0CPE matchmatch criteria
cpe:2.3:a:libraw:libraw:0.20.0:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.1

7.8HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
Exploitability Score
1.8
Impact Score
5.9
CvssVersion
3.1

Exploit Intelligence

EPSS Score
0.42%
Probability of exploitation in next 30 days
EPSS Percentile
34.8%
Percentile rank of EPSS score among Peer Group
As of 2026-07-28
Model: v2026.06.15
This CVE's current EPSS score of 0.0042 is in the 35th percentile among its peer group of 11,621 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.1 Bluesky, 0.0 Mastodon, and 0.2 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (6)

github_advisorypatch availablevia nvd_reference
View patch
microsoftpatch availablevia msrc
Product: azl3 LibRaw 0.21.3-1 on Azure Linux 3.0Fixed in: 0.21.3-1
microsoftpatch availablevia msrc
Product: 19078-17084Fixed in: 0.21.3-1
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 7Fixed in: LibRaw-0:0.19.4-2.el7_9
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8Fixed in: LibRaw-0:0.19.5-4.el8
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 9Fixed in: LibRaw-0:0.20.2-6.el9
View patch

Vendor Advisories (2)

redhatCVE-2021-32142Moderate

LibRaw: stack buffer overflow in LibRaw_buffer_datastream::gets() in src/libraw_datastream.cpp

Feb 17, 2023
microsoft2023-Feb/CVE-2021-32142Important

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.

Feb 14, 2023

References

github.com / gtt1995
Not Applicable
github.com / LibRaw/LibRaw/commit/bc3aaf4223fdb70d52d470dae65c5a7923ea2a49
Patch
github.com / LibRaw/LibRaw/issues/400
ExploitIssue Tracking
lists.debian.org / debian-lts-announce/2023/05/msg00025.html
lists.fedoraproject.org / archives/list/package-announce%40lists.fedoraproject.org/message/5ICTVDRGBWGIFBTUWJLGX7QM5GWBWUG7
lists.fedoraproject.org / archives/list/package-announce%40lists.fedoraproject.org/message/E7TEZ7CLRNYYQZJ5NJGZXK6YJU46WH2L
debian.org / security/2023/dsa-5412
libraw.org
Product