Heap-based Buffer Overflow Affecting libkdcraw-devel package, versions <0:4.10.5-5.el7


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.44% (75th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL7-LIBKDCRAWDEVEL-4893677
  • published26 Jul 2021
  • disclosed30 Jan 2018

Introduced: 30 Jan 2018

CVE-2018-5802  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade RHEL:7 libkdcraw-devel to version 0:4.10.5-5.el7 or higher.
This issue was patched in RHSA-2018:3065.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libkdcraw-devel package and not the libkdcraw-devel package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

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.

CVSS Scores

version 3.1