CVE-2021-32142
published high CVSS 3.1 · 7.8LibRaw: stack buffer overflow in LibRaw_buffer_datastream::gets() in src/libraw_datastream.cpp
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Amazon Linux | AL2 | Release evaluationALAS2-2023-2256 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | LibRaw | Advisory build | 0.19.5-4.el8 | ALSA-2024:2994 |
| Debian | bullseye | libraw | Advisory build | 0.20.2-1+deb11u1 | DSA-5412-1 |
| Oracle Linux | 7 | LibRawaarch64 | Advisory build | 0:0.19.4-2.el7_9 | ELSA-2024-0343 |
| Red Hat Enterprise Linux | RHEL-7 | LibRawi686 | Advisory build | 0.19.4-2.el7_9 | RHSA-2024:0343 |
| SUSE / openSUSE | SLE-12-SP5 | libraw-develaarch64 | Advisory build | 0.15.4-36.1 | SUSE-SU-2023:0510-1 |
| AlmaLinux | 8 | LibRaw-devel | Advisory build | 0.19.5-4.el8 | ALSA-2024:2994 |
Show 94 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 9 | LibRaw | Advisory build | 0.20.2-6.el9 | ALSA-2023:6343 |
| AlmaLinux | 9 | LibRaw-devel | Advisory build | 0.20.2-6.el9 | ALSA-2023:6343 |
| Debian | buster | libraw | Advisory build | 0.19.2-2+deb10u3 | DLA-3433-1 |
| Oracle Linux | 7 | LibRawx86_64 | Advisory build | 0:0.19.4-2.el7_9 | ELSA-2024-0343 |
| Oracle Linux | 7 | LibRaw-develaarch64 | Advisory build | 0:0.19.4-2.el7_9 | ELSA-2024-0343 |
| Oracle Linux | 7 | LibRaw-develx86_64 | Advisory build | 0:0.19.4-2.el7_9 | ELSA-2024-0343 |
| Oracle Linux | 7 | LibRaw-staticaarch64 | Advisory build | 0:0.19.4-2.el7_9 | ELSA-2024-0343 |
| Oracle Linux | 7 | LibRaw-staticx86_64 | Advisory build | 0:0.19.4-2.el7_9 | ELSA-2024-0343 |
| Oracle Linux | 8 | LibRawx86_64 | Advisory build | 0:0.19.5-4.el8 | ELSA-2024-2994 |
| Oracle Linux | 8 | LibRaw-develx86_64 | Advisory build | 0:0.19.5-4.el8 | ELSA-2024-2994 |
| Oracle Linux | 9 | LibRawaarch64 | Advisory build | 0:0.20.2-6.el9 | ELSA-2023-6343 |
| Oracle Linux | 9 | LibRawx86_64 | Advisory build | 0:0.20.2-6.el9 | ELSA-2023-6343 |
| Oracle Linux | 9 | LibRaw-develaarch64 | Advisory build | 0:0.20.2-6.el9 | ELSA-2023-6343 |
| Oracle Linux | 9 | LibRaw-develx86_64 | Advisory build | 0:0.20.2-6.el9 | ELSA-2023-6343 |
| Red Hat Enterprise Linux | RHEL-7 | LibRawppc64le | Advisory build | 0.19.4-2.el7_9 | RHSA-2024:0343 |
| Red Hat Enterprise Linux | RHEL-7 | LibRawsrc | Advisory build | 0.19.4-2.el7_9 | RHSA-2024:0343 |
| Red Hat Enterprise Linux | RHEL-7 | LibRawx86_64 | Advisory build | 0.19.4-2.el7_9 | RHSA-2024:0343 |
| Red Hat Enterprise Linux | RHEL-7 | LibRaw-debuginfoi686 | Advisory build | 0.19.4-2.el7_9 | RHSA-2024:0343 |
| Red Hat Enterprise Linux | RHEL-7 | LibRaw-debuginfoppc64le | Advisory build | 0.19.4-2.el7_9 | RHSA-2024:0343 |
| Red Hat Enterprise Linux | RHEL-7 | LibRaw-debuginfox86_64 | Advisory build | 0.19.4-2.el7_9 | RHSA-2024:0343 |
| Red Hat Enterprise Linux | RHEL-7 | LibRaw-develi686 | Advisory build | 0.19.4-2.el7_9 | RHSA-2024:0343 |
| Red Hat Enterprise Linux | RHEL-7 | LibRaw-develppc64le | Advisory build | 0.19.4-2.el7_9 | RHSA-2024:0343 |
| Red Hat Enterprise Linux | RHEL-7 | LibRaw-develx86_64 | Advisory build | 0.19.4-2.el7_9 | RHSA-2024:0343 |
| Red Hat Enterprise Linux | RHEL-7 | LibRaw-statici686 | Advisory build | 0.19.4-2.el7_9 | RHSA-2024:0343 |
| Red Hat Enterprise Linux | RHEL-7 | LibRaw-staticppc64le | Advisory build | 0.19.4-2.el7_9 | RHSA-2024:0343 |
| Red Hat Enterprise Linux | RHEL-7 | LibRaw-staticx86_64 | Advisory build | 0.19.4-2.el7_9 | RHSA-2024:0343 |
| Red Hat Enterprise Linux | RHEL-8 | LibRawi686 | Advisory build | 0.19.5-4.el8 | RHSA-2024:2994 |
| Red Hat Enterprise Linux | RHEL-8 | LibRawppc64le | Advisory build | 0.19.5-4.el8 | RHSA-2024:2994 |
| Red Hat Enterprise Linux | RHEL-8 | LibRawsrc | Advisory build | 0.19.5-4.el8 | RHSA-2024:2994 |
| Red Hat Enterprise Linux | RHEL-8 | LibRawx86_64 | Advisory build | 0.19.5-4.el8 | RHSA-2024:2994 |
| Red Hat Enterprise Linux | RHEL-8 | LibRaw-debuginfoi686 | Advisory build | 0.19.5-4.el8 | RHSA-2024:2994 |
| Red Hat Enterprise Linux | RHEL-8 | LibRaw-debuginfoppc64le | Advisory build | 0.19.5-4.el8 | RHSA-2024:2994 |
| Red Hat Enterprise Linux | RHEL-8 | LibRaw-debuginfox86_64 | Advisory build | 0.19.5-4.el8 | RHSA-2024:2994 |
| Red Hat Enterprise Linux | RHEL-8 | LibRaw-debugsourcei686 | Advisory build | 0.19.5-4.el8 | RHSA-2024:2994 |
| Red Hat Enterprise Linux | RHEL-8 | LibRaw-debugsourceppc64le | Advisory build | 0.19.5-4.el8 | RHSA-2024:2994 |
| Red Hat Enterprise Linux | RHEL-8 | LibRaw-debugsourcex86_64 | Advisory build | 0.19.5-4.el8 | RHSA-2024:2994 |
| Red Hat Enterprise Linux | RHEL-8 | LibRaw-develi686 | Advisory build | 0.19.5-4.el8 | RHSA-2024:2994 |
| Red Hat Enterprise Linux | RHEL-8 | LibRaw-develppc64le | Advisory build | 0.19.5-4.el8 | RHSA-2024:2994 |
| Red Hat Enterprise Linux | RHEL-8 | LibRaw-develx86_64 | Advisory build | 0.19.5-4.el8 | RHSA-2024:2994 |
| Red Hat Enterprise Linux | RHEL-8 | LibRaw-samples-debuginfoi686 | Advisory build | 0.19.5-4.el8 | RHSA-2024:2994 |
| Red Hat Enterprise Linux | RHEL-8 | LibRaw-samples-debuginfoppc64le | Advisory build | 0.19.5-4.el8 | RHSA-2024:2994 |
| Red Hat Enterprise Linux | RHEL-8 | LibRaw-samples-debuginfox86_64 | Advisory build | 0.19.5-4.el8 | RHSA-2024:2994 |
| Red Hat Enterprise Linux | RHEL-9 | LibRawaarch64 | Advisory build | 0.20.2-6.el9 | RHSA-2023:6343 |
| Red Hat Enterprise Linux | RHEL-9 | LibRawi686 | Advisory build | 0.20.2-6.el9 | RHSA-2023:6343 |
| Red Hat Enterprise Linux | RHEL-9 | LibRawppc64le | Advisory build | 0.20.2-6.el9 | RHSA-2023:6343 |
| Red Hat Enterprise Linux | RHEL-9 | LibRaws390x | Advisory build | 0.20.2-6.el9 | RHSA-2023:6343 |
| Red Hat Enterprise Linux | RHEL-9 | LibRawsrc | Advisory build | 0.20.2-6.el9 | RHSA-2023:6343 |
| Red Hat Enterprise Linux | RHEL-9 | LibRawx86_64 | Advisory build | 0.20.2-6.el9 | RHSA-2023:6343 |
| Red Hat Enterprise Linux | RHEL-9 | LibRaw-debuginfoaarch64 | Advisory build | 0.20.2-6.el9 | RHSA-2023:6343 |
| Red Hat Enterprise Linux | RHEL-9 | LibRaw-debuginfoi686 | Advisory build | 0.20.2-6.el9 | RHSA-2023:6343 |
| Red Hat Enterprise Linux | RHEL-9 | LibRaw-debuginfoppc64le | Advisory build | 0.20.2-6.el9 | RHSA-2023:6343 |
| Red Hat Enterprise Linux | RHEL-9 | LibRaw-debuginfos390x | Advisory build | 0.20.2-6.el9 | RHSA-2023:6343 |
| Red Hat Enterprise Linux | RHEL-9 | LibRaw-debuginfox86_64 | Advisory build | 0.20.2-6.el9 | RHSA-2023:6343 |
| Red Hat Enterprise Linux | RHEL-9 | LibRaw-debugsourceaarch64 | Advisory build | 0.20.2-6.el9 | RHSA-2023:6343 |
| Red Hat Enterprise Linux | RHEL-9 | LibRaw-debugsourcei686 | Advisory build | 0.20.2-6.el9 | RHSA-2023:6343 |
| Red Hat Enterprise Linux | RHEL-9 | LibRaw-debugsourceppc64le | Advisory build | 0.20.2-6.el9 | RHSA-2023:6343 |
| Red Hat Enterprise Linux | RHEL-9 | LibRaw-debugsources390x | Advisory build | 0.20.2-6.el9 | RHSA-2023:6343 |
| Red Hat Enterprise Linux | RHEL-9 | LibRaw-debugsourcex86_64 | Advisory build | 0.20.2-6.el9 | RHSA-2023:6343 |
| Red Hat Enterprise Linux | RHEL-9 | LibRaw-samples-debuginfoaarch64 | Advisory build | 0.20.2-6.el9 | RHSA-2023:6343 |
| Red Hat Enterprise Linux | RHEL-9 | LibRaw-samples-debuginfoi686 | Advisory build | 0.20.2-6.el9 | RHSA-2023:6343 |
| Red Hat Enterprise Linux | RHEL-9 | LibRaw-samples-debuginfoppc64le | Advisory build | 0.20.2-6.el9 | RHSA-2023:6343 |
| Red Hat Enterprise Linux | RHEL-9 | LibRaw-samples-debuginfos390x | Advisory build | 0.20.2-6.el9 | RHSA-2023:6343 |
| Red Hat Enterprise Linux | RHEL-9 | LibRaw-samples-debuginfox86_64 | Advisory build | 0.20.2-6.el9 | RHSA-2023:6343 |
| SUSE / openSUSE | SLE-12-SP5 | libraw-develppc64le | Advisory build | 0.15.4-36.1 | SUSE-SU-2023:0510-1 |
| SUSE / openSUSE | SLE-12-SP5 | libraw-devels390x | Advisory build | 0.15.4-36.1 | SUSE-SU-2023:0510-1 |
| SUSE / openSUSE | SLE-12-SP5 | libraw-develx86_64 | Advisory build | 0.15.4-36.1 | SUSE-SU-2023:0510-1 |
| SUSE / openSUSE | SLE-12-SP5 | libraw-devel-staticaarch64 | Advisory build | 0.15.4-36.1 | SUSE-SU-2023:0510-1 |
| SUSE / openSUSE | SLE-12-SP5 | libraw-devel-staticppc64le | Advisory build | 0.15.4-36.1 | SUSE-SU-2023:0510-1 |
| SUSE / openSUSE | SLE-12-SP5 | libraw-devel-statics390x | Advisory build | 0.15.4-36.1 | SUSE-SU-2023:0510-1 |
| SUSE / openSUSE | SLE-12-SP5 | libraw-devel-staticx86_64 | Advisory build | 0.15.4-36.1 | SUSE-SU-2023:0510-1 |
| SUSE / openSUSE | SLE-12-SP5 | libraw9aarch64 | Advisory build | 0.15.4-36.1 | SUSE-SU-2023:0510-1 |
| SUSE / openSUSE | SLE-12-SP5 | libraw9ppc64le | Advisory build | 0.15.4-36.1 | SUSE-SU-2023:0510-1 |
| SUSE / openSUSE | SLE-12-SP5 | libraw9s390x | Advisory build | 0.15.4-36.1 | SUSE-SU-2023:0510-1 |
| SUSE / openSUSE | SLE-12-SP5 | libraw9x86_64 | Advisory build | 0.15.4-36.1 | SUSE-SU-2023:0510-1 |
| SUSE / openSUSE | SLE-15-SP4 | libraw-develx86_64 | Advisory build | 0.20.2-150400.3.3.1 | SUSE-SU-2023:0512-1 |
| SUSE / openSUSE | SLE-15-SP4 | libraw16x86_64 | Advisory build | 0.18.9-150000.3.17.1 | SUSE-SU-2023:0511-1 |
| SUSE / openSUSE | SLE-15-SP4 | libraw20aarch64 | Advisory build | 0.20.2-150400.3.3.1 | SUSE-SU-2023:0512-1 |
| SUSE / openSUSE | SLE-15-SP4 | libraw20ppc64le | Advisory build | 0.20.2-150400.3.3.1 | SUSE-SU-2023:0512-1 |
| SUSE / openSUSE | SLE-15-SP4 | libraw20s390x | Advisory build | 0.20.2-150400.3.3.1 | SUSE-SU-2023:0512-1 |
| SUSE / openSUSE | SLE-15-SP4 | libraw20x86_64 | Advisory build | 0.20.2-150400.3.3.1 | SUSE-SU-2023:0512-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | libraw-develaarch64 | Advisory build | 0.20.2-150400.3.3.1 | SUSE-SU-2023:0512-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | libraw-develppc64le | Advisory build | 0.20.2-150400.3.3.1 | SUSE-SU-2023:0512-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | libraw-devels390x | Advisory build | 0.20.2-150400.3.3.1 | SUSE-SU-2023:0512-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | libraw-develx86_64 | Advisory build | 0.20.2-150400.3.3.1 | SUSE-SU-2023:0512-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | libraw-devel-staticaarch64 | Advisory build | 0.20.2-150400.3.3.1 | SUSE-SU-2023:0512-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | libraw-devel-staticppc64le | Advisory build | 0.20.2-150400.3.3.1 | SUSE-SU-2023:0512-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | libraw-devel-statics390x | Advisory build | 0.20.2-150400.3.3.1 | SUSE-SU-2023:0512-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | libraw-devel-staticx86_64 | Advisory build | 0.20.2-150400.3.3.1 | SUSE-SU-2023:0512-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | libraw-toolsaarch64 | Advisory build | 0.20.2-150400.3.3.1 | SUSE-SU-2023:0512-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | libraw-toolsppc64le | Advisory build | 0.20.2-150400.3.3.1 | SUSE-SU-2023:0512-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | libraw-toolss390x | Advisory build | 0.20.2-150400.3.3.1 | SUSE-SU-2023:0512-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | libraw-toolsx86_64 | Advisory build | 0.20.2-150400.3.3.1 | SUSE-SU-2023:0512-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | libraw16aarch64 | Advisory build | 0.18.9-150000.3.17.1 | SUSE-SU-2023:0511-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | libraw16ppc64le | Advisory build | 0.18.9-150000.3.17.1 | SUSE-SU-2023:0511-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
2- n/a
- CWE-787 CWE-787 Out-of-bounds Write
References
8- https://github.com/LibRaw/LibRaw/commit/bc3aaf4223fdb70d52d470dae65c5a7923ea2a49
- https://github.com/LibRaw/LibRaw/issues/400
- https://github.com/gtt1995
- [debian-lts-announce] 20230527 [SECURITY] [DLA 3433-1] libraw security update https://lists.debian.org/debian-lts-announce/2023/05/msg00025.html
- FEDORA-2023-be842ba7fb https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5ICTVDRGBWGIFBTUWJLGX7QM5GWBWUG7/
- FEDORA-2023-220878f1bf https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/E7TEZ7CLRNYYQZJ5NJGZXK6YJU46WH2L/
- DSA-5412 https://www.debian.org/security/2023/dsa-5412
- https://www.libraw.org/
Provider assertions
3mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 019c1d073a3b0782d68e0376237d8f1a9a04a03ecc7db75a436e1e14e447ebce
- Ingested
- 23 Sep 2026, 07:54:29 UTC
- Source record
- Official CVE record