{"id":"CVE-2019-12214","aliases":["DEBIAN-CVE-2019-12214","EUVD-2019-3859","GHSA-4fj8-c7x8-6q88","UBUNTU-CVE-2019-12214"],"status":"published","title":"In FreeImage 3.18.0, an out-of-bounds access occurs because of mishandling of the OpenJPEG...","description":"In FreeImage 3.18.0, an out-of-bounds access occurs because of mishandling of the OpenJPEG j2k_read_ppm_v3 function in j2k.c. The value of l_N_ppm comes from the file read in, and the code does not consider that l_N_ppm may be greater than the size of p_header_data.","severity":{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01458,"percentile":0.73705,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-125"],"published":"2019-05-20T15:05:34Z","modified":"2026-10-17T12:55:38Z","affected":[{"source":"osv","ecosystem":"Debian:12","package":"freeimage","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.18.0+ds2-10","3.18.0+ds2-11","3.18.0+ds2-9","3.18.0+ds2-9+deb12u1","3.18.0+ds2-9.1"]},{"source":"osv","ecosystem":"Debian:13","package":"freeimage","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.18.0+ds2-11"]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"freeimage","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.15.1-2build1","3.15.1-2build2","3.15.4-2","3.15.4-3","3.15.4-3ubuntu0.1","3.15.4-3ubuntu0.1+esm1","3.15.4-3ubuntu0.1+esm2","3.15.4-3ubuntu0.1+esm3"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"freeimage","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.15.4-4.1build1","3.15.4-6","3.17.0+ds1-1.1","3.17.0+ds1-2","3.17.0+ds1-2ubuntu0.1","3.17.0+ds1-2ubuntu0.1+esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"freeimage","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.17.0+ds1-5build2","3.17.0+ds1-5+deb9u1build0.18.04.1","3.17.0+ds1-5+deb9u1ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"freeimage","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.18.0+ds2-1ubuntu1","3.18.0+ds2-1ubuntu2","3.18.0+ds2-1ubuntu3","3.18.0+ds2-1ubuntu3.1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"freeimage","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.18.0+ds2-6ubuntu3","3.18.0+ds2-6ubuntu4","3.18.0+ds2-6ubuntu5","3.18.0+ds2-6ubuntu5.1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"freeimage","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.18.0+ds2-9.1","3.18.0+ds2-10","3.18.0+ds2-10build2","3.18.0+ds2-10build3","3.18.0+ds2-10build4"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"freeimage","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.18.0+ds2-11"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"freeimage","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.18.0+ds2-11build1","3.18.0+ds2-11build2","3.18.0+ds2-11build3"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"freeimage","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.18.0+ds2-11","3.18.0+ds2-11build1"]}],"products":[{"vendor":"freeimage_project","product":"freeimage"}],"references":[{"url":"https://sourceforge.net/p/freeimage/discussion/36111/thread/e06734bed5/","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-12214"},{"url":"https://sourceforge.net/p/freeimage/discussion/36111/thread/e06734bed5"},{"url":"https://github.com/advisories/GHSA-4fj8-c7x8-6q88"},{"url":"https://security-tracker.debian.org/tracker/CVE-2019-12214","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2019-12214","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-12214","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2019-12214","description":"In FreeImage 3.18.0, an out-of-bounds access occurs because of mishandling of the OpenJPEG j2k_read_ppm_v3 function in j2k.c. The value of l_N_ppm comes from the file read in, and the code does not consider that l_N_ppm may be greater than the size of p_header_data.","status":"published","published":"2019-05-20T15:05:34Z","modified":"2024-08-04T23:17:38.131Z","updated_at":"2026-11-02T14:20:23.697579Z"}],"euvd":[{"id":"EUVD-2019-3859","description":"In FreeImage 3.18.0, an out-of-bounds access occurs because of mishandling of the OpenJPEG j2k_read_ppm_v3 function in j2k.c. The value of l_N_ppm comes from the file read in, and the code does not consider that l_N_ppm may be greater than the size of p_header_data.","status":"published","published":"2019-05-20T15:05:34Z","modified":"2024-08-04T23:17:38Z","updated_at":"2026-11-03T02:40:46.843701Z"}],"ghsa":[{"id":"GHSA-4fj8-c7x8-6q88","title":"In FreeImage 3.18.0, an out-of-bounds access occurs because of mishandling of the OpenJPEG...","description":"In FreeImage 3.18.0, an out-of-bounds access occurs because of mishandling of the OpenJPEG j2k_read_ppm_v3 function in j2k.c. The value of l_N_ppm comes from the file read in, and the code does not consider that l_N_ppm may be greater than the size of p_header_data.","status":"published","published":"2022-05-24T16:46:07Z","modified":"2024-04-04T00:42:45Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:55:51.119563Z"}],"nvd":[{"id":"CVE-2019-12214","description":"In FreeImage 3.18.0, an out-of-bounds access occurs because of mishandling of the OpenJPEG j2k_read_ppm_v3 function in j2k.c. The value of l_N_ppm comes from the file read in, and the code does not consider that l_N_ppm may be greater than the size of p_header_data.","status":"published","published":"2019-05-20T16:29:01.24Z","modified":"2026-06-17T02:14:15.483Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:05:13.880207Z"}],"osv":[{"id":"CVE-2019-12214","description":"In FreeImage 3.18.0, an out-of-bounds access occurs because of mishandling of the OpenJPEG j2k_read_ppm_v3 function in j2k.c. The value of l_N_ppm comes from the file read in, and the code does not consider that l_N_ppm may be greater than the size of p_header_data.","status":"published","published":"2019-05-20T16:29:01.24Z","modified":"2026-03-14T09:32:00.212673Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:10.718934Z"},{"id":"DEBIAN-CVE-2019-12214","description":"In FreeImage 3.18.0, an out-of-bounds access occurs because of mishandling of the OpenJPEG j2k_read_ppm_v3 function in j2k.c. The value of l_N_ppm comes from the file read in, and the code does not consider that l_N_ppm may be greater than the size of p_header_data.","status":"published","published":"2019-05-20T16:29:01.24Z","modified":"2026-10-09T17:00:04.589648019Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:31.467893Z"},{"id":"UBUNTU-CVE-2019-12214","description":"In FreeImage 3.18.0, an out-of-bounds access occurs because of mishandling of the OpenJPEG j2k_read_ppm_v3 function in j2k.c. The value of l_N_ppm comes from the file read in, and the code does not consider that l_N_ppm may be greater than the size of p_header_data.","status":"published","published":"2019-05-20T16:29:00Z","modified":"2026-10-17T12:55:38.209254069Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:19.202697Z"}]}}
