{"id":"UBUNTU-CVE-2019-5052","details":"An exploitable integer overflow vulnerability exists when loading a PCX file in SDL2_image 2.0.4. A specially crafted file can cause an integer overflow, resulting in too little memory being allocated, which can lead to a buffer overflow and potential code execution. An attacker can provide a specially crafted image file to trigger this vulnerability.","modified":"2026-04-22T11:57:17.579126Z","published":"2019-07-03T19:15:00Z","related":["USN-4238-1"],"upstream":["CVE-2019-5052"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-5052"},{"type":"REPORT","url":"https://talosintelligence.com/vulnerability_reports/TALOS-2019-0821"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4238-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2019-5052"}],"affected":[{"package":{"name":"libsdl2-image","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/libsdl2-image@2.0.0+dfsg-3+deb8u2build0.14.04.1~esm1?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.0+dfsg-3+deb8u2build0.14.04.1~esm1"}]}],"versions":["2.0.0+dfsg-2","2.0.0+dfsg-3","2.0.0+dfsg-3build2","2.0.0+dfsg-3+deb8u1build0.14.04.1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.0.0+dfsg-3+deb8u2build0.14.04.1~esm1","binary_name":"libsdl2-image-2.0-0"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-5052.json"}},{"package":{"name":"sdl-image1.2","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/sdl-image1.2@1.2.12-5+deb9u1ubuntu0.14.04.1~esm1?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.12-5+deb9u1ubuntu0.14.04.1~esm1"}]}],"versions":["1.2.12-4ubuntu1","1.2.12-5","1.2.12-5build2","1.2.12-5+deb9u1build0.14.04.1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.2.12-5+deb9u1ubuntu0.14.04.1~esm1","binary_name":"libsdl-image1.2"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-5052.json"}},{"package":{"name":"sdl-image1.2","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/sdl-image1.2@1.2.12-5+deb9u1ubuntu0.16.04.1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.12-5+deb9u1ubuntu0.16.04.1"}]}],"versions":["1.2.12-5build2","1.2.12-5+deb9u1build0.16.04.1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.2.12-5+deb9u1ubuntu0.16.04.1","binary_name":"libsdl-image1.2"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-5052.json"}},{"package":{"name":"libsdl2-image","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/libsdl2-image@2.0.1+dfsg-2+deb9u1build0.16.04.1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.0+dfsg-3build2","2.0.1+dfsg-1","2.0.1+dfsg-2","2.0.1+dfsg-2+deb9u1build0.16.04.1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.0.1+dfsg-2+deb9u1build0.16.04.1","binary_name":"libsdl2-image-2.0-0"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-5052.json"}},{"package":{"name":"sdl-image1.2","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/sdl-image1.2@1.2.12-8ubuntu0.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.12-8ubuntu0.1"}]}],"versions":["1.2.12-6","1.2.12-7","1.2.12-8"],"ecosystem_specific":{"binaries":[{"binary_version":"1.2.12-8ubuntu0.1","binary_name":"libsdl-image1.2"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-5052.json"}},{"package":{"name":"libsdl2-image","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/libsdl2-image@2.0.3+dfsg1-1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.1+dfsg-3","2.0.1+dfsg-4","2.0.2+dfsg1-1","2.0.3+dfsg1-1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.0.3+dfsg1-1","binary_name":"libsdl2-image-2.0-0"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-5052.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":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}