Vulnerabilities · 2018 · Libraw
CVE-2018-5809
Libraw vulnerability
An error within the "LibRaw::parse_exif()" function (internal/dcraw_common.cpp) in LibRaw versions prior to 0.18.9 can be exploited to cause a stack-based buffer overflow and subsequently execute arbitrary code.
Affected products
Libraw. 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/fd6330292501983ac75fe4162275794b18445bd9 · Patch
- secuniaresearch.flexerasoftware.com/advisories/81800/ · Third Party Advisory
- secuniaresearch.flexerasoftware.com/secunia_research/2018-9/ · Third Party Advisory
- github.com/LibRaw/LibRaw/blob/master/Changelog.txt
- nvd.nist.gov/vuln/detail/CVE-2018-5809
- cve.org/CVERecord?id=CVE-2018-5809
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.