CVEfocus › CVE database › CVE-2024-40897

CVE-2024-40897

CVSS 7.0 HighEPSS 0.5% (higher than 35% of CVEs)Published 2024-07-26Updated 2025-02-13Assigner: jpcert

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.

CWE-121

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

26Fixed
3Fix pending
4Will not fix
3Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04orcFixed1:0.4.38-1ubuntu0.1UBUNTU-CVE-2024-40897
Ubuntu 22.04orcFixed1:0.4.32-2ubuntu0.1UBUNTU-CVE-2024-40897
Ubuntu 20.04orcFixed1:0.4.31-1ubuntu0.1UBUNTU-CVE-2024-40897
Ubuntu 18.04orcFix pending1:0.4.28-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2024-40897
Ubuntu 16.04orcFix pending1:0.4.25-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2024-40897
Debian 14orcFixed1:0.4.39-1DEBIAN-CVE-2024-40897
Debian 13orcFixed1:0.4.39-1DEBIAN-CVE-2024-40897
Debian 12orcFix pendingDEBIAN-CVE-2024-40897
Red Hat Enterprise Linux 10orcNot affected
Red Hat Enterprise Linux 10orc-compilerNot affected
Red Hat Enterprise Linux 10orc-develNot affected
Red Hat Enterprise Linux 9orcFixed0:0.4.31-7.el9_4RHSA-2024:6184
Red Hat Enterprise Linux 9orc-compilerFixed0:0.4.31-7.el9_4RHSA-2024:6184
Red Hat Enterprise Linux 9orc-develFixed0:0.4.31-7.el9_4RHSA-2024:6184
Red Hat Enterprise Linux 8orcFixed0:0.4.28-4.el8_10RHSA-2024:5306
Red Hat Enterprise Linux 8orc-compilerFixed0:0.4.28-4.el8_10RHSA-2024:5306
Red Hat Enterprise Linux 8orc-develFixed0:0.4.28-4.el8_10RHSA-2024:5306
Red Hat Enterprise Linux 7orcWill not fix
Out of support scope
Red Hat Enterprise Linux 7orc-compilerWill not fix
Out of support scope
Red Hat Enterprise Linux 7orc-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7orc-docWill not fix
Out of support scope
AlmaLinux 9orcFixed0.4.31-7.el9_4ALSA-2024:6184
AlmaLinux 9orc-compilerFixed0.4.31-7.el9_4ALSA-2024:6184
AlmaLinux 9orc-develFixed0.4.31-7.el9_4ALSA-2024:6184
AlmaLinux 8orcFixed0.4.28-4.el8_10ALSA-2024:5306
AlmaLinux 8orc-compilerFixed0.4.28-4.el8_10ALSA-2024:5306
AlmaLinux 8orc-develFixed0.4.28-4.el8_10ALSA-2024:5306
Rocky Linux 8orcFixed0:0.4.28-4.el8_10RLSA-2024:5306
Alpine Linux 3.24orcFixed0.4.39-r0ALPINE-CVE-2024-40897
Alpine Linux 3.23orcFixed0.4.39-r0ALPINE-CVE-2024-40897
Alpine Linux 3.22orcFixed0.4.39-r0ALPINE-CVE-2024-40897
Alpine Linux 3.21orcFixed0.4.39-r0ALPINE-CVE-2024-40897
Alpine Linux 3.20orcFixed0.4.39-r0ALPINE-CVE-2024-40897
Alpine Linux 3.19orcFixed0.4.39-r0ALPINE-CVE-2024-40897
Alpine Linux 3.18orcFixed0.4.39-r0ALPINE-CVE-2024-40897
Alpine Linux 3.17orcFixed0.4.39-r0ALPINE-CVE-2024-40897

What the vendor says

As published in the CVE record by jpcert, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.