VDB
CVE-2021-32142
CVE-2021-32142
PUBLISHED
CVSS 7.800000190734863 HIGH
Reported by mitre · Published February 17, 2023
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| LibRaw-devel | Amazon Linux | 0.19.4-1.amzn2.0.2 |
| LibRaw | Amazon Linux | 0.19.4-1.amzn2.0.2 |
| digikam | Ubuntu:Pro:20.04:LTS | 4:6.4.0+dfsg-3ubuntu0.1~esm1 |
Risk scores
CVSS 3.1
7.800000190734863
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| amazon:2 | LibRaw-devel | 0 |
| amazon:2 | LibRaw | 0 |
| amazon:2 | LibRaw-static | 0 |
| ConanCenter | libraw | 0.20.0 |
| n/a | n/a | * |
Timeline
- Feb 17, 2023 CVE Published
- Feb 18, 2023 EPSS Score (30 in total, the first dated here)
- Mar 7, 2026 Distribution Patch (55 in total, the first dated here)
- Mar 7, 2026 Security Advisory (61 in total, the first dated here)
- Aug 1, 2026 Coalition ESS Score
- Nov 8, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-32142
vulnetix vdb fixes CVE-2021-32142
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-32142/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- 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
- https://nvd.nist.gov/vuln/detail/CVE-2021-32142 advisory