{"id":"CVE-2023-27781","aliases":["DEBIAN-CVE-2023-27781","EUVD-2023-31517","GHSA-9j85-mhfm-pjrc","MGASA-2023-0143","UBUNTU-CVE-2023-27781"],"status":"published","title":"jpegoptim v1.5.2 was discovered to contain a heap overflow in the optimize function at jpegoptim.c.","description":"jpegoptim v1.5.2 was discovered to contain a heap overflow in the optimize function at jpegoptim.c.","severity":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/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-11","score":0.00393,"percentile":0.33858,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-787"],"published":"2023-03-15T00:00:00Z","modified":"2026-10-28T02:30:36Z","fixes":[{"ecosystem":"Mageia:8","package":"jpegoptim","fixed_in":["1.5.1-1.1.mga8"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"jpegoptim","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.7-1"]},{"source":"osv","ecosystem":"Debian:13","package":"jpegoptim","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.7-1"]},{"source":"osv","ecosystem":"Debian:14","package":"jpegoptim","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.7-1"]},{"source":"osv","ecosystem":"Mageia:8","package":"jpegoptim","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.1-1.1.mga8"}]}]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"jpegoptim","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.0-1","1.3.0-1ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"jpegoptim","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.3-1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"jpegoptim","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.4-1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"jpegoptim","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.6-1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"jpegoptim","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.6-1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"jpegoptim","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.7-1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"jpegoptim","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.7-1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"jpegoptim","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.7-1build1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"jpegoptim","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.7-1","1.4.7-1build1"]}],"products":[{"vendor":"jpegoptim_project","product":"jpegoptim"}],"references":[{"url":"https://github.com/tjko/jpegoptim/issues/132","tags":["x_transferred","Exploit","Issue Tracking","Patch","Third Party Advisory","report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/66ZW65INCWSQYIT5E6N6I6PE5D7R6EK7/","tags":["vendor-advisory","x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-27781","tags":["advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/66ZW65INCWSQYIT5E6N6I6PE5D7R6EK7/"},{"url":"https://github.com/advisories/GHSA-9j85-mhfm-pjrc"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/27xxx/CVE-2023-27781.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2023-27781","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2023-0143.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=31764","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2023-27781","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-27781","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2023-27781","description":"jpegoptim v1.5.2 was discovered to contain a heap overflow in the optimize function at jpegoptim.c.","status":"published","published":"2023-03-15T00:00:00Z","modified":"2025-02-27T14:22:29.286Z","updated_at":"2026-11-02T14:35:26.63732Z"}],"euvd":[{"id":"EUVD-2023-31517","description":"jpegoptim v1.5.2 was discovered to contain a heap overflow in the optimize function at jpegoptim.c.","status":"published","published":"2023-03-15T00:00:00Z","modified":"2025-02-27T14:22:29Z","cvss":[{"version":"","score":0,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"none"}],"updated_at":"2026-11-02T20:53:22.427611Z"}],"ghsa":[{"id":"GHSA-9j85-mhfm-pjrc","title":"jpegoptim v1.5.2 was discovered to contain a heap overflow in the optimize function at jpegoptim.c.","description":"jpegoptim v1.5.2 was discovered to contain a heap overflow in the optimize function at jpegoptim.c.","status":"published","published":"2023-03-15T15:30:22Z","modified":"2023-04-04T03:30:17Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:54:26.249885Z"}],"nvd":[{"id":"CVE-2023-27781","description":"jpegoptim v1.5.2 was discovered to contain a heap overflow in the optimize function at jpegoptim.c.","status":"published","published":"2023-03-15T15:15:09.733Z","modified":"2026-06-17T05:45:50.763Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:07:49.031498Z"}],"osv":[{"id":"DEBIAN-CVE-2023-27781","description":"jpegoptim v1.5.2 was discovered to contain a heap overflow in the optimize function at jpegoptim.c.","status":"published","published":"2023-03-15T15:15:09.733Z","modified":"2026-10-26T18:01:46.300125617Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:39.679062Z"},{"id":"UBUNTU-CVE-2023-27781","description":"jpegoptim v1.5.2 was discovered to contain a heap overflow in the optimize function at jpegoptim.c.","status":"published","published":"2023-03-15T15:15:00Z","modified":"2026-10-17T12:57:17.034831266Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T16:54:20.198616Z"},{"id":"CVE-2023-27781","description":"jpegoptim v1.5.2 was discovered to contain a heap overflow in the optimize function at jpegoptim.c.","status":"published","published":"2023-03-15T00:00:00Z","modified":"2026-10-28T02:30:36.480065783Z","updated_at":"2026-11-02T15:44:31.135751Z"},{"id":"MGASA-2023-0143","title":"Updated jpegoptim packages fix security vulnerability","description":"A heap overflow can occur with crafted JPEG image file. (CVE-2023-27781)\n","status":"published","published":"2023-04-15T19:03:44Z","modified":"2026-04-16T04:43:54.272445543Z","updated_at":"2026-11-02T15:49:42.263076Z"}]}}
