{"id":"CVE-2017-17479","aliases":["DEBIAN-CVE-2017-17479","EUVD-2017-8641","GHSA-4x4h-5jqj-88gh","MGASA-2019-0004","ROOT-OS-DEBIAN-12-CVE-2017-17479","SUSE-SU-2018:1364-1","UBUNTU-CVE-2017-17479","USN-5664-1"],"status":"published","title":"In OpenJPEG 2.3.0, a stack-based buffer overflow was discovered in the pgxtoimage function in...","description":"In OpenJPEG 2.3.0, a stack-based buffer overflow was discovered in the pgxtoimage function in jpwl/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.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","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.04042,"percentile":0.90696,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-787"],"published":"2017-12-08T19:00:00Z","modified":"2026-10-20T10:47:47Z","fixes":[{"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":"Root:Debian:12","package":"openjpeg2","fixed_in":["2.5.0-2+deb12u2.root.io.13","2.5.0-2+deb12u2.root.io.10","2.5.0-2+deb12u2.root.io.12","2.5.0-2+deb12u2.root.io.11","2.5.0-2+deb12u2.root.io.14","2.5.0-2+deb12u2.root.io.9","2.5.0-2+deb12u2.root.io.15","2.5.0-2+deb12u2.root.io.16","2.5.0-2+deb12u3.aikido.17"],"sources":["osv"]},{"ecosystem":"Root:Debian:12","package":"rootio-openjpeg2","fixed_in":["2.5.0-2+deb12u2.root.io.13","2.5.0-2+deb12u2.root.io.10","2.5.0-2+deb12u2.root.io.12","2.5.0-2+deb12u2.root.io.11","2.5.0-2+deb12u2.root.io.14","2.5.0-2+deb12u2.root.io.9","2.5.0-2+deb12u2.root.io.15","2.5.0-2+deb12u2.root.io.16","2.5.0-2+deb12u3.aikido.17"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"openjpeg2","fixed_in":["2.1.2-1.1+deb9u3build0.16.04.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"openjpeg","fixed_in":["1:1.5.2-3.1ubuntu0.1~esm2"],"sources":["osv"]},{"ecosystem":"Ubuntu:18.04:LTS","package":"openjpeg2","fixed_in":["2.3.0-2build0.18.04.1"],"sources":["osv"]}],"affected":[{"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":"Mageia:6","package":"openjpeg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.0-1.3.mga6"}]}],"bundled":5},{"source":"osv","ecosystem":"Root:Debian:12","package":"openjpeg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.0-2+deb12u2.root.io.13"},{"fixed":"2.5.0-2+deb12u2.root.io.10"},{"fixed":"2.5.0-2+deb12u2.root.io.12"},{"fixed":"2.5.0-2+deb12u2.root.io.11"},{"fixed":"2.5.0-2+deb12u2.root.io.14"},{"fixed":"2.5.0-2+deb12u2.root.io.9"},{"fixed":"2.5.0-2+deb12u2.root.io.15"},{"fixed":"2.5.0-2+deb12u2.root.io.16"},{"fixed":"2.5.0-2+deb12u3.aikido.17"}]}]},{"source":"osv","ecosystem":"Root:Debian:12","package":"rootio-openjpeg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.0-2+deb12u2.root.io.13"},{"fixed":"2.5.0-2+deb12u2.root.io.10"},{"fixed":"2.5.0-2+deb12u2.root.io.12"},{"fixed":"2.5.0-2+deb12u2.root.io.11"},{"fixed":"2.5.0-2+deb12u2.root.io.14"},{"fixed":"2.5.0-2+deb12u2.root.io.9"},{"fixed":"2.5.0-2+deb12u2.root.io.15"},{"fixed":"2.5.0-2+deb12u2.root.io.16"},{"fixed":"2.5.0-2+deb12u3.aikido.17"}]}]},{"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:14.04:LTS","package":"openjpeg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3+dfsg-4.6ubuntu2","1.3+dfsg-4.7ubuntu1"]},{"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:Pro:16.04:LTS","package":"openjpeg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.5.2-3.1ubuntu0.1~esm2"}]}],"versions":["1:1.5.2-3.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:Pro:16.04:LTS","package":"openjpeg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.5.2-3.1ubuntu0.1~esm2"}]}],"versions":["1:1.5.2-3.1"],"bundled":6}],"products":[{"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://nvd.nist.gov/vuln/detail/CVE-2017-17479"},{"url":"https://github.com/advisories/GHSA-4x4h-5jqj-88gh"},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-17479","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-17479","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-5664-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-17479","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2016-7445","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2016-9112","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2016-10506","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-18088","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2020-27824","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2017-17479","description":"In OpenJPEG 2.3.0, a stack-based buffer overflow was discovered in the pgxtoimage function in jpwl/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-8641","description":"In OpenJPEG 2.3.0, a stack-based buffer overflow was discovered in the pgxtoimage function in jpwl/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-4x4h-5jqj-88gh","title":"In OpenJPEG 2.3.0, a stack-based buffer overflow was discovered in the pgxtoimage function in...","description":"In OpenJPEG 2.3.0, a stack-based buffer overflow was discovered in the pgxtoimage function in jpwl/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-14T01:55:47Z","modified":"2023-02-02T05:04:46Z","cvss":[{"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"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:51:56.960601Z"}],"nvd":[{"id":"CVE-2017-17479","description":"In OpenJPEG 2.3.0, a stack-based buffer overflow was discovered in the pgxtoimage function in jpwl/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.197Z","modified":"2026-06-17T01:10:51.53Z","cvss":[{"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","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":"CVE-2017-17479","description":"In OpenJPEG 2.3.0, a stack-based buffer overflow was discovered in the pgxtoimage function in jpwl/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.197Z","modified":"2026-10-20T10:47:47.703882328Z","cvss":[{"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:44:04.853379Z"},{"id":"DEBIAN-CVE-2017-17479","description":"In OpenJPEG 2.3.0, a stack-based buffer overflow was discovered in the pgxtoimage function in jpwl/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.197Z","modified":"2026-09-01T20:03:45.662335112Z","cvss":[{"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:45:29.100767Z"},{"id":"UBUNTU-CVE-2017-17479","description":"In OpenJPEG 2.3.0, a stack-based buffer overflow was discovered in the pgxtoimage function in jpwl/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:00Z","modified":"2026-04-22T11:20:23.142888Z","cvss":[{"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":"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":"ROOT-OS-DEBIAN-12-CVE-2017-17479","title":"CVE-2017-17479 in openjpeg2 - Patched by Root","description":"Root has patched CVE-2017-17479 in the openjpeg2 package for Root:Debian:12. Multiple fixed versions available.","status":"published","published":"2026-08-25T12:17:17Z","modified":"2026-08-26T01:12:41.938495519Z","updated_at":"2026-11-02T15:53:30.44348Z"},{"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-5664-1","title":"openjpeg vulnerabilities","description":"It was discovered that OpenJPEG did not properly handle PNM\nheaders, resulting in a null pointer dereference. A remote\nattacker could possibly use this issue to cause a denial of\nservice (DoS). (CVE-2016-7445)\n\nIt was discovered that OpenJPEG incorrectly handled certain\nimage files resulting in division by zero.  A remote attacker\ncould possibly use this issue to cause a denial of service\n(DoS). (CVE-2016-9112 and CVE-2016-10506)\n\nIt was discovered that OpenJPEG incorrectly handled converting\ncertain image files resulting in a stack buffer overflow. A\nremote attacker could possibly use this issue to cause a\ndenial of service (DoS). (CVE-2017-17479)\n\nIt was discovered that OpenJPEG incorrectly handled converting\nPNM image files resulting in a null pointer dereference. A\nremote attacker could possibly use this issue to cause a denial\nof service (DoS). (CVE-2018-18088)\n\nIt was discovered that OpenJPEG incorrectly handled converting\nDWT images files resulting in a buffer overflow. A remote\nattacker could possibly use this issue to cause a denial of\nservice (DoS). (CVE-2020-27824)\n","status":"published","published":"2022-10-07T21:44:33Z","modified":"2026-06-25T13:31:25.884117691Z","updated_at":"2026-11-02T16:58:16.20937Z"}]}}
