{"id":"UBUNTU-CVE-2023-27781","details":"jpegoptim v1.5.2 was discovered to contain a heap overflow in the optimize function at jpegoptim.c.","modified":"2026-05-20T16:07:36.076448906Z","published":"2023-03-15T15:15:00Z","upstream":["CVE-2023-27781"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-27781"},{"type":"REPORT","url":"https://github.com/tjko/jpegoptim/issues/132"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2023-27781"}],"affected":[{"package":{"name":"jpegoptim","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/jpegoptim?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.0-1","1.3.0-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.3.0-1ubuntu1","binary_name":"jpegoptim"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-27781.json"}},{"package":{"name":"jpegoptim","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/jpegoptim?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.3-1"],"ecosystem_specific":{"binaries":[{"binary_name":"jpegoptim","binary_version":"1.4.3-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-27781.json"}},{"package":{"name":"jpegoptim","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/jpegoptim?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.4-1"],"ecosystem_specific":{"binaries":[{"binary_name":"jpegoptim","binary_version":"1.4.4-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-27781.json"}},{"package":{"name":"jpegoptim","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/jpegoptim?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.6-1"],"ecosystem_specific":{"binaries":[{"binary_name":"jpegoptim","binary_version":"1.4.6-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-27781.json"}},{"package":{"name":"jpegoptim","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/jpegoptim?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.6-1"],"ecosystem_specific":{"binaries":[{"binary_name":"jpegoptim","binary_version":"1.4.6-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-27781.json"}},{"package":{"name":"jpegoptim","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/jpegoptim?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.7-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.4.7-1","binary_name":"jpegoptim"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-27781.json"}},{"package":{"name":"jpegoptim","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/jpegoptim?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.7-1"],"ecosystem_specific":{"binaries":[{"binary_name":"jpegoptim","binary_version":"1.4.7-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-27781.json"}},{"package":{"name":"jpegoptim","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/jpegoptim?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.7-1","1.4.7-1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"jpegoptim","binary_version":"1.4.7-1build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-27781.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}