{"id":"UBUNTU-CVE-2021-39518","details":"An issue was discovered in libjpeg through 2020021. LineBuffer::FetchRegion() in linebuffer.cpp has a heap-based buffer overflow.","modified":"2026-04-22T12:59:16.513644Z","published":"2021-09-20T16:15:00Z","upstream":["CVE-2021-39518"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-39518"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-39518"}],"affected":[{"package":{"name":"libjpeg6b","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/libjpeg6b@1:6b2-2ubuntu0.1~esm1?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:6b2-2","1:6b2-2ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"1:6b2-2ubuntu0.1~esm1","binary_name":"libjpeg62"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-39518.json"}},{"package":{"name":"libjpeg","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/libjpeg@0.0~git20190821.87636f3b26b4-1.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0~git20190821.87636f3b26b4-1","0.0~git20190821.87636f3b26b4-1.1"],"ecosystem_specific":{"binaries":[{"binary_name":"libjpeg-tools","binary_version":"0.0~git20190821.87636f3b26b4-1.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-39518.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}