LibRaw: stack buffer overflow in LibRaw_buffer_datastream::gets() in src/libraw_datastream.cpp
Published Feb 17, 2023
7.8
HIGHCVSS 3.1
EPSS 0.42%
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
No data.
No data.
Red Hat Enterprise Linux 7
LibRaw-0:0.19.4-2.el7_9
Fixed · RHSA-2024:0343
Red Hat Enterprise Linux 8
LibRaw-0:0.19.5-4.el8
Fixed · RHSA-2024:2994
Red Hat Enterprise Linux 9
LibRaw-0:0.20.2-6.el9
Fixed · RHSA-2023:6343
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | LibRaw-0:0.19.4-2.el7_9 | Fixed | RHSA-2024:0343 |
| Red Hat Enterprise Linux 8 | LibRaw-0:0.19.5-4.el8 | Fixed | RHSA-2024:2994 |
| Red Hat Enterprise Linux 9 | LibRaw-0:0.20.2-6.el9 | Fixed | RHSA-2023:6343 |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
NoneAutomatable
NoTechnical Impact
TotalDecision
n/aAssessed Mar 19, 2025 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2023–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (12 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.42% (0.00424) | 34.40th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.42% (0.00424) | 33.69th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.02% (0.00020) | 3.06th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.16% (0.00158) | 53.59th | v3 (v2023.03.01) |
| May 24, 2024 | 0.08% (0.00080) | 34.28th | v3 (v2023.03.01) |
| Mar 21, 2024 | 0.07% (0.00068) | 28.01th | v3 (v2023.03.01) |
| May 27, 2023 | 0.06% (0.00057) | 21.58th | v3 (v2023.03.01) |
| Mar 15, 2023 | 0.05% (0.00050) | 17.41th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.06% (0.00063) | 24.84th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.02% (0.01018) | 40.69th | v2 (v2022.01.01) |
| Mar 1, 2023 | 1.02% (0.01018) | 40.65th | v2 (v2022.01.01) |
| Feb 18, 2023 | 0.95% (0.00950) | 31.96th | v2 (v2022.01.01) |
References (12)
- https://access.redhat.com/security/cve/CVE-2021-32142 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2172004 Issue Tracking
- https://github.com/LibRaw/LibRaw/commit/bc3aaf4223fdb70d52d470dae65c5a7923ea2a49 Patch
- https://github.com/LibRaw/LibRaw/issues/400 ExploitIssue Tracking
- https://github.com/gtt1995 Not Applicable
- https://lists.debian.org/debian-lts-announce/2023/05/msg00025.html mailing-list
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5ICTVDRGBWGIFBTUWJLGX7QM5GWBWUG7/ vendor-advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/E7TEZ7CLRNYYQZJ5NJGZXK6YJU46WH2L/ vendor-advisory
- https://nvd.nist.gov/vuln/detail/CVE-2021-32142
- https://www.cve.org/CVERecord?id=CVE-2021-32142
- https://www.debian.org/security/2023/dsa-5412 vendor-advisory
- https://www.libraw.org/ Product
Change history (0)
No recorded changes yet.