{"id":"CVE-2018-5800","published":"2018-12-07T22:00:00Z","modified":"2024-08-05T05:47:54Z","title":"An off-by-one error within the \"LibRaw::kodak_ycbcr_load_raw()\" function (internal/dcraw_common.cpp) in LibRaw…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02548,"percentile":0.85299,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/LibRaw/LibRaw/blob/master/Changelog.txt","tags":["x_refsource_MISC"]},{"url":"https://secuniaresearch.flexerasoftware.com/secunia_research/2018-1/","tags":["x_refsource_MISC"]},{"url":"https://secuniaresearch.flexerasoftware.com/advisories/79000/","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.securityfocus.com/bid/104663","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://access.redhat.com/errata/RHSA-2018:3065","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://usn.ubuntu.com/3615-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/03/msg00036.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://github.com/LibRaw/LibRaw/commit/8682ad204392b914ab1cc6ebcca9c27c19c1a4b4","tags":["x_refsource_MISC"]}],"priority":{"score":17.1,"factors":[{"name":"EPSS percentile","points":17.06}]},"affectedVersions":[{"vendor":"n/a","product":"LibRaw","versions":["Prior to 0.18.7"]}],"euvd":{"id":"EUVD-2018-17567","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-cve-2013-2126-family-cve-2013-2126","parents":[{"from":"CVE-2013-2126","to":"CVE-2018-5800","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/libraw_cxx.cpp"],"commits":["https://github.com/LibRaw/LibRaw/commit/19ffddb0fe1a4ffdb459b797ffcf7f490d28b5a6","https://github.com/LibRaw/LibRaw/commit/8682ad204392b914ab1cc6ebcca9c27c19c1a4b4"],"basis":"shared function","functions":["unpack"]}]},{"from":"CVE-2017-14608","to":"CVE-2018-5800","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["dcraw/dcraw.c","internal/dcraw_common.cpp"],"commits":["https://github.com/LibRaw/LibRaw/commit/d13e8f6d1e987b7491182040a188c16a395f1d21","https://github.com/LibRaw/LibRaw/commit/8682ad204392b914ab1cc6ebcca9c27c19c1a4b4"],"basis":"shared function","functions":["kodak_65000_load_raw"]}]}],"children":[{"from":"CVE-2018-5800","to":"CVE-2018-5801","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["dcraw/dcraw.c","internal/dcraw_common.cpp","src/libraw_cxx.cpp"],"commits":["https://github.com/LibRaw/LibRaw/commit/8682ad204392b914ab1cc6ebcca9c27c19c1a4b4","https://github.com/LibRaw/LibRaw/commit/0df5490b985c419de008d32168650bff17128914"],"basis":"shared function","functions":["eight_bit_load_raw","foveon_huff","foveon_thumb","gamma_curve","kodak_65000_load_raw"]}]},{"from":"CVE-2018-5800","to":"CVE-2018-5804","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["dcraw/dcraw.c","internal/dcraw_common.cpp","libraw/libraw_version.h"],"commits":["https://github.com/LibRaw/LibRaw/commit/8682ad204392b914ab1cc6ebcca9c27c19c1a4b4","https://github.com/LibRaw/LibRaw/commit/9f26ce37f5be86ea11bfc6831366558650b1f6ff"],"basis":"shared function","functions":["quicktake_100_load_raw"]}]},{"from":"CVE-2018-5800","to":"CVE-2018-5805","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["dcraw/dcraw.c","internal/dcraw_common.cpp","libraw/libraw_version.h"],"commits":["https://github.com/LibRaw/LibRaw/commit/8682ad204392b914ab1cc6ebcca9c27c19c1a4b4","https://github.com/LibRaw/LibRaw/commit/9f26ce37f5be86ea11bfc6831366558650b1f6ff"],"basis":"shared function","functions":["quicktake_100_load_raw"]}]},{"from":"CVE-2018-5800","to":"CVE-2018-5806","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["dcraw/dcraw.c","internal/dcraw_common.cpp","libraw/libraw_version.h"],"commits":["https://github.com/LibRaw/LibRaw/commit/8682ad204392b914ab1cc6ebcca9c27c19c1a4b4","https://github.com/LibRaw/LibRaw/commit/9f26ce37f5be86ea11bfc6831366558650b1f6ff"],"basis":"shared function","functions":["quicktake_100_load_raw"]}]}]}}