CVE-2018-20365
published 2018-12-22CVE-2018-20365: LibRaw::raw2image() in libraw_cxx.cpp has a heap-based buffer overflow.
PriorityP429medium6.5CVSS 3.0
AVNACLPRNUIRSUCNINAH
EPSS
2.78%
84.9th percentile
LibRaw::raw2image() in libraw_cxx.cpp has a heap-based buffer overflow.
Affected
6 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | libraw | < libraw 0.19.2-2 (bookworm) | libraw 0.19.2-2 (bookworm) |
| libraw | libraw | <= 0.19.1 | — |
| libraw | libraw | >= 0 < 0.19.2-2 | 0.19.2-2 |
| libraw | libraw | >= 0 < 0.19.2-2 | 0.19.2-2 |
| libraw | libraw | >= 0 < 0.19.2-2 | 0.19.2-2 |
| libraw | libraw | >= 0 < 0.19.2-2 | 0.19.2-2 |
CVSS provenance
nvdv3.06.5MEDIUMCVSS:3.0/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·2019-05-21
CVE-2018-20337 LibRaw vulnerabilities
Title: LibRaw vulnerabilities
Summary: Several security issues were fixed in LibRaw.
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::raw2image() resulting in a denial of service
vendor_redhat·2018-12-21·CVSS 6.5
CVE-2018-20365 [MEDIUM] CWE-122 libraw: Heap-based buffer overflow in LibRaw::raw2image() resulting in a denial of service
libraw: Heap-based buffer overflow in LibRaw::raw2image() resulting in a denial of service
LibRaw::raw2image() in libraw_cxx.cpp has a heap-based buffer overflow.
Package: LibRaw (Red Hat Enterprise Linux 7) - Will not fix
Package: LibRaw (Red Hat Enterprise Linux 8) - Will not fix
Debian
CVE-2018-20365: libraw - LibRaw::raw2image() in libraw_cxx.cpp has a heap-based buffer overflow.
vendor_debian·2018·CVSS 6.5
CVE-2018-20365 [MEDIUM] CVE-2018-20365: libraw - LibRaw::raw2image() in libraw_cxx.cpp has a heap-based buffer overflow.
LibRaw::raw2image() in libraw_cxx.cpp has a heap-based buffer overflow.
Scope: local
bookworm: resolved (fixed in 0.19.2-2)
bullseye: resolved (fixed in 0.19.2-2)
forky: resolved (fixed in 0.19.2-2)
sid: resolved (fixed in 0.19.2-2)
trixie: resolved (fixed in 0.19.2-2)
GHSA
GHSA-522g-34pj-rxpr: LibRaw::raw2image() in libraw_cxx
ghsa_unreviewed·2022-05-13
CVE-2018-20365 [MEDIUM] CWE-787 GHSA-522g-34pj-rxpr: LibRaw::raw2image() in libraw_cxx
LibRaw::raw2image() in libraw_cxx.cpp has a heap-based buffer overflow.
OSV
CVE-2018-20365: LibRaw::raw2image() in libraw_cxx
osv·2018-12-22·CVSS 6.5
CVE-2018-20365 [MEDIUM] CVE-2018-20365: LibRaw::raw2image() in libraw_cxx
LibRaw::raw2image() in libraw_cxx.cpp has a heap-based buffer overflow.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-20363 CVE-2018-20364 CVE-2018-20365 LibRaw: various flaws [fedora-all]
bugzilla·2019-01-07·CVSS 6.5
CVE-2018-20363 [MEDIUM] CVE-2018-20363 CVE-2018-20364 CVE-2018-20365 LibRaw: various flaws [fedora-all]
CVE-2018-20363 CVE-2018-20364 CVE-2018-20365 LibRaw: various flaws [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.
NOTE: this issue affects multiple supported versio
Bugzilla
CVE-2018-20363 CVE-2018-20364 CVE-2018-20365 mingw-LibRaw: various flaws [fedora-all]
bugzilla·2019-01-07·CVSS 6.5
CVE-2018-20363 [MEDIUM] CVE-2018-20363 CVE-2018-20364 CVE-2018-20365 mingw-LibRaw: various flaws [fedora-all]
CVE-2018-20363 CVE-2018-20364 CVE-2018-20365 mingw-LibRaw: various flaws [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.
NOTE: this issue affects multiple supported
Bugzilla
CVE-2018-20363 CVE-2018-20364 CVE-2018-20365 LibRaw: various flaws [epel-6]
bugzilla·2019-01-07·CVSS 6.5
CVE-2018-20363 [MEDIUM] CVE-2018-20363 CVE-2018-20364 CVE-2018-20365 LibRaw: various flaws [epel-6]
CVE-2018-20363 CVE-2018-20364 CVE-2018-20365 LibRaw: various flaws [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.
Discussion:
Use the following template to for the 'fedpkg
Bugzilla
CVE-2018-20365 libraw: Heap-based buffer overflow in LibRaw::raw2image() resulting in a denial of service
bugzilla·2019-01-07·CVSS 6.5
CVE-2018-20365 [MEDIUM] CVE-2018-20365 libraw: Heap-based buffer overflow in LibRaw::raw2image() resulting in a denial of service
CVE-2018-20365 libraw: Heap-based buffer overflow in LibRaw::raw2image() resulting in a denial of service
A Heap-based buffer overflow was found in LibRaw::raw2image() function. A maliciously crafted file could cause the application to crash.
Upstream issue:
https://github.com/LibRaw/LibRaw/issues/195
Discussion:
Created LibRaw tracking bugs for this issue:
Affects: epel-6 [bug 1663968]
Affects: fedora-all [bug 1663965]
Created mingw-LibRaw tracking bugs for this issue:
Affects: fedora-all [bug 1663967]
---
Upstream patch:
https://github.com/LibRaw/LibRaw/commit/9b5c50d5fdf6d1386a31f08ecdae3a752fe63d07
---
When opening Sinar raw images that enable filters, the image data are updated in the wrong way in libraw_cxx.cpp:open_datastream(), causing an heap-based buffer overflow in
2018-12-22
Published