Skip to content
Fencer Vulns
high 7.0

CVE-2024-40897 json

Stack-based buffer overflow vulnerability exists in orcparse.c of ORC versions prior to 0.4.39.

published 2024-07-26 2 y ago modified 2026-06-17 4 mo ago also EUVD-2024-38708

cvss
7.0
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.4%
EPSS 0.4% chance of exploitation in 30 days, percentile 32%
public exploits
0
none known

Summary

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.

Patch / fix

  • GStreamer ORC 0.4.39
  • orc Debian 14, Debian 13 1:0.4.39-1

debian advisories DEBIAN-CVE-2024-40897

  • orc Ubuntu 20.04 LTS 1:0.4.31-1ubuntu0.1
  • orc Ubuntu 22.04 LTS 1:0.4.32-2ubuntu0.1
  • orc Ubuntu 24.04 LTS 1:0.4.38-1ubuntu0.1
  • orc Ubuntu Pro 16.04 LTS 1:0.4.25-1ubuntu0.1~esm1
  • orc Ubuntu Pro 18.04 LTS 1:0.4.28-1ubuntu0.1~esm1

ubuntu advisories UBUNTU-CVE-2024-40897

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • orc RHEL 9 0.4.31-7.el9_4
  • orc-compiler RHEL 9 0.4.31-7.el9_4
  • orc RHEL 8 0.4.28-4.el8_10
  • orc-compiler RHEL 8 0.4.28-4.el8_10
  • orc RHEL 8.4 TUS, RHEL 8.4 E4S, RHEL 8.4 AUS 0.4.28-4.el8_4
  • orc-compiler RHEL 8.4 TUS, RHEL 8.4 E4S, RHEL 8.4 AUS 0.4.28-4.el8_4
  • orc RHEL 8.2 AUS 0.4.28-4.el8_2
  • orc-compiler RHEL 8.2 AUS 0.4.28-4.el8_2

red hat advisories RHSA-2024:6159RHSA-2024:6184RHSA-2024:5882RHSA-2024:5638RHSA-2024:5629RHSA-2024:5306

  • orc Linux Micro 6.1 0.4.34-slfo.1.1_2.1
  • orc Linux Micro 6.0 0.4.34-3.1
  • orc SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES for SAP 15 SP3 +18 more 0.4.28-150000.3.9.1
  • orc Linux Micro 6.0 0.4.34-2.1
  • orc SLES for SAP 15 SP4, SLES for SAP 15 SP3, SLES for SAP 15 SP2 +21 more 0.4.28-150000.3.6.1
  • orc SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 0.4.21-3.3.1
  • orc SLES LTSS Extended Security 12 SP5, SLES 12 SP5-LTSS 0.4.21-3.6.1

suse advisories SUSE-SU-2025:20272-1SUSE-SU-2025:20152-1SUSE-SU-2025:0344-1SUSE-SU-2025:20060-1SUSE-SU-2025:0314-1SUSE-SU-2024:2663-1

  • orc openSUSE Tumbleweed 0.4.39-1.1

opensuse advisories openSUSE-SU-2024:14216-1

  • orc AlmaLinux 9 0.4.31-7.el9_4
  • orc-compiler AlmaLinux 9 0.4.31-7.el9_4
  • orc AlmaLinux 8 0.4.28-4.el8_10
  • orc-compiler AlmaLinux 8 0.4.28-4.el8_10

almalinux advisories ALSA-2024:6184ALSA-2024:5306

  • orc Rocky Linux 8 0.4.28-4.el8_10

rocky linux advisories RLSA-2024:5306

  • orc Alpine 3.24, Alpine 3.23, Alpine 3.22 +5 more 0.4.39-r0

alpine advisories ALPINE-CVE-2024-40897

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • orc Azure Linux 3.0 0.4.39-2

azure linux advisories AZL-47122

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-40897 updated cvss 6.7

orc: Stack-based buffer overflow vulnerability in ORC

  • Red Hat Enterprise Linux 7 orc, orc-compiler
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat Enterprise Linux AppStream (v. 8) orc 0.4.28-4.el8_10, orc-compiler 0.4.28-4.el8_10
    fixed: vendor fix RHSA-2024:5306
  • Red Hat Enterprise Linux AppStream (v. 9) orc 0.4.31-7.el9_4, orc-compiler 0.4.31-7.el9_4
    fixed: vendor fix RHSA-2024:6184
  • Red Hat Enterprise Linux AppStream AUS (v. 8.2) orc 0.4.28-4.el8_2, orc-compiler 0.4.28-4.el8_2
    fixed: vendor fix RHSA-2024:5882
  • Red Hat Enterprise Linux AppStream AUS (v.8.4) orc 0.4.28-4.el8_4, orc-compiler 0.4.28-4.el8_4 Red Hat Enterprise Linux AppStream E4S (v.8.4) orc 0.4.28-4.el8_4, orc-compiler 0.4.28-4.el8_4
    fixed: vendor fix RHSA-2024:6159
  • Red Hat Enterprise Linux AppStream E4S (v.9.0) orc 0.4.31-7.el9_0, orc-compiler 0.4.31-7.el9_0
    fixed: vendor fix RHSA-2024:5629
  • Red Hat Enterprise Linux AppStream EUS (v.9.2) orc 0.4.31-7.el9_2, orc-compiler 0.4.31-7.el9_2
    fixed: vendor fix RHSA-2024:5638
  • Red Hat Enterprise Linux AppStream TUS (v.8.4) orc 0.4.28-4.el8_4, orc-compiler 0.4.28-4.el8_4
    fixed: vendor fix RHSA-2024:6159
show 1 more
  • Red Hat Enterprise Linux 10 orc
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
2 y ago

Exploit prediction

0.38% chance of exploitation in the next 30 days, higher than 32% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CISA ADP 3.1 7.0 CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD 3.1 6.7 CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
CNA 3.1 7.0 CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected products

  • GStreamer ORC

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.