{"id":"CVE-2017-17480","aliases":["ALPINE-CVE-2017-17480","BELL-CVE-2017-17480","DEBIAN-CVE-2017-17480","DLA-1579-1","DSA-4405-1","EUVD-2017-8642","GHSA-j9x9-9h4c-f6v6","MGASA-2019-0004","SUSE-SU-2018:1364-1","UBUNTU-CVE-2017-17480","USN-4109-1"],"status":"published","title":"In OpenJPEG 2.3.0, a stack-based buffer overflow was discovered in the pgxtovolume function in...","description":"In OpenJPEG 2.3.0, a stack-based buffer overflow was discovered in the pgxtovolume function in jp3d/convert.c. The vulnerability causes an out-of-bounds write, which may lead to remote denial of service or possibly remote code execution.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.05135,"percentile":0.9246,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-787"],"published":"2017-12-08T00:00:00Z","modified":"2026-10-20T10:49:01Z","fixes":[{"ecosystem":"Alpine:v3.10","package":"openjpeg","fixed_in":["2.3.0-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.11","package":"openjpeg","fixed_in":["2.3.0-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.12","package":"openjpeg","fixed_in":["2.3.0-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.13","package":"openjpeg","fixed_in":["2.3.0-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.14","package":"openjpeg","fixed_in":["2.3.0-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.15","package":"openjpeg","fixed_in":["2.3.0-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.16","package":"openjpeg","fixed_in":["2.3.0-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.17","package":"openjpeg","fixed_in":["2.3.0-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.18","package":"openjpeg","fixed_in":["2.3.0-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.19","package":"openjpeg","fixed_in":["2.3.0-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.20","package":"openjpeg","fixed_in":["2.3.0-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"openjpeg","fixed_in":["2.3.0-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"openjpeg","fixed_in":["2.3.0-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"openjpeg","fixed_in":["2.3.0-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"openjpeg","fixed_in":["2.3.0-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.6","package":"openjpeg","fixed_in":["2.3.0-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.7","package":"openjpeg","fixed_in":["2.3.0-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.8","package":"openjpeg","fixed_in":["2.3.0-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.9","package":"openjpeg","fixed_in":["2.3.0-r1"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"openjpeg2","fixed_in":["2.3.0-2"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"openjpeg2","fixed_in":["2.3.0-2"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"openjpeg2","fixed_in":["2.3.0-2"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"openjpeg2","fixed_in":["2.1.2-1.1+deb9u3build0.16.04.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:18.04:LTS","package":"openjpeg2","fixed_in":["2.3.0-2build0.18.04.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.10","package":"openjpeg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.0-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.11","package":"openjpeg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.0-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.12","package":"openjpeg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.0-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.13","package":"openjpeg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.0-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.14","package":"openjpeg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.0-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.15","package":"openjpeg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.0-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.16","package":"openjpeg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.0-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.17","package":"openjpeg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.0-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.18","package":"openjpeg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.0-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.19","package":"openjpeg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.0-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.20","package":"openjpeg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.0-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"openjpeg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.0-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"openjpeg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.0-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"openjpeg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.0-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"openjpeg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.0-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.6","package":"openjpeg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.0-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.7","package":"openjpeg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.0-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.8","package":"openjpeg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.0-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.9","package":"openjpeg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.0-r1"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"openjpeg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.0-2"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"openjpeg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.0-2"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"openjpeg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.0-2"}]}]},{"source":"osv","ecosystem":"Debian:8","package":"openjpeg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.0-2+deb8u5"}]}],"versions":["2.1.0-2","2.1.0-2+deb8u1","2.1.0-2+deb8u2","2.1.0-2+deb8u3","2.1.0-2+deb8u4"],"bundled":2},{"source":"osv","ecosystem":"Debian:9","package":"openjpeg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.2-1.1+deb9u3"}]}],"versions":["2.1.2-1.1","2.1.2-1.1+deb9u1","2.1.2-1.1+deb9u2"],"bundled":5},{"source":"osv","ecosystem":"Mageia:6","package":"openjpeg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.0-1.3.mga6"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP3","package":"openjpeg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.0-4.9.1"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP3","package":"openjpeg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.0-4.9.1"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP3","package":"openjpeg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.0-4.9.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"openjpeg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.2-1.1+deb9u3build0.16.04.1"}]}],"versions":["2.1.0-2.1","2.1.0-2.1ubuntu0.1","2.1.2-1.1+deb9u2build0.1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"openjpeg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.0-2build0.18.04.1"}]}],"versions":["2.2.0-1","2.3.0-1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"openjpeg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.0-2build0.18.04.1"}]}],"versions":["2.2.0-1","2.3.0-1"],"bundled":5}],"products":[{"vendor":"canonical","product":"ubuntu_linux"},{"vendor":"debian","product":"debian_linux"},{"vendor":"uclouvain","product":"openjpeg"}],"references":[{"url":"https://github.com/uclouvain/openjpeg/issues/1044","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","report"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/11/msg00018.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://www.debian.org/security/2019/dsa-4405","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory"]},{"url":"https://usn.ubuntu.com/4109-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-17480"},{"url":"https://usn.ubuntu.com/4109-1"},{"url":"https://github.com/advisories/GHSA-j9x9-9h4c-f6v6"},{"url":"https://security.alpinelinux.org/vuln/CVE-2017-17480","tags":["advisory"]},{"url":"https://docs.bell-sw.com/security/cves/CVE-2017-17480","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-17480","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2019-0004.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=23147","tags":["report"]},{"url":"https://lists.opensuse.org/opensuse-updates/2018-05/msg00086.html","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/HKAGXKPJ2Z4TMUR3TVLTQ7SMTTIYGJKK/","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/JAZ5ZQP5XJ23SE3ECBP4QQF2CGMK6USD/","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2018/suse-su-20181364-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1066713","tags":["report"]},{"url":"https://bugzilla.suse.com/1072124","tags":["report"]},{"url":"https://bugzilla.suse.com/1072125","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2015-1239","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-17479","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-17480","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2017-17480","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-4109-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-17480","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-5785","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-6616","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-14423","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-18088","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2017-17480","description":"In OpenJPEG 2.3.0, a stack-based buffer overflow was discovered in the pgxtovolume function in jp3d/convert.c. The vulnerability causes an out-of-bounds write, which may lead to remote denial of service or possibly remote code execution.","status":"published","published":"2017-12-08T19:00:00Z","modified":"2024-08-05T20:51:31.572Z","updated_at":"2026-11-02T14:33:18.248329Z"}],"euvd":[{"id":"EUVD-2017-8642","description":"In OpenJPEG 2.3.0, a stack-based buffer overflow was discovered in the pgxtovolume function in jp3d/convert.c. The vulnerability causes an out-of-bounds write, which may lead to remote denial of service or possibly remote code execution.","status":"published","published":"2017-12-08T19:00:00Z","modified":"2024-08-05T20:51:31Z","updated_at":"2026-11-03T02:23:09.524502Z"}],"ghsa":[{"id":"GHSA-j9x9-9h4c-f6v6","title":"In OpenJPEG 2.3.0, a stack-based buffer overflow was discovered in the pgxtovolume function in...","description":"In OpenJPEG 2.3.0, a stack-based buffer overflow was discovered in the pgxtovolume function in jp3d/convert.c. The vulnerability causes an out-of-bounds write, which may lead to remote denial of service or possibly remote code execution.","status":"published","published":"2022-05-13T01:11:47Z","modified":"2025-04-20T03:50:37Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T15:01:56.679657Z"}],"nvd":[{"id":"CVE-2017-17480","description":"In OpenJPEG 2.3.0, a stack-based buffer overflow was discovered in the pgxtovolume function in jp3d/convert.c. The vulnerability causes an out-of-bounds write, which may lead to remote denial of service or possibly remote code execution.","status":"published","published":"2017-12-08T19:29:00.227Z","modified":"2026-06-17T01:10:51.64Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:04:10.156892Z"}],"osv":[{"id":"ALPINE-CVE-2017-17480","description":"In OpenJPEG 2.3.0, a stack-based buffer overflow was discovered in the pgxtovolume function in jp3d/convert.c. The vulnerability causes an out-of-bounds write, which may lead to remote denial of service or possibly remote code execution.","status":"published","published":"2017-12-08T19:29:00.227Z","modified":"2026-06-15T18:18:06.784692363Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:27:46.716249Z"},{"id":"BELL-CVE-2017-17480","title":"CVE-2017-17480 does not affect BellSoft software","status":"withdrawn","published":"2023-08-31T12:15:45.35471Z","modified":"2026-01-26T09:47:31.295429Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:28:14.137943Z"},{"id":"CVE-2017-17480","description":"In OpenJPEG 2.3.0, a stack-based buffer overflow was discovered in the pgxtovolume function in jp3d/convert.c. The vulnerability causes an out-of-bounds write, which may lead to remote denial of service or possibly remote code execution.","status":"published","published":"2017-12-08T19:29:00.227Z","modified":"2026-10-20T10:49:01.701473872Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:04.853379Z"},{"id":"DEBIAN-CVE-2017-17480","description":"In OpenJPEG 2.3.0, a stack-based buffer overflow was discovered in the pgxtovolume function in jp3d/convert.c. The vulnerability causes an out-of-bounds write, which may lead to remote denial of service or possibly remote code execution.","status":"published","published":"2017-12-08T19:29:00.227Z","modified":"2026-09-01T20:03:45.587708344Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:45:29.100767Z"},{"id":"UBUNTU-CVE-2017-17480","description":"In OpenJPEG 2.3.0, a stack-based buffer overflow was discovered in the pgxtovolume function in jp3d/convert.c. The vulnerability causes an out-of-bounds write, which may lead to remote denial of service or possibly remote code execution.","status":"published","published":"2017-12-08T00:00:00Z","modified":"2026-04-22T11:20:26.952228Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"},{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:54:14.563448Z"},{"id":"DLA-1579-1","title":"openjpeg2 - security update","status":"published","published":"2018-11-19T00:00:00Z","modified":"2026-03-09T01:20:08.792656Z","updated_at":"2026-11-02T15:46:09.777694Z"},{"id":"DSA-4405-1","title":"openjpeg2 - security update","status":"published","published":"2019-03-10T00:00:00Z","modified":"2026-03-09T02:10:05.809069Z","updated_at":"2026-11-02T15:46:16.862196Z"},{"id":"MGASA-2019-0004","title":"Updated openjpeg2 packages fix security vulnerabilities","description":"A stack-based buffer overflow in the pgxtoimage function in\njpwl/convert.c could crash the converter (CVE-2017-17479).\n\nA stack-based buffer overflow in the pgxtovolume function in\njp3d/convert.c could crash the converter (CVE-2017-17480).\n\nA flaw was found in OpenJPEG 2.3.0, there is an integer overflow caused\nby an out-of-bounds left shift in the opj_j2k_setup_encoder function\n(openjp2/j2k.c). Remote attackers could leverage this vulnerability to\ncause a denial of service via a crafted bmp file (CVE-2018-5785).\n\nIn OpenJPEG 2.3.0, there is excessive iteration in the\nopj_t1_encode_cblks function of openjp2/t1.c. Attackers could leverage\nthis vulnerability to cause a denial of service via a crafted bmp file\n(CVE-2018-6616).\n\nA flaw was found in OpenJPEG 2.3.0. A NULL pointer dereference for \"red\"\nin the imagetopnm function of jp2/convert.c (CVE-2018-18088).\n","status":"published","published":"2019-01-05T18:30:16Z","modified":"2026-04-16T06:23:08.644249887Z","updated_at":"2026-11-02T15:49:40.793816Z"},{"id":"SUSE-SU-2018:1364-1","title":"Security update for openjpeg2","description":"This update for openjpeg2 fixes the following security issues:\n\n- CVE-2015-1239: A double free vulnerability in the j2k_read_ppm_v3 function allowed remote attackers to cause a denial of service (crash) (bsc#1066713)\n- CVE-2017-17479: A stack-based buffer overflow in the pgxtoimage function in jpwl/convert.c could crash the converter. (bsc#1072125)\n- CVE-2017-17480: A stack-based buffer overflow in the pgxtovolume function in jp3d/convert.c could crash the converter. (bsc#1072124)\n","status":"published","published":"2018-05-22T07:49:34Z","modified":"2026-02-04T02:40:51.324987Z","updated_at":"2026-11-02T15:53:44.972817Z"},{"id":"USN-4109-1","title":"openjpeg2 vulnerabilities","description":"It was discovered that OpenJPEG incorrectly handled certain PGX files. An\nattacker could possibly use this issue to cause a denial of service or possibly\nremote code execution. (CVE-2017-17480)\n\nIt was discovered that OpenJPEG incorrectly handled certain files. An attacker\ncould possibly use this issue to cause a denial of service. (CVE-2018-14423)\n\nIt was discovered that OpenJPEG incorrectly handled certain PNM files. An\nattacker could possibly use this issue to cause a denial of service.\n(CVE-2018-18088)\n\nIt was discovered that OpenJPEG incorrectly handled certain BMP files. An\nattacker could possibly use this issue to cause a denial of service.\n(CVE-2018-5785, CVE-2018-6616)\n","status":"published","published":"2019-08-21T17:19:12Z","modified":"2026-04-27T15:33:06.653195812Z","updated_at":"2026-11-02T16:58:14.019824Z"}]}}
