{"id":"CVE-2020-14152","aliases":["AZL-45315","DEBIAN-CVE-2020-14152","DLA-2302-1","EUVD-2020-6309","GHSA-q4xh-9r6f-9fg6","UBUNTU-CVE-2020-14152","USN-5336-1","USN-5497-1","USN-5497-2","USN-5553-1"],"status":"published","title":"In IJG JPEG (aka libjpeg) before 9d, jpeg_mem_available() in jmemnobs.c in djpeg does not honor...","description":"In IJG JPEG (aka libjpeg) before 9d, jpeg_mem_available() in jmemnobs.c in djpeg does not honor the max_memory_to_use setting, possibly causing excessive memory consumption.","severity":{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01488,"percentile":0.74253,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-400"],"published":"2020-06-15T16:51:50Z","modified":"2026-10-26T12:02:26Z","fixes":[{"ecosystem":"Azure Linux:3","package":"fltk","fixed_in":["1.3.8-1"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"libjpeg-turbo","fixed_in":["1:1.5.2-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"libjpeg-turbo","fixed_in":["1:1.5.2-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"libjpeg-turbo","fixed_in":["1:1.5.2-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:14.04:LTS","package":"libjpeg-turbo","fixed_in":["1.3.0-0ubuntu2.1+esm2"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:14.04:LTS","package":"libjpeg6b","fixed_in":["6b1-4ubuntu1+esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"libjpeg-turbo","fixed_in":["1.4.2-0ubuntu3.4+esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"libjpeg6b","fixed_in":["1:6b2-2ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"libjpeg9","fixed_in":["1:9b-1ubuntu1+esm1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Azure Linux:3","package":"fltk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.8-1"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"libjpeg-turbo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.5.2-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"libjpeg-turbo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.5.2-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"libjpeg-turbo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.5.2-1"}]}]},{"source":"osv","ecosystem":"Debian:9","package":"libjpeg-turbo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.5.1-2+deb9u1"}]}],"versions":["1:1.5.1-2"],"bundled":4},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"libjpeg-turbo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.0-0ubuntu2.1+esm2"}]}],"versions":["1.3.0-0ubuntu1","1.3.0-0ubuntu2","1.3.0-0ubuntu2.1","1.3.0-0ubuntu2.1+esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"libjpeg6b","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6b1-4ubuntu1+esm1"}]}],"versions":["6b1-3ubuntu1","6b1-4ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"libjpeg-turbo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.2-0ubuntu3.4+esm1"}]}],"versions":["1.3.0-0ubuntu2","1.4.2-0ubuntu1","1.4.2-0ubuntu2","1.4.2-0ubuntu3","1.4.2-0ubuntu3.1","1.4.2-0ubuntu3.3","1.4.2-0ubuntu3.4"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"libjpeg6b","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:6b2-2ubuntu0.1~esm1"}]}],"versions":["1:6b2-2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"libjpeg9","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:9b-1ubuntu1+esm1"}]}],"versions":["1:9a-2ubuntu1","1:9b-1","1:9b-1ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"libjpeg6b","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:6b2-3"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"libjpeg9","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:9b-2"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"libjpeg6b","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:6b2-3"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"libjpeg6b","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:6b2-3"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"libjpeg6b","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:6b2-3.1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"libjpeg6b","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:6b2-4"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"libjpeg6b","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:6b2-4build1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"libjpeg6b","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:6b2-4","1:6b2-4build1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"libjpeg9","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:9b-1ubuntu1+esm1"}]}],"versions":["1:9a-2ubuntu1","1:9b-1","1:9b-1ubuntu1"],"bundled":7},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"libjpeg6b","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6b1-4ubuntu1+esm1"}]}],"versions":["6b1-3ubuntu1","6b1-4ubuntu1"],"bundled":5},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"libjpeg6b","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:6b2-2ubuntu0.1~esm1"}]}],"versions":["1:6b2-2"],"bundled":5},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"libjpeg-turbo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.0-0ubuntu2.1+esm2"}]}],"versions":["1.3.0-0ubuntu1","1.3.0-0ubuntu2","1.3.0-0ubuntu2.1","1.3.0-0ubuntu2.1+esm1"],"bundled":4},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"libjpeg-turbo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.2-0ubuntu3.4+esm1"}]}],"versions":["1.3.0-0ubuntu2","1.4.2-0ubuntu1","1.4.2-0ubuntu2","1.4.2-0ubuntu3","1.4.2-0ubuntu3.1","1.4.2-0ubuntu3.3","1.4.2-0ubuntu3.4"],"bundled":4}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"ijg","product":"libjpeg"}],"references":[{"url":"https://bugs.gentoo.org/727908","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Third Party Advisory","report"]},{"url":"http://www.ijg.org/files/jpegsrc.v9d.tar.gz","tags":["x_refsource_MISC","x_transferred","Product","web","report"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/07/msg00033.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-14152","tags":["web"]},{"url":"https://github.com/advisories/GHSA-q4xh-9r6f-9fg6"},{"url":"https://security-tracker.debian.org/tracker/CVE-2020-14152","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2020-14152","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-5497-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/notices/USN-5553-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/notices/USN-5497-2","tags":["advisory"]},{"url":"https://ubuntu.com/security/notices/USN-5336-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-14152","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2016-3616","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-11212","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-11213","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-11214","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-11813","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2020-14153","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-14498","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2020-17541","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2020-14152","description":"In IJG JPEG (aka libjpeg) before 9d, jpeg_mem_available() in jmemnobs.c in djpeg does not honor the max_memory_to_use setting, possibly causing excessive memory consumption.","status":"published","published":"2020-06-15T16:51:50Z","modified":"2024-08-04T12:39:36.017Z","updated_at":"2026-11-02T14:35:46.476719Z"}],"euvd":[{"id":"EUVD-2020-6309","description":"In IJG JPEG (aka libjpeg) before 9d, jpeg_mem_available() in jmemnobs.c in djpeg does not honor the max_memory_to_use setting, possibly causing excessive memory consumption.","status":"published","published":"2020-06-15T16:51:50Z","modified":"2024-08-04T12:39:36Z","updated_at":"2026-11-03T03:07:35.099081Z"}],"ghsa":[{"id":"GHSA-q4xh-9r6f-9fg6","title":"In IJG JPEG (aka libjpeg) before 9d, jpeg_mem_available() in jmemnobs.c in djpeg does not honor...","description":"In IJG JPEG (aka libjpeg) before 9d, jpeg_mem_available() in jmemnobs.c in djpeg does not honor the max_memory_to_use setting, possibly causing excessive memory consumption.","status":"published","published":"2022-05-24T17:20:33Z","modified":"2023-03-07T05:07:14Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H","level":"high"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T14:54:16.644116Z"}],"nvd":[{"id":"CVE-2020-14152","description":"In IJG JPEG (aka libjpeg) before 9d, jpeg_mem_available() in jmemnobs.c in djpeg does not honor the max_memory_to_use setting, possibly causing excessive memory consumption.","status":"published","published":"2020-06-15T17:15:10.573Z","modified":"2026-06-17T02:54:18.023Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5.8,"vector":"AV:N/AC:M/Au:N/C:P/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T14:06:07.249892Z"}],"osv":[{"id":"AZL-45315","title":"CVE-2020-14152 affecting package fltk for versions less than 1.3.8-1","description":"In IJG JPEG (aka libjpeg) before 9d, jpeg_mem_available() in jmemnobs.c in djpeg does not honor the max_memory_to_use setting, possibly causing excessive memory consumption.","status":"published","published":"2020-06-15T17:15:10Z","modified":"2026-04-21T04:48:25.491834Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:28:05.694722Z"},{"id":"CVE-2020-14152","description":"In IJG JPEG (aka libjpeg) before 9d, jpeg_mem_available() in jmemnobs.c in djpeg does not honor the max_memory_to_use setting, possibly causing excessive memory consumption.","status":"published","published":"2020-06-15T17:15:10.573Z","modified":"2026-03-14T01:31:18.092479Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:14.418339Z"},{"id":"DEBIAN-CVE-2020-14152","description":"In IJG JPEG (aka libjpeg) before 9d, jpeg_mem_available() in jmemnobs.c in djpeg does not honor the max_memory_to_use setting, possibly causing excessive memory consumption.","status":"published","published":"2020-06-15T17:15:10.573Z","modified":"2026-10-26T12:02:26.177429453Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:32.862554Z"},{"id":"UBUNTU-CVE-2020-14152","description":"In IJG JPEG (aka libjpeg) before 9d, jpeg_mem_available() in jmemnobs.c in djpeg does not honor the max_memory_to_use setting, possibly causing excessive memory consumption.","status":"published","published":"2020-06-15T17:15:00Z","modified":"2026-10-17T12:55:51.843238905Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:22.804634Z"},{"id":"DLA-2302-1","title":"libjpeg-turbo - security update","status":"published","published":"2020-07-31T00:00:00Z","modified":"2026-03-09T01:19:08.322972Z","updated_at":"2026-11-02T15:46:10.227108Z"},{"id":"USN-5336-1","title":"libjpeg9 vulnerabilities","description":"Aladdin Mubaied discovered that the cjpeg utility in libjpeg9 did not properly\nvalidate the input image's size. An attacker could possibly use this issue to\ncause a denial of service or execute arbitrary code. (CVE-2016-3616)\n\nIt was discovered that the cjpeg utility in libjpeg9 incorrectly handled\ncertain input. An attacker could possibly use these issues to cause a denial of\nservice. (CVE-2018-11212, CVE-2018-11813, CVE-2020-14152, CVE-2020-14153)\n\nIt was discovered that the cjpeg utility in libjpeg9 incorrectly handled\nmemory when supplied with certain input. An attacker could possibly use these\nissues to cause a denial of service or execute arbitrary code.\n(CVE-2018-11213, CVE-2018-11214)\n","status":"published","published":"2022-03-23T12:40:00Z","modified":"2026-06-25T13:31:05.277712278Z","updated_at":"2026-11-02T16:58:15.683829Z"},{"id":"USN-5497-1","title":"libjpeg6b vulnerabilities","description":"It was discovered that Libjpeg6b was not properly performing bounds\nchecks when compressing PPM and Targa image files. An attacker could\npossibly use this issue to cause a denial of service.\n(CVE-2018-11212)\n\nChijin Zhou discovered that Libjpeg6b was incorrectly handling the\nEOF character in input data when generating JPEG files. An attacker\ncould possibly use this issue to force the execution of a large loop,\nforce excessive memory consumption, and cause a denial of service.\n(CVE-2018-11813)\n\nSheng Shu and Dongdong She discovered that Libjpeg6b was not properly\nlimiting the amount of memory being used when it was performing\ndecompression or multi-pass compression operations. An attacker could\npossibly use this issue to force excessive memory consumption and\ncause a denial of service. (CVE-2020-14152)\n","status":"published","published":"2022-06-30T12:54:31Z","modified":"2026-06-29T13:49:39.229984442Z","updated_at":"2026-11-02T16:58:16.20937Z"},{"id":"USN-5497-2","title":"libjpeg6b vulnerabilities","description":"USN-5497-1 fixed vulnerabilities in Libjpeg6b. This update provides\nthe corresponding updates for Ubuntu 16.04 ESM.\n\nOriginal advisory details:\n\n It was discovered that Libjpeg6b was not properly performing bounds\n checks when compressing PPM and Targa image files. An attacker could\n possibly use this issue to cause a denial of service.\n (CVE-2018-11212)\n\n Chijin Zhou discovered that Libjpeg6b was incorrectly handling the\n EOF character in input data when generating JPEG files. An attacker\n could possibly use this issue to force the execution of a large loop,\n force excessive memory consumption, and cause a denial of service.\n (CVE-2018-11813)\n\n Sheng Shu and Dongdong She discovered that Libjpeg6b was not properly\n limiting the amount of memory being used when it was performing\n decompression or multi-pass compression operations. An attacker could\n possibly use this issue to force excessive memory consumption and\n cause a denial of service. (CVE-2020-14152)\n","status":"published","published":"2022-06-30T14:35:28Z","modified":"2026-06-25T13:31:16.656823525Z","updated_at":"2026-11-02T16:58:16.20937Z"},{"id":"USN-5553-1","title":"libjpeg-turbo vulnerabilities","description":"It was discovered that libjpeg-turbo was not properly handling EOF characters,\nwhich could lead to excessive memory consumption through the execution of a\nlarge loop. An attacker could possibly use this issue to cause a denial of\nservice. (CVE-2018-11813)\n\nIt was discovered that libjpeg-turbo was not properly performing bounds\ncheck operations, which could lead to a heap-based buffer overread. If a user\nor automated system were tricked into opening a specially crafted file, an\nattacker could possibly use this issue to cause a denial of service. This\nissue only affected Ubuntu 14.04 ESM. (CVE-2018-14498)\n\nIt was discovered that libjpeg-turbo was not properly limiting the amount of\nmain memory being consumed by the system during decompression or multi-pass\ncompression operations, which could lead to excessive memory consumption. An\nattacker could possibly use this issue to cause a denial of service.\n(CVE-2020-14152)\n\nIt was discovered that libjpeg-turbo was not properly setting variable sizes\nwhen performing certain kinds of encoding operations, which could lead to a\nstack-based buffer overflow. If a user or automated system were tricked into\nopening a specially crafted file, an attacker could possibly use this issue to\ncause a denial of service. (CVE-2020-17541)\n","status":"published","published":"2022-08-08T12:06:20Z","modified":"2026-06-29T13:49:40.215117423Z","updated_at":"2026-11-02T16:58:16.20937Z"}]}}
