CVE-2024-40897: Stack-based buffer overflow vulnerability exists in orcparse.c of ORC versions prior to 0.4.39
CVE-2024-40897 is a medium-severity flaw (CVSS 6.7) affecting orc. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-40897?
orc: upgrade to 0.4.39. Exact commands for each OS are on this page.
Is CVE-2024-40897 being exploited?
CVE-2024-40897 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-40897 affect?
CVE-2024-40897 affects orc. Severity is medium (CVSS 6.7). 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
How urgent is CVE-2024-40897?
Priority 31/100. No elevated risk signals yet.
Related CVEs
- CVE-2025-47436 CRITICAL 9.8 UPGRADE Heap-based Buffer Overflow vulnerability in Apache ORC. A vulnerability has been identified in the ORC C++ LZ