{"id":"CVE-2017-16938","aliases":["DEBIAN-CVE-2017-16938","DLA-1196-1","DSA-4058-1","EUVD-2017-8107","GHSA-78q2-wp6j-q4hp","MGASA-2017-0447","UBUNTU-CVE-2017-16938","openSUSE-SU-2024:11131-1"],"status":"published","title":"A global buffer overflow in OptiPNG 0.7.6 allows remote attackers to cause a denial-of-service...","description":"A global buffer overflow in OptiPNG 0.7.6 allows remote attackers to cause a denial-of-service attack or other unspecified impact with a maliciously crafted GIF format file, related to an uncontrolled loop in the LZWReadByte function of the gifread.c file.","severity":{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01864,"percentile":0.79421,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-119"],"published":"2017-11-24T07:00:00Z","modified":"2026-09-01T20:03:45Z","fixes":[{"ecosystem":"Debian:12","package":"optipng","fixed_in":["0.7.6-1.1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"optipng","fixed_in":["0.7.6-1.1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"optipng","fixed_in":["0.7.6-1.1"],"sources":["osv"]},{"ecosystem":"Debian:7","package":"optipng","fixed_in":["0.6.4-1+deb7u4"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"optipng","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7.6-1.1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"optipng","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7.6-1.1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"optipng","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7.6-1.1"}]}]},{"source":"osv","ecosystem":"Debian:7","package":"optipng","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.4-1+deb7u4"}]}],"versions":["0.6.4-1","0.6.4-1+deb7u1","0.6.4-1+deb7u2","0.6.4-1+deb7u3"]},{"source":"osv","ecosystem":"Debian:8","package":"optipng","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7.5-1+deb8u2"}]}],"versions":["0.7.5-1","0.7.5-1+deb8u1"],"bundled":2},{"source":"osv","ecosystem":"Debian:9","package":"optipng","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7.6-1+deb9u1"}]}],"versions":["0.7.6-1"],"bundled":2},{"source":"osv","ecosystem":"Mageia:5","package":"optipng","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7.6-1.1.mga5"}]}],"bundled":2},{"source":"osv","ecosystem":"Mageia:6","package":"optipng","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7.6-1.1.mga6"}]}],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"optipng","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.7.5-1","0.7.6-1","0.7.6-1ubuntu0.16.04.1"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"optipng","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7.7-2.3"}]}],"bundled":3}],"products":[{"vendor":"optipng_project","product":"optipng"}],"references":[{"url":"https://lists.debian.org/debian-lts-announce/2017/11/msg00042.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://www.debian.org/security/2017/dsa-4058","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory"]},{"url":"https://sourceforge.net/p/optipng/bugs/69/","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","report"]},{"url":"https://security.gentoo.org/glsa/201801-02","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-16938"},{"url":"https://sourceforge.net/p/optipng/bugs/69"},{"url":"https://github.com/advisories/GHSA-78q2-wp6j-q4hp"},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-16938","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2017-0447.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=22099","tags":["report"]},{"url":"https://sourceforge.net/p/optipng/bugs/65/","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-16938","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-16938","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2008-5101","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-1000229","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-16938","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2017-16938","description":"A global buffer overflow in OptiPNG 0.7.6 allows remote attackers to cause a denial-of-service attack or other unspecified impact with a maliciously crafted GIF format file, related to an uncontrolled loop in the LZWReadByte function of the gifread.c file.","status":"published","published":"2017-11-24T07:00:00Z","modified":"2024-08-05T20:43:57.855Z","updated_at":"2026-11-02T14:33:21.453505Z"}],"euvd":[{"id":"EUVD-2017-8107","description":"A global buffer overflow in OptiPNG 0.7.6 allows remote attackers to cause a denial-of-service attack or other unspecified impact with a maliciously crafted GIF format file, related to an uncontrolled loop in the LZWReadByte function of the gifread.c file.","status":"published","published":"2017-11-24T07:00:00Z","modified":"2024-08-05T20:43:57Z","updated_at":"2026-11-03T02:23:11.095005Z"}],"ghsa":[{"id":"GHSA-78q2-wp6j-q4hp","title":"A global buffer overflow in OptiPNG 0.7.6 allows remote attackers to cause a denial-of-service...","description":"A global buffer overflow in OptiPNG 0.7.6 allows remote attackers to cause a denial-of-service attack or other unspecified impact with a maliciously crafted GIF format file, related to an uncontrolled loop in the LZWReadByte function of the gifread.c file.","status":"published","published":"2022-05-14T03:46:31Z","modified":"2025-04-20T03:50:07Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T15:01:56.152144Z"}],"nvd":[{"id":"CVE-2017-16938","description":"A global buffer overflow in OptiPNG 0.7.6 allows remote attackers to cause a denial-of-service attack or other unspecified impact with a maliciously crafted GIF format file, related to an uncontrolled loop in the LZWReadByte function of the gifread.c file.","status":"published","published":"2017-11-24T07:29:00.397Z","modified":"2026-06-17T01:10:10.837Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:04:09.7374Z"}],"osv":[{"id":"CVE-2017-16938","description":"A global buffer overflow in OptiPNG 0.7.6 allows remote attackers to cause a denial-of-service attack or other unspecified impact with a maliciously crafted GIF format file, related to an uncontrolled loop in the LZWReadByte function of the gifread.c file.","status":"published","published":"2017-11-24T07:29:00.397Z","modified":"2026-04-16T06:17:54.346193655Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:04.853379Z"},{"id":"DEBIAN-CVE-2017-16938","description":"A global buffer overflow in OptiPNG 0.7.6 allows remote attackers to cause a denial-of-service attack or other unspecified impact with a maliciously crafted GIF format file, related to an uncontrolled loop in the LZWReadByte function of the gifread.c file.","status":"published","published":"2017-11-24T07:29:00.397Z","modified":"2026-09-01T20:03:45.335307587Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:29.100767Z"},{"id":"UBUNTU-CVE-2017-16938","description":"A global buffer overflow in OptiPNG 0.7.6 allows remote attackers to cause a denial-of-service attack or other unspecified impact with a maliciously crafted GIF format file, related to an uncontrolled loop in the LZWReadByte function of the gifread.c file.","status":"published","published":"2017-11-24T07:29:00Z","modified":"2025-10-24T04:46:36Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:14.563448Z"},{"id":"DLA-1196-1","title":"optipng - security update","status":"published","published":"2017-11-30T00:00:00Z","modified":"2026-03-09T01:01:42.763924Z","updated_at":"2026-11-02T15:46:09.336894Z"},{"id":"DSA-4058-1","title":"optipng - security update","status":"published","published":"2017-12-08T00:00:00Z","modified":"2026-03-09T01:18:54.374286Z","updated_at":"2026-11-02T15:46:16.523846Z"},{"id":"MGASA-2017-0447","title":"Updated optipng packages fix security vulnerability","description":"- CVE-2017-1000229: Fix integer overflow bug in function\n  minitiff_read_info() allows an attacker to remotely execute code or\n  cause denial of service.\n- CVE-2017-16938: Fix a global buffer overflow that allows attackers to\n  cause DoS via a maliciously crafted GIF file.\n","status":"published","published":"2017-12-10T20:49:50Z","modified":"2026-04-16T06:25:20.359812709Z","updated_at":"2026-11-02T15:49:40.442238Z"},{"id":"openSUSE-SU-2024:11131-1","title":"optipng-0.7.7-2.3 on GA media","description":"These are all security issues fixed in the optipng-0.7.7-2.3 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T03:24:35.938204Z","updated_at":"2026-11-02T16:58:34.894275Z"}]}}
