CVE-2021-32142

libraw-bin: Buffer Overflow vulnerability in LibRaw linux/unix v0.20.0 allows attackerto escalate privileges via the LibRaw_buffe...

CVE-2021-32142 is fixed in 11 products on 1 platform, first by DEBIAN-CVE-2021-32142, released February 17, 2023. It is not reported as exploited. Patch Radar priority: High.

High
CVSS
7.8
Low
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0039
33rd percentile

Buffer Overflow vulnerability in LibRaw linux/unix v0.20.0 allows attackerto escalate privileges via the LibRaw_buffer_datastream::gets(char*, int)in /src/libraw/src/libraw_datastream.cpp.

Where it's fixed

ProductFixed inFixReleased
Linux
LibRaw · RHEL 8 0:0.19.5-4.el8 RHSA-2024:2994 May 22, 2024
LibRaw · RHEL 9 0:0.20.2-6.el9 RHSA-2023:6343 Nov 7, 2023
LibRaw · almalinux 8 0.19.5-4.el8 ALSA-2024:2994 May 22, 2024
LibRaw · almalinux 9 0.20.2-6.el9 ALSA-2023:6343 Nov 7, 2023
LibRaw · ol 8 0:0.19.5-4.el8 ELSA-2024-2994 May 24, 2024
LibRaw · ol 9 0:0.20.2-6.el9 ELSA-2023-6343 Nov 11, 2023
LibRaw · rocky 8 0:0.19.5-4.el8 RLSA-2024:2994 Jun 14, 2024
LibRaw-devel · RHEL 8 0:0.19.5-4.el8 RHSA-2024:2994 May 22, 2024
LibRaw-devel · RHEL 9 0:0.20.2-6.el9 RHSA-2023:6343 Nov 7, 2023
LibRaw-devel · almalinux 8 0.19.5-4.el8 ALSA-2024:2994 May 22, 2024
LibRaw-devel · almalinux 9 0.20.2-6.el9 ALSA-2023:6343 Nov 7, 2023
LibRaw-devel · ol 8 0:0.19.5-4.el8 ELSA-2024-2994 May 24, 2024
LibRaw-devel · ol 9 0:0.20.2-6.el9 ELSA-2023-6343 Nov 11, 2023
digikam · Ubuntu 20.04 LTS (focal) 4:6.4.0+dfsg-3ubuntu0.1~esm1 digikam 4:6.4.0+dfsg-3ubuntu0.1~esm1 Aug 22, 2023
digikam-data · Ubuntu 20.04 LTS (focal) 4:6.4.0+dfsg-3ubuntu0.1~esm1 digikam-data 4:6.4.0+dfsg-3ubuntu0.1~esm1 Aug 22, 2023
digikam-private-libs · Ubuntu 20.04 LTS (focal) 4:6.4.0+dfsg-3ubuntu0.1~esm1 digikam-private-libs 4:6.4.0+dfsg-3ubuntu0.1~esm1 Aug 22, 2023
libraw · Debian 11.6 (bullseye) 0.20.2-1+deb11u1 DSA-5412-1 May 27, 2023
libraw · Debian 12.15 (bookworm) 0.20.2-2.1 DEBIAN-CVE-2021-32142 Feb 17, 2023
libraw · Debian 13.5 (trixie) 0.20.2-2.1 DEBIAN-CVE-2021-32142 Feb 17, 2023
libraw · Debian 14 0.20.2-2.1 DEBIAN-CVE-2021-32142 Feb 17, 2023
libraw-bin · Ubuntu 20.04 LTS (focal) 0.19.5-1ubuntu1.2 libraw-bin 0.19.5-1ubuntu1.2 May 15, 2023
libraw-bin · Ubuntu 22.04.1 LTS (jammy) 0.20.2-2ubuntu2.22.04.1 libraw-bin 0.20.2-2ubuntu2.22.04.1 May 15, 2023
libraw-bin · Ubuntu 24.10 (oracular) 0.20.2-2.1ubuntu1 libraw-bin 0.20.2-2.1ubuntu1 Jan 16, 2026
libraw-bin · Ubuntu 25.04 (plucky) 0.20.2-2.1ubuntu1 libraw-bin 0.20.2-2.1ubuntu1 Jan 16, 2026
libraw19 · Ubuntu 20.04 LTS (focal) 0.19.5-1ubuntu1.2 libraw19 0.19.5-1ubuntu1.2 May 15, 2023
libraw20 · Ubuntu 22.04.1 LTS (jammy) 0.20.2-2ubuntu2.22.04.1 libraw20 0.20.2-2ubuntu2.22.04.1 May 15, 2023
libraw23t64 · Ubuntu 24.10 (oracular) 0.20.2-2.1ubuntu1 libraw23t64 0.20.2-2.1ubuntu1 Jan 16, 2026
libraw23t64 · Ubuntu 25.04 (plucky) 0.20.2-2.1ubuntu1 libraw23t64 0.20.2-2.1ubuntu1 Jan 16, 2026
showfoto · Ubuntu 20.04 LTS (focal) 4:6.4.0+dfsg-3ubuntu0.1~esm1 showfoto 4:6.4.0+dfsg-3ubuntu0.1~esm1 Aug 22, 2023

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.