CVE-2024-40897: orcparse.c of ORC · Stack-based Buffer Overflow Vulnerability Exists
Affects orcSource GCVE Database
Not known to be exploited · CVSS 7.0 High · fixed in 1:0.4.25-1ubuntu0.1~esm1 : patch orc soon.
Data as of 24 Nov 2026, 19:27 UTC
- Patch
- Available – fixed in 1:0.4.25-1ubuntu0.1~esm1, 1:0.4.28-1ubuntu0.1~esm1, 1:0.4.31-1ubuntu0.1 +2
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 26 Jul 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSorcpkg:deb/ubuntu/orc?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSorcpkg:deb/ubuntu/orc?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu 20.04 LTSorcpkg:deb/ubuntu/orc?arch=source&distro=focalOther threats | Affected
| Fixed in
|
Ubuntu Pro 18.04 LTSorcpkg:deb/ubuntu/orc?arch=source&distro=esm-infra/bionicOther threats | Affected
| Fixed in
|
Ubuntu Pro 16.04 LTSorcpkg:deb/ubuntu/orc?arch=source&distro=esm-infra/xenialOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
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.
References
- ubuntu.com/security/CVE-2024-40897 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-40897 (opens in a new tab)
- gstreamer.freedesktop.org/security/sa-2024-0003.html (opens in a new tab)
- github.com/GStreamer/orc (opens in a new tab)
- gstreamer.freedesktop.org/modules/orc.html (opens in a new tab)
- jvn.jp/en/jp/JVN02030803/ (opens in a new tab)
- ubuntu.com/security/notices/USN-6964-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6964-2 (opens in a new tab)