CVE-2018-5800
published 2018-12-07CVE-2018-5800: 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…
PriorityP430medium6.5CVSS 3.1
AVNACLPRNUIRSUCNINAH
EPSS
2.55%
83.4th percentile
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
14 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | debian_linux | — | — |
| debian | libraw | < libraw 0.18.7-1 (bookworm) | libraw 0.18.7-1 (bookworm) |
| libraw | libraw | < 0.18.7 | 0.18.7 |
| libraw | libraw | — | — |
| libraw | libraw | >= 0 < 0.18.7-1 | 0.18.7-1 |
| libraw | libraw | >= 0 < 0.18.7-1 | 0.18.7-1 |
| libraw | libraw | >= 0 < 0.18.7-1 | 0.18.7-1 |
| libraw | libraw | >= 0 < 0.18.7-1 | 0.18.7-1 |
| redhat | enterprise_linux_desktop | — | — |
| redhat | enterprise_linux_server | — | — |
| redhat | enterprise_linux_workstation | — | — |
CVSS provenance
nvdv3.16.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:N/A:P
osv6.5MEDIUM
vendor_debian6.5MEDIUM
vendor_redhat6.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
LibRaw vulnerabilities
vendor_ubuntu·2018-04-03
CVE-2017-16909 LibRaw vulnerabilities
Title: LibRaw vulnerabilities
Summary: LibRaw could be made to crash or run programs as your login if it opened a
specially crafted file.
It was discovered that LibRaw incorrectly handled photo files. If a user or
automated system were tricked into processing a specially crafted photo
file, a remote attacker could cause applications linked against LibRaw to
crash, resulting in a denial of service, or possibly execute arbitrary
code.
Instructions: After a standard system update you need to restart your session to make
all the necessary changes.
Red Hat
LibRaw: Heap-based buffer overflow in LibRaw::kodak_ycbcr_load_raw function in internal/dcraw_common.cpp
vendor_redhat·2018-01-30·CVSS 6.5
CVE-2018-5800 [MEDIUM] CWE-122 LibRaw: Heap-based buffer overflow in LibRaw::kodak_ycbcr_load_raw function in internal/dcraw_common.cpp
LibRaw: Heap-based buffer overflow in LibRaw::kodak_ycbcr_load_raw function in internal/dcraw_common.cpp
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.
A heap-based out-of-bounds access flaw was found in the way LibRaw processed images. An attacker could potentially use this flaw to crash applications using LibRaw by tricking them into processing crafted images.
Package: dcraw (Red Hat Enterprise Linux 5) - Not affected
Package: dcraw (Red Hat Enterprise Linux 6) - Not affected
Package: dcraw (Red Hat Enterprise Linux 7) - Not affected
Package: LibRaw (Red Hat Enterprise Linux 7) - Will not fix
Package: dcraw
Debian
CVE-2018-5800: libraw - An off-by-one error within the "LibRaw::kodak_ycbcr_load_raw()" function (intern...
vendor_debian·2018·CVSS 6.5
CVE-2018-5800 [MEDIUM] CVE-2018-5800: libraw - An off-by-one error within the "LibRaw::kodak_ycbcr_load_raw()" function (intern...
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.
Scope: local
bookworm: resolved (fixed in 0.18.7-1)
bullseye: resolved (fixed in 0.18.7-1)
forky: resolved (fixed in 0.18.7-1)
sid: resolved (fixed in 0.18.7-1)
trixie: resolved (fixed in 0.18.7-1)
GHSA
GHSA-5qjx-g7m8-vp5f: An off-by-one error within the "LibRaw::kodak_ycbcr_load_raw()" function (internal/dcraw_common
ghsa_unreviewed·2022-05-13
CVE-2018-5800 [MEDIUM] CWE-787 GHSA-5qjx-g7m8-vp5f: An off-by-one error within the "LibRaw::kodak_ycbcr_load_raw()" function (internal/dcraw_common
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.
OSV
CVE-2018-5800: An off-by-one error within the "LibRaw::kodak_ycbcr_load_raw()" function (internal/dcraw_common
osv·2018-12-07·CVSS 6.5
CVE-2018-5800 [MEDIUM] CVE-2018-5800: An off-by-one error within the "LibRaw::kodak_ycbcr_load_raw()" function (internal/dcraw_common
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.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-5800 LibRaw: Heap-based buffer overflow in LibRaw::kodak_ycbcr_load_raw function in internal/dcraw_common.cpp [fedora-all]
bugzilla·2020-04-22·CVSS 6.5
CVE-2018-5800 [MEDIUM] CVE-2018-5800 LibRaw: Heap-based buffer overflow in LibRaw::kodak_ycbcr_load_raw function in internal/dcraw_common.cpp [fedora-all]
CVE-2018-5800 LibRaw: Heap-based buffer overflow in LibRaw::kodak_ycbcr_load_raw function in internal/dcraw_common.cpp [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
Bugzilla
CVE-2018-5800 mingw-LibRaw: LibRaw: Heap-based buffer overflow in LibRaw::kodak_ycbcr_load_raw function in internal/dcraw_common.cpp [fedora-all]
bugzilla·2020-04-22·CVSS 6.5
CVE-2018-5800 [MEDIUM] CVE-2018-5800 mingw-LibRaw: LibRaw: Heap-based buffer overflow in LibRaw::kodak_ycbcr_load_raw function in internal/dcraw_common.cpp [fedora-all]
CVE-2018-5800 mingw-LibRaw: LibRaw: Heap-based buffer overflow in LibRaw::kodak_ycbcr_load_raw function in internal/dcraw_common.cpp [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg c
Bugzilla
CVE-2018-5800 rawtherapee: LibRaw: Heap-based buffer overflow in LibRaw::kodak_ycbcr_load_raw function in internal/dcraw_common.cpp [fedora-all]
bugzilla·2020-04-22·CVSS 6.5
CVE-2018-5800 [MEDIUM] CVE-2018-5800 rawtherapee: LibRaw: Heap-based buffer overflow in LibRaw::kodak_ycbcr_load_raw function in internal/dcraw_common.cpp [fedora-all]
CVE-2018-5800 rawtherapee: LibRaw: Heap-based buffer overflow in LibRaw::kodak_ycbcr_load_raw function in internal/dcraw_common.cpp [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg co
Bugzilla
CVE-2018-5800 dcraw: LibRaw: Heap-based buffer overflow in LibRaw::kodak_ycbcr_load_raw function in internal/dcraw_common.cpp [fedora-all]
bugzilla·2020-04-22·CVSS 6.5
CVE-2018-5800 [MEDIUM] CVE-2018-5800 dcraw: LibRaw: Heap-based buffer overflow in LibRaw::kodak_ycbcr_load_raw function in internal/dcraw_common.cpp [fedora-all]
CVE-2018-5800 dcraw: LibRaw: Heap-based buffer overflow in LibRaw::kodak_ycbcr_load_raw function in internal/dcraw_common.cpp [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit m
Bugzilla
CVE-2018-5800 LibRaw: Heap-based buffer overflow in LibRaw::kodak_ycbcr_load_raw function in internal/dcraw_common.cpp [epel-6]
bugzilla·2020-04-22·CVSS 6.5
CVE-2018-5800 [MEDIUM] CVE-2018-5800 LibRaw: Heap-based buffer overflow in LibRaw::kodak_ycbcr_load_raw function in internal/dcraw_common.cpp [epel-6]
CVE-2018-5800 LibRaw: Heap-based buffer overflow in LibRaw::kodak_ycbcr_load_raw function in internal/dcraw_common.cpp [epel-6]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-6.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
Discu
Bugzilla
CVE-2018-5800 libkdcraw: LibRaw: Heap-based buffer overflow in LibRaw::kodak_ycbcr_load_raw function in internal/dcraw_common.cpp [fedora-all]
bugzilla·2020-04-22·CVSS 6.5
CVE-2018-5800 [MEDIUM] CVE-2018-5800 libkdcraw: LibRaw: Heap-based buffer overflow in LibRaw::kodak_ycbcr_load_raw function in internal/dcraw_common.cpp [fedora-all]
CVE-2018-5800 libkdcraw: LibRaw: Heap-based buffer overflow in LibRaw::kodak_ycbcr_load_raw function in internal/dcraw_common.cpp [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg comm
Bugzilla
CVE-2018-5800 LibRaw: Heap-based buffer overflow in LibRaw::kodak_ycbcr_load_raw function in internal/dcraw_common.cpp
bugzilla·2018-03-08·CVSS 6.5
CVE-2018-5800 [MEDIUM] CVE-2018-5800 LibRaw: Heap-based buffer overflow in LibRaw::kodak_ycbcr_load_raw function in internal/dcraw_common.cpp
CVE-2018-5800 LibRaw: Heap-based buffer overflow in LibRaw::kodak_ycbcr_load_raw function in internal/dcraw_common.cpp
An off-by-one error within the "LibRaw::kodak_ycbcr_load_raw()" function (internal/dcraw_common.cpp) can be exploited to cause a heap-based buffer overflow and subsequently cause a crash.
External References:
https://packetstormsecurity.com/files/146172/secunia-libraw.txt
Upstream Patch:
https://github.com/LibRaw/LibRaw/commit/8682ad204392b91
Discussion:
This was fixed in LibRaw-0.18.7. The commit message has 7 typoed as 17.
---
This issue has been addressed in the following products:
Red Hat Enterprise Linux 7
Via RHSA-2018:3065 https://access.redhat.com/errata/RHSA-2018:3065
---
Created LibRaw tracking bugs for this issue:
Affects: epel-6 [bug 1826579]
Affe
http://www.securityfocus.com/bid/104663https://access.redhat.com/errata/RHSA-2018:3065https://github.com/LibRaw/LibRaw/blob/master/Changelog.txthttps://github.com/LibRaw/LibRaw/commit/8682ad204392b914ab1cc6ebcca9c27c19c1a4b4https://lists.debian.org/debian-lts-announce/2019/03/msg00036.htmlhttps://secuniaresearch.flexerasoftware.com/advisories/79000/https://secuniaresearch.flexerasoftware.com/secunia_research/2018-1/https://usn.ubuntu.com/3615-1/http://www.securityfocus.com/bid/104663https://access.redhat.com/errata/RHSA-2018:3065https://github.com/LibRaw/LibRaw/blob/master/Changelog.txthttps://github.com/LibRaw/LibRaw/commit/8682ad204392b914ab1cc6ebcca9c27c19c1a4b4https://lists.debian.org/debian-lts-announce/2019/03/msg00036.htmlhttps://secuniaresearch.flexerasoftware.com/advisories/79000/https://secuniaresearch.flexerasoftware.com/secunia_research/2018-1/https://usn.ubuntu.com/3615-1/
2018-12-07
Published