
CVE catalog
CVE-2018-5807
libraw: CVE-2018-5807
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.98% · Oct 25, 2026
An error within the "samsung_load_raw()" function (internal/dcraw_common.cpp) in LibRaw versions prior to 0.18.9 can be exploited to cause an out-of-bounds read memory access and subsequently cause a crash.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libraw | sid | 0.22.1-1 | fixed |
| Debian | libraw | forky | 0.22.1-1 | fixed |
| Debian | libraw | trixie | 0.21.4-2+deb13u1 | fixed |
| Debian | libraw | bookworm | 0.20.2-2.1+deb12u1 | fixed |
| Debian | libraw | bookworm-security | 0.20.2-2.1+deb12u2 | fixed |
| Ubuntu | libraw | 14.04 | 0.15.3-1ubuntu1 | vulnerable |
| Ubuntu | libraw | 14.04 | 0.15.4-1 | vulnerable |
| Ubuntu | libraw | 14.04 | 0.15.4-1ubuntu0.1 | vulnerable |
| Ubuntu | libraw | 14.04 | 0.15.4-1ubuntu0.2 | vulnerable |
| Ubuntu | libraw | 14.04 | 0.15.4-1ubuntu0.3 | fixed |
| Ubuntu | libraw | 16.04 | 0.16.2-1 | vulnerable |
| Ubuntu | libraw | 16.04 | 0.17.0-1 | vulnerable |
| Ubuntu | libraw | 16.04 | 0.17.1-1 | vulnerable |
| Ubuntu | libraw | 16.04 | 0.17.1-1ubuntu0.1 | vulnerable |
| Ubuntu | libraw | 16.04 | 0.17.1-1ubuntu0.2 | vulnerable |
| Ubuntu | libraw | 16.04 | 0.17.1-1ubuntu0.3 | vulnerable |
| Ubuntu | libraw | 16.04 | 0.17.1-1ubuntu0.4 | fixed |
| Ubuntu | libraw | 18.04 | 0.18.2-2 | vulnerable |
| Ubuntu | libraw | 18.04 | 0.18.5-1 | vulnerable |
| Ubuntu | libraw | 18.04 | 0.18.7-2 | vulnerable |
| Ubuntu | libraw | 18.04 | 0.18.8-1 | vulnerable |
| Ubuntu | libraw | 18.04 | 0.18.8-1ubuntu0.1 | vulnerable |
| Ubuntu | libraw | 18.04 | 0.18.8-1ubuntu0.2 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libraw | source | sid | 0.18.11-1 | not yet assigned | Not reported | Not reported |
| Debian | libraw | source | forky | 0.18.11-1 | not yet assigned | Not reported | Not reported |
| Debian | libraw | source | trixie | 0.18.11-1 | not yet assigned | Not reported | Not reported |
| Debian | libraw | source | bookworm | 0.18.11-1 | not yet assigned | Not reported | Not reported |
| Ubuntu | libraw | deb | 14.04 | 0.15.4-1ubuntu0.3 | Not reported | USN-3838-1 | Not reported |
| Ubuntu | libraw | deb | 16.04 | 0.17.1-1ubuntu0.4 | Not reported | USN-3838-1 | Not reported |
| Ubuntu | libraw | deb | 18.04 | 0.18.8-1ubuntu0.2 | Not reported | USN-3838-1 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libraw20]Fixed
Source package: [libraw]
Details (4)
0.20.2-2.1+deb12u1· amd64 · bookwormFixed · Fixed:
0.18.11-1dsa · libraw · debian · bookworm; dsa · libraw · debian · 12
0.20.2-2.1+deb12u1· arm64 · bookwormFixed · Fixed:
0.18.11-1dsa · libraw · debian · bookworm; dsa · libraw · debian · 12
0.20.2-2.1+deb12u2· amd64 · bookworm-securityFixed · Fixed:
0.18.11-1dsa · libraw · debian · bookworm; dsa · libraw · debian · 12
0.20.2-2.1+deb12u2· arm64 · bookworm-securityFixed · Fixed:
0.18.11-1dsa · libraw · debian · bookworm; dsa · libraw · debian · 12
- [libraw-bin]Fixed
Source package: [libraw]
Details (4)
0.20.2-2.1+deb12u1· amd64 · bookwormFixed · Fixed:
0.18.11-1dsa · libraw · debian · bookworm; dsa · libraw · debian · 12
0.20.2-2.1+deb12u1· arm64 · bookwormFixed · Fixed:
0.18.11-1dsa · libraw · debian · bookworm; dsa · libraw · debian · 12
0.20.2-2.1+deb12u2· amd64 · bookworm-securityFixed · Fixed:
0.18.11-1dsa · libraw · debian · bookworm; dsa · libraw · debian · 12
0.20.2-2.1+deb12u2· arm64 · bookworm-securityFixed · Fixed:
0.18.11-1dsa · libraw · debian · bookworm; dsa · libraw · debian · 12
- [libraw-dev]Fixed
Source package: [libraw]
Details (4)
0.20.2-2.1+deb12u1· amd64 · bookwormFixed · Fixed:
0.18.11-1dsa · libraw · debian · bookworm; dsa · libraw · debian · 12
0.20.2-2.1+deb12u1· arm64 · bookwormFixed · Fixed:
0.18.11-1dsa · libraw · debian · bookworm; dsa · libraw · debian · 12
0.20.2-2.1+deb12u2· amd64 · bookworm-securityFixed · Fixed:
0.18.11-1dsa · libraw · debian · bookworm; dsa · libraw · debian · 12
0.20.2-2.1+deb12u2· arm64 · bookworm-securityFixed · Fixed:
0.18.11-1dsa · libraw · debian · bookworm; dsa · libraw · debian · 12
- [libraw-doc]Fixed
Source package: [libraw]
Details (4)
0.20.2-2.1+deb12u1· all · bookwormFixed · Fixed:
0.18.11-1dsa · libraw · debian · bookworm; dsa · libraw · debian · 12
0.20.2-2.1+deb12u1· all · bookwormFixed · Fixed:
0.18.11-1dsa · libraw · debian · bookworm; dsa · libraw · debian · 12
0.20.2-2.1+deb12u2· all · bookworm-securityFixed · Fixed:
0.18.11-1dsa · libraw · debian · bookworm; dsa · libraw · debian · 12
0.20.2-2.1+deb12u2· all · bookworm-securityFixed · Fixed:
0.18.11-1dsa · libraw · debian · bookworm; dsa · libraw · debian · 12
[Debian 13 (Trixie)]
- [libraw23t64]Fixed
Source package: [libraw]
Details (2)
0.21.4-2· amd64 · trixieFixed · Fixed:
0.18.11-1dsa · libraw · debian · 13
0.21.4-2· arm64 · trixieFixed · Fixed:
0.18.11-1dsa · libraw · debian · 13
- [libraw-bin]Fixed
Source package: [libraw]
Details (2)
0.21.4-2· amd64 · trixieFixed · Fixed:
0.18.11-1dsa · libraw · debian · 13
0.21.4-2· arm64 · trixieFixed · Fixed:
0.18.11-1dsa · libraw · debian · 13
- [libraw-dev]Fixed
Source package: [libraw]
Details (2)
0.21.4-2· amd64 · trixieFixed · Fixed:
0.18.11-1dsa · libraw · debian · 13
0.21.4-2· arm64 · trixieFixed · Fixed:
0.18.11-1dsa · libraw · debian · 13
- [libraw-doc]Fixed
Source package: [libraw]
Details (2)
0.21.4-2· all · trixieFixed · Fixed:
0.18.11-1dsa · libraw · debian · 13
0.21.4-2· all · trixieFixed · Fixed:
0.18.11-1dsa · libraw · debian · 13
Observed: