{"id":"UBUNTU-CVE-2018-16375","details":"An issue was discovered in OpenJPEG 2.3.0. Missing checks for header_info.height and header_info.width in the function pnmtoimage in bin/jpwl/convert.c can lead to a heap-based buffer overflow.","modified":"2026-04-22T12:55:45.793924Z","published":"2018-09-03T00:29:00Z","related":["USN-4782-1"],"upstream":["CVE-2018-16375"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-16375"},{"type":"REPORT","url":"https://github.com/uclouvain/openjpeg/issues/1126"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-16375"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4782-1"}],"affected":[{"package":{"name":"openjpeg2","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/openjpeg2@2.3.0-2ubuntu0.1~esm1?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.0-2ubuntu0.1~esm1"}]}],"versions":["2.2.0-1","2.3.0-1","2.3.0-2build0.18.04.1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"libopenjp2-7","binary_version":"2.3.0-2ubuntu0.1~esm1"},{"binary_name":"libopenjp2-tools","binary_version":"2.3.0-2ubuntu0.1~esm1"},{"binary_name":"libopenjp3d-tools","binary_version":"2.3.0-2ubuntu0.1~esm1"},{"binary_name":"libopenjp3d7","binary_version":"2.3.0-2ubuntu0.1~esm1"},{"binary_name":"libopenjpip-dec-server","binary_version":"2.3.0-2ubuntu0.1~esm1"},{"binary_name":"libopenjpip-server","binary_version":"2.3.0-2ubuntu0.1~esm1"},{"binary_name":"libopenjpip-viewer","binary_version":"2.3.0-2ubuntu0.1~esm1"},{"binary_name":"libopenjpip7","binary_version":"2.3.0-2ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-16375.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}