{"id":"UBUNTU-CVE-2024-40897","details":"Stack-based buffer overflow vulnerability exists in orcparse.c of ORC versions prior to 0.4.39. If a developer is tricked to process a specially crafted file with the affected ORC compiler, an arbitrary code may be executed on the developer's build environment. This may lead to compromise of developer machines or CI build environments.","modified":"2026-04-22T14:59:02.929707Z","published":"2024-07-26T06:15:00Z","related":["USN-6964-1","USN-6964-2"],"upstream":["CVE-2024-40897"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-40897"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-40897"},{"type":"REPORT","url":"https://gstreamer.freedesktop.org/security/sa-2024-0003.html"},{"type":"REPORT","url":"https://github.com/GStreamer/orc"},{"type":"REPORT","url":"https://gstreamer.freedesktop.org/modules/orc.html"},{"type":"REPORT","url":"https://jvn.jp/en/jp/JVN02030803/"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6964-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6964-2"}],"affected":[{"package":{"name":"orc","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/orc@1:0.4.25-1ubuntu0.1~esm1?arch=source&distro=esm-infra/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:0.4.25-1ubuntu0.1~esm1"}]}],"versions":["1:0.4.24-1","1:0.4.25-1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"liborc-0.4-0","binary_version":"1:0.4.25-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-40897.json"}},{"package":{"name":"orc","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/orc@1:0.4.28-1ubuntu0.1~esm1?arch=source&distro=esm-infra/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:0.4.28-1ubuntu0.1~esm1"}]}],"versions":["1:0.4.27-1","1:0.4.28-1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"liborc-0.4-0","binary_version":"1:0.4.28-1ubuntu0.1~esm1"},{"binary_name":"liborc-0.4-dev-bin","binary_version":"1:0.4.28-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-40897.json"}},{"package":{"name":"orc","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/orc@1:0.4.31-1ubuntu0.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:0.4.31-1ubuntu0.1"}]}],"versions":["1:0.4.30-1","1:0.4.31-1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"liborc-0.4-0","binary_version":"1:0.4.31-1ubuntu0.1"},{"binary_name":"liborc-0.4-dev-bin","binary_version":"1:0.4.31-1ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-40897.json"}},{"package":{"name":"orc","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/orc@1:0.4.32-2ubuntu0.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:0.4.32-2ubuntu0.1"}]}],"versions":["1:0.4.32-1","1:0.4.32-1build1","1:0.4.32-2"],"ecosystem_specific":{"binaries":[{"binary_name":"liborc-0.4-0","binary_version":"1:0.4.32-2ubuntu0.1"},{"binary_version":"1:0.4.32-2ubuntu0.1","binary_name":"liborc-0.4-dev-bin"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-40897.json"}},{"package":{"name":"orc","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/orc@1:0.4.38-1ubuntu0.1?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:0.4.38-1ubuntu0.1"}]}],"versions":["1:0.4.34-3","1:0.4.38-1","1:0.4.38-1build1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"liborc-0.4-0t64","binary_version":"1:0.4.38-1ubuntu0.1"},{"binary_name":"liborc-0.4-dev-bin","binary_version":"1:0.4.38-1ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-40897.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}