CVEfocus › CVE database › CVE-2018-5802

CVE-2018-5802

CVSS 8.8 HighEPSS 2.0% (higher than 81% of CVEs)Published 2018-12-07Updated 2024-08-05Assigner: flexera

An error within the "kodak_radc_load_raw()" function (internal/dcraw_common.cpp) related to the "buf" variable in LibRaw versions prior to 0.18.7 can be exploited to cause an out-of-bounds read memory access and subsequently cause a crash.

What to do

Fixed builds are available from Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

7Fixed
6Fix pending
15Under investigation
32Will not fix
9Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10darktableFix pendingUBUNTU-CVE-2018-5802
Ubuntu 26.10dcrawFix pendingUBUNTU-CVE-2018-5802
Ubuntu 26.10exactimageFix pendingUBUNTU-CVE-2018-5802
Ubuntu 26.10kodiFix pendingUBUNTU-CVE-2018-5802
Ubuntu 26.10rawtherapeeFix pendingUBUNTU-CVE-2018-5802
Ubuntu 26.04darktableUnder investigationUBUNTU-CVE-2018-5802
Ubuntu 26.04dcrawUnder investigationUBUNTU-CVE-2018-5802
Ubuntu 26.04exactimageUnder investigationUBUNTU-CVE-2018-5802
Ubuntu 26.04kodiUnder investigationUBUNTU-CVE-2018-5802
Ubuntu 26.04librawNot affected
vulnerable_code_not_present
Ubuntu 26.04rawtherapeeUnder investigationUBUNTU-CVE-2018-5802
Ubuntu 25.10darktableWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2018-5802
Ubuntu 25.10dcrawWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2018-5802
Ubuntu 25.10exactimageWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2018-5802
Ubuntu 25.10kodiWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2018-5802
Ubuntu 25.10librawNot affected
vulnerable_code_not_present
Ubuntu 25.10rawtherapeeWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2018-5802
Ubuntu 24.04darktableUnder investigationUBUNTU-CVE-2018-5802
Ubuntu 24.04dcrawUnder investigationUBUNTU-CVE-2018-5802
Ubuntu 24.04exactimageUnder investigationUBUNTU-CVE-2018-5802
Ubuntu 24.04kodiUnder investigationUBUNTU-CVE-2018-5802
Ubuntu 24.04librawNot affected
vulnerable_code_not_present
Ubuntu 24.04rawtherapeeUnder investigationUBUNTU-CVE-2018-5802
Ubuntu 22.04darktableUnder investigationUBUNTU-CVE-2018-5802
Ubuntu 22.04dcrawUnder investigationUBUNTU-CVE-2018-5802
Ubuntu 22.04exactimageUnder investigationUBUNTU-CVE-2018-5802
Ubuntu 22.04kodiUnder investigationUBUNTU-CVE-2018-5802
Ubuntu 22.04librawNot affected
vulnerable_code_not_present
Ubuntu 22.04rawtherapeeUnder investigationUBUNTU-CVE-2018-5802
Ubuntu 20.04darktableWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2018-5802
Ubuntu 20.04dcrawWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2018-5802
Ubuntu 20.04exactimageWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2018-5802
Ubuntu 20.04kodiWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2018-5802
Ubuntu 20.04librawNot affected
vulnerable_code_not_present
Ubuntu 20.04rawtherapeeWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2018-5802
Ubuntu 18.04darktableWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2018-5802
Ubuntu 18.04dcrawWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2018-5802
Ubuntu 18.04exactimageWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2018-5802
Ubuntu 18.04kodiWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2018-5802
Ubuntu 18.04rawtherapeeWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2018-5802
Ubuntu 18.04ufrawWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2018-5802
Ubuntu 16.04darktableWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2018-5802
Ubuntu 16.04dcrawWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2018-5802
Ubuntu 16.04exactimageWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2018-5802
Ubuntu 16.04kodiWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2018-5802
Ubuntu 16.04librawFixed0.17.1-1ubuntu0.2UBUNTU-CVE-2018-5802
Ubuntu 16.04rawtherapeeWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2018-5802
Ubuntu 16.04ufrawWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2018-5802
Ubuntu 14.04darktableWill not fix
Ubuntu decided not to fix this in this release
Ubuntu 14.04dcrawWill not fix
Ubuntu decided not to fix this in this release
Ubuntu 14.04exactimageWill not fix
Ubuntu decided not to fix this in this release
Ubuntu 14.04librawFixed0.15.4-1ubuntu0.2UBUNTU-CVE-2018-5802
Ubuntu 14.04rawtherapeeWill not fix
Ubuntu decided not to fix this in this release
Ubuntu 14.04ufrawWill not fix
Ubuntu decided not to fix this in this release
Ubuntu 14.04xbmcWill not fix
Ubuntu decided not to fix this in this release
Debian 14librawFixed0.18.7-1DEBIAN-CVE-2018-5802
Debian 13librawFixed0.18.7-1DEBIAN-CVE-2018-5802
Debian 12librawFixed0.18.7-1DEBIAN-CVE-2018-5802
Red Hat Enterprise Linux 8LibRawNot affected
Red Hat Enterprise Linux 8LibRaw-develNot affected
Red Hat Enterprise Linux 8dcrawNot affected
Red Hat Enterprise Linux 7LibRawWill not fix
Will not fix
Red Hat Enterprise Linux 7LibRaw-develWill not fix
Will not fix
Red Hat Enterprise Linux 7LibRaw-staticWill not fix
Will not fix
Red Hat Enterprise Linux 7dcrawNot affected
Red Hat Enterprise Linux 7libkdcrawFixed0:4.10.5-5.el7RHSA-2018:3065
Red Hat Enterprise Linux 7libkdcraw-develFixed0:4.10.5-5.el7RHSA-2018:3065
Red Hat Enterprise Linux 6dcrawFix pending
Fix deferred
Red Hat Enterprise Linux 5dcrawWill not fix
Will not fix

What the vendor says

As published in the CVE record by flexera, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.