{"id":"UBUNTU-CVE-2021-37789","details":"stb_image.h 2.27 has a heap-based buffer over in stbi__jpeg_load, leading to Information Disclosure or Denial of Service.","modified":"2026-12-03T20:47:42.204264125Z","published":"2022-11-02T13:15:00Z","related":["USN-9428-1"],"upstream":["CVE-2021-37789"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-37789"},{"type":"REPORT","url":"https://github.com/nothings/stb/issues/1178"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-37789"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-9428-1"}],"affected":[{"package":{"name":"libstb","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/libstb?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0~git20190817.1.052dce1-1ubuntu0.1~esm1"}]}],"versions":["0.0~git20190817.1.052dce1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libstb0","binary_version":"0.0~git20190817.1.052dce1-1ubuntu0.1~esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-37789.json"}},{"package":{"name":"libstb","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/libstb?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0~git20240715.f7f20f39fe4f+ds-1","0.0~git20241109.5c20573+ds-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.0~git20241109.5c20573+ds-1","binary_name":"libstb0t64"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-37789.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H","source":"NVD"},{"type":"Ubuntu","score":"medium","source":"SELF"}]}