Vulnerabilities · 2018 · Libraw
CVE-2018-5800
Libraw vulnerability
An off-by-one error within the "LibRaw::kodak_ycbcr_load_raw()" function (internal/dcraw_common.cpp) in LibRaw versions prior to 0.18.7 can be exploited to cause a heap-based buffer overflow and subsequently cause a crash.
Affected products
Libraw, Enterprise Linux Desktop, Enterprise Linux Server, Enterprise Linux Workstation, Ubuntu Linux, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Libraw runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/LibRaw/LibRaw/commit/8682ad204392b914ab1cc6ebcca9c27c19c1a4b4 · Patch
- www.securityfocus.com/bid/104663 · Third Party Advisory
- access.redhat.com/errata/RHSA-2018:3065 · Third Party Advisory
- lists.debian.org/debian-lts-announce/2019/03/msg00036.html · Third Party Advisory
- secuniaresearch.flexerasoftware.com/advisories/79000/ · Third Party Advisory
- secuniaresearch.flexerasoftware.com/secunia_research/2018-1/ · Third Party Advisory
- usn.ubuntu.com/3615-1/ · Third Party Advisory
- github.com/LibRaw/LibRaw/blob/master/Changelog.txt
- nvd.nist.gov/vuln/detail/CVE-2018-5800
- cve.org/CVERecord?id=CVE-2018-5800
More vulnerabilities in Libraw products
CVE-2025-43964CVE-2025-43963CVE-2025-43962CVE-2025-43961CVE-2023-1729CVE-2021-32142CVE-2020-35535CVE-2020-35534All 57
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.