CVE-2023-1729 Memory corruption in LibRaw

Medium 6.5 Published Updated

A heap-buffer-overflow in LibRaw allows attackers to cause application crashes via maliciously crafted files.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2023-1729?

CVE-2023-1729 is a medium-severity memory corruption vulnerability in Fedoraproject Fedora, published on 15 May 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

A flaw was found in LibRaw. A heap-buffer-overflow in raw2image_ex() caused by a maliciously crafted file may lead to an application crash.

Weakness: CWE-787, CWE-119

Which versions are affected by CVE-2023-1729?

It affects 3 products.

Linux distribution packages (19)
LibRaw AlmaLinux:9All versions0.21.1-1.el9
LibRaw-devel AlmaLinux:9All versions0.21.1-1.el9
LibRaw Red Hat:enterprise_linux:9::appstreamAll versions0:0.21.1-1.el9
LibRaw-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:0.21.1-1.el9
LibRaw-debugsource Red Hat:enterprise_linux:9::appstreamAll versions0:0.21.1-1.el9
LibRaw-samples-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:0.21.1-1.el9
LibRaw-debuginfo Red Hat:enterprise_linux:9::crbAll versions0:0.21.1-1.el9
LibRaw-debugsource Red Hat:enterprise_linux:9::crbAll versions0:0.21.1-1.el9
LibRaw-devel Red Hat:enterprise_linux:9::crbAll versions0:0.21.1-1.el9
LibRaw-samples-debuginfo Red Hat:enterprise_linux:9::crbAll versions0:0.21.1-1.el9
LibRaw Rocky Linux:9All versions0:0.21.1-1.el9
libraw SUSE:Linux Enterprise Module for Desktop Applications 15 SP4All versions0.20.2-150400.3.6.1
libraw SUSE:Linux Enterprise Software Development Kit 12 SP5All versions0.15.4-39.1
libraw SUSE:Linux Enterprise Workstation Extension 12 SP5All versions0.15.4-39.1
libraw SUSE:Linux Enterprise Workstation Extension 15 SP4All versions0.18.9-150000.3.20.1
libraw SUSE:Linux Enterprise Workstation Extension 15 SP4All versions0.20.2-150400.3.6.1
libraw openSUSE:Leap 15.4All versions0.18.9-150000.3.20.1
libraw openSUSE:Leap 15.4All versions0.20.2-150400.3.6.1
libraw openSUSE:TumbleweedAll versions0.21.1-2.1

Products include Fedoraproject Fedora, Libraw Libraw, Redhat Enterprise Linux.

How do I fix CVE-2023-1729?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2023-1729 being exploited?

There is no known exploitation of CVE-2023-1729 in the wild and no public exploit code.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as ALSA-2024:2137, CLSA-2025-1753801728, DEBIAN-CVE-2023-1729, GHSA-5gp6-9w92-5752, JLSEC-2026-1108, OESA-2023-1280 and 7 more.

Is CVE-2023-1729 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free