{"id":"UBUNTU-CVE-2021-45942","details":"OpenEXR 3.1.x before 3.1.4 has a heap-based buffer overflow in Imf_3_1::LineCompositeTask::execute (called from IlmThread_3_1::NullThreadPoolProvider::addTask and IlmThread_3_1::ThreadPool::addGlobalTask). NOTE: db217f2 may be inapplicable.","modified":"2026-05-08T12:44:14.617297Z","published":"2022-01-01T01:15:00Z","upstream":["CVE-2021-45942"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-45942"},{"type":"REPORT","url":"https://github.com/google/oss-fuzz-vulns/blob/main/vulns/openexr/OSV-2021-1627.yaml"},{"type":"REPORT","url":"https://github.com/AcademySoftwareFoundation/openexr/pull/1209"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-45942"}],"affected":[{"package":{"name":"openexr","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/openexr@2.2.0-10ubuntu2.6+esm4?arch=source&distro=esm-infra/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.0-1ubuntu3","2.2.0-7ubuntu1","2.2.0-9ubuntu1","2.2.0-10ubuntu2","2.2.0-10ubuntu2.1","2.2.0-10ubuntu2.2","2.2.0-10ubuntu2.3","2.2.0-10ubuntu2.4","2.2.0-10ubuntu2.6","2.2.0-10ubuntu2.6+esm1","2.2.0-10ubuntu2.6+esm2","2.2.0-10ubuntu2.6+esm3","2.2.0-10ubuntu2.6+esm4"],"ecosystem_specific":{"binaries":[{"binary_name":"libopenexr22","binary_version":"2.2.0-10ubuntu2.6+esm4"},{"binary_version":"2.2.0-10ubuntu2.6+esm4","binary_name":"openexr"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-45942.json"}},{"package":{"name":"openexr","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/openexr@2.2.0-11.1ubuntu1.9+esm1?arch=source&distro=esm-infra/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.0-11ubuntu1","2.2.0-11.1ubuntu1","2.2.0-11.1ubuntu1.1","2.2.0-11.1ubuntu1.2","2.2.0-11.1ubuntu1.3","2.2.0-11.1ubuntu1.4","2.2.0-11.1ubuntu1.6","2.2.0-11.1ubuntu1.7","2.2.0-11.1ubuntu1.8","2.2.0-11.1ubuntu1.9","2.2.0-11.1ubuntu1.9+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libopenexr22","binary_version":"2.2.0-11.1ubuntu1.9+esm1"},{"binary_version":"2.2.0-11.1ubuntu1.9+esm1","binary_name":"openexr"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-45942.json"}},{"package":{"name":"openexr","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/openexr@2.3.0-6ubuntu0.5+esm2?arch=source&distro=esm-apps/focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.1-4.1ubuntu1","2.3.0-6","2.3.0-6build1","2.3.0-6ubuntu0.1","2.3.0-6ubuntu0.2","2.3.0-6ubuntu0.3","2.3.0-6ubuntu0.5","2.3.0-6ubuntu0.5+esm1","2.3.0-6ubuntu0.5+esm2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.3.0-6ubuntu0.5+esm2","binary_name":"libopenexr24"},{"binary_name":"openexr","binary_version":"2.3.0-6ubuntu0.5+esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-45942.json"}},{"package":{"name":"openexr","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/openexr@2.5.7-1ubuntu0.1~esm2?arch=source&distro=esm-apps/jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.5.4-2","2.5.7-1","2.5.7-1ubuntu0.1~esm1","2.5.7-1ubuntu0.1~esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"libopenexr25","binary_version":"2.5.7-1ubuntu0.1~esm2"},{"binary_name":"openexr","binary_version":"2.5.7-1ubuntu0.1~esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-45942.json"}},{"package":{"name":"openexr","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/openexr@3.1.5-5.1ubuntu0.1~esm1?arch=source&distro=esm-apps/noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.1.5-5.1","3.1.5-5.1build1","3.1.5-5.1build2","3.1.5-5.1build3","3.1.5-5.1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libopenexr-3-1-30","binary_version":"3.1.5-5.1ubuntu0.1~esm1"},{"binary_name":"openexr","binary_version":"3.1.5-5.1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-45942.json"}},{"package":{"name":"openexr","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/openexr@3.1.13-2?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.1.13-2"],"ecosystem_specific":{"binaries":[{"binary_name":"libopenexr-3-1-30","binary_version":"3.1.13-2"},{"binary_name":"openexr","binary_version":"3.1.13-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-45942.json"}},{"package":{"name":"openexr","ecosystem":"Ubuntu:Pro:26.04:LTS","purl":"pkg:deb/ubuntu/openexr@3.1.13-2ubuntu0.26.04.1~esm1?arch=source&distro=esm-apps/resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.1.13-2","3.1.13-2build1","3.1.13-2ubuntu0.26.04.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libopenexr-3-1-30","binary_version":"3.1.13-2ubuntu0.26.04.1~esm1"},{"binary_name":"openexr","binary_version":"3.1.13-2ubuntu0.26.04.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-45942.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:N/I:N/A:H"},{"type":"Ubuntu","score":"low"}]}