# CVE-2024-40897: orc: This update for orc fixes the following issues:  - CVE-2024-40897: Fixed stack-based buffer overflow in the Orc compi...

CVE-2024-40897 is fixed in 10 products on 1 platform, first by liborc-0.4-0 1:0.4.28-1ubuntu0.1~esm1, released July 25, 2024. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2024-40897
- Priority: High
- CVSS: 7.3 (Moderate)
- EPSS: 0.0038
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jul 25, 2024

## Description

This update for orc fixes the following issues:  - CVE-2024-40897: Fixed stack-based buffer overflow in the Orc compiler when   formatting error messages for certain input files (bsc#1228184)

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | liborc-0.4-0 Ubuntu 18.04.6 LTS (bionic) | 1:0.4.28-1ubuntu0.1~esm1 | [liborc-0.4-0 1:0.4.28-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-liborc-0.4-0-1-0.4.28-1ubuntu0.1-esm1.md) | Jul 25, 2024 |
| Linux | liborc-0.4-0 Ubuntu 20.04 LTS (focal) | 1:0.4.31-1ubuntu0.1 | [liborc-0.4-0 1:0.4.31-1ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-liborc-0.4-0-1-0.4.31-1ubuntu0.1.md) | Jul 25, 2024 |
| Linux | liborc-0.4-0 Ubuntu 22.04.1 LTS (jammy) | 1:0.4.32-2ubuntu0.1 | [liborc-0.4-0 1:0.4.32-2ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-liborc-0.4-0-1-0.4.32-2ubuntu0.1.md) | Jul 25, 2024 |
| Linux | liborc-0.4-0t64 Ubuntu 24.04.5 LTS (noble) | 1:0.4.38-1ubuntu0.1 | [liborc-0.4-0t64 1:0.4.38-1ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-liborc-0.4-0t64-1-0.4.38-1ubuntu0.1.md) | Jul 25, 2024 |
| Linux | liborc-0.4-dev-bin Ubuntu 18.04.6 LTS (bionic) | 1:0.4.28-1ubuntu0.1~esm1 | [liborc-0.4-dev-bin 1:0.4.28-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-liborc-0.4-dev-bin-1-0.4.28-1ubuntu0.1-esm1.md) | Jul 25, 2024 |
| Linux | liborc-0.4-dev-bin Ubuntu 20.04 LTS (focal) | 1:0.4.31-1ubuntu0.1 | [liborc-0.4-dev-bin 1:0.4.31-1ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-liborc-0.4-dev-bin-1-0.4.31-1ubuntu0.1.md) | Jul 25, 2024 |
| Linux | liborc-0.4-dev-bin Ubuntu 22.04.1 LTS (jammy) | 1:0.4.32-2ubuntu0.1 | [liborc-0.4-dev-bin 1:0.4.32-2ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-liborc-0.4-dev-bin-1-0.4.32-2ubuntu0.1.md) | Jul 25, 2024 |
| Linux | liborc-0.4-dev-bin Ubuntu 24.04.5 LTS (noble) | 1:0.4.38-1ubuntu0.1 | [liborc-0.4-dev-bin 1:0.4.38-1ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-liborc-0.4-dev-bin-1-0.4.38-1ubuntu0.1.md) | Jul 25, 2024 |
| Linux | orc Debian 13.5 (trixie) | 1:0.4.39-1 | [DEBIAN-CVE-2024-40897](https://patchblox.com/security/data/fix/linux/debian-cve-2024-40897.md) | Jul 26, 2024 |
| Linux | orc Debian 14 | 1:0.4.39-1 | [DEBIAN-CVE-2024-40897](https://patchblox.com/security/data/fix/linux/debian-cve-2024-40897.md) | Jul 26, 2024 |
| Linux | orc RHEL 8 | 0:0.4.28-4.el8_10 | [RHSA-2024:5306](https://patchblox.com/security/data/fix/linux/rhsa-2024-5306.md) | Aug 13, 2024 |
| Linux | orc RHEL 9 | 0:0.4.31-7.el9_4 | [RHSA-2024:6184](https://patchblox.com/security/data/fix/linux/rhsa-2024-6184.md) | Sep 3, 2024 |
| Linux | orc almalinux 8 | 0.4.28-4.el8_10 | [ALSA-2024:5306](https://patchblox.com/security/data/fix/linux/alsa-2024-5306.md) | Aug 13, 2024 |
| Linux | orc almalinux 9 | 0.4.31-7.el9_4 | [ALSA-2024:6184](https://patchblox.com/security/data/fix/linux/alsa-2024-6184.md) | Sep 3, 2024 |
| Linux | orc amzn 2023 | 0.4.31-4.amzn2023.0.4 | [ALAS2023-2024-728](https://patchblox.com/security/data/fix/linux/alas2023-2024-728.md) | Oct 10, 2024 |
| Linux | orc ol 8 | 0:0.4.28-4.el8_10 | [ELSA-2024-5306](https://patchblox.com/security/data/fix/linux/elsa-2024-5306.md) | Aug 13, 2024 |
| Linux | orc ol 9 | 0:0.4.31-7.el9_4 | [ELSA-2024-6184](https://patchblox.com/security/data/fix/linux/elsa-2024-6184.md) | Sep 3, 2024 |
| Linux | orc opensuse-leap 15.6 | 0.4.28-150000.3.9.1 | [SUSE-SU-2025:0344-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0344-1.md) | Feb 3, 2025 |
| Linux | orc rocky 8 | 0:0.4.28-4.el8_10 | [RLSA-2024:5306](https://patchblox.com/security/data/fix/linux/rlsa-2024-5306.md) | May 7, 2025 |
| Linux | orc sles 15.6 | 0.4.28-150000.3.9.1 | [SUSE-SU-2025:0344-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0344-1.md) | Feb 3, 2025 |
| Linux | orc-compiler RHEL 8 | 0:0.4.28-4.el8_10 | [RHSA-2024:5306](https://patchblox.com/security/data/fix/linux/rhsa-2024-5306.md) | Aug 13, 2024 |
| Linux | orc-compiler RHEL 9 | 0:0.4.31-7.el9_4 | [RHSA-2024:6184](https://patchblox.com/security/data/fix/linux/rhsa-2024-6184.md) | Sep 3, 2024 |
| Linux | orc-compiler almalinux 8 | 0.4.28-4.el8_10 | [ALSA-2024:5306](https://patchblox.com/security/data/fix/linux/alsa-2024-5306.md) | Aug 13, 2024 |
| Linux | orc-compiler almalinux 9 | 0.4.31-7.el9_4 | [ALSA-2024:6184](https://patchblox.com/security/data/fix/linux/alsa-2024-6184.md) | Sep 3, 2024 |
| Linux | orc-compiler amzn 2023 | 0.4.31-4.amzn2023.0.4 | [ALAS2023-2024-728](https://patchblox.com/security/data/fix/linux/alas2023-2024-728.md) | Oct 10, 2024 |
| Linux | orc-compiler ol 8 | 0:0.4.28-4.el8_10 | [ELSA-2024-5306](https://patchblox.com/security/data/fix/linux/elsa-2024-5306.md) | Aug 13, 2024 |
| Linux | orc-compiler ol 9 | 0:0.4.31-7.el9_4 | [ELSA-2024-6184](https://patchblox.com/security/data/fix/linux/elsa-2024-6184.md) | Sep 3, 2024 |
| Linux | orc-compiler-debuginfo amzn 2023 | 0.4.31-4.amzn2023.0.4 | [ALAS2023-2024-728](https://patchblox.com/security/data/fix/linux/alas2023-2024-728.md) | Oct 10, 2024 |
| Linux | orc-debuginfo amzn 2023 | 0.4.31-4.amzn2023.0.4 | [ALAS2023-2024-728](https://patchblox.com/security/data/fix/linux/alas2023-2024-728.md) | Oct 10, 2024 |
| Linux | orc-debugsource amzn 2023 | 0.4.31-4.amzn2023.0.4 | [ALAS2023-2024-728](https://patchblox.com/security/data/fix/linux/alas2023-2024-728.md) | Oct 10, 2024 |
| Linux | orc-devel RHEL 8 | 0:0.4.28-4.el8_10 | [RHSA-2024:5306](https://patchblox.com/security/data/fix/linux/rhsa-2024-5306.md) | Aug 13, 2024 |
| Linux | orc-devel RHEL 9 | 0:0.4.31-7.el9_4 | [RHSA-2024:6184](https://patchblox.com/security/data/fix/linux/rhsa-2024-6184.md) | Sep 3, 2024 |
| Linux | orc-devel almalinux 8 | 0.4.28-4.el8_10 | [ALSA-2024:5306](https://patchblox.com/security/data/fix/linux/alsa-2024-5306.md) | Aug 13, 2024 |
| Linux | orc-devel almalinux 9 | 0.4.31-7.el9_4 | [ALSA-2024:6184](https://patchblox.com/security/data/fix/linux/alsa-2024-6184.md) | Sep 3, 2024 |
| Linux | orc-devel amzn 2023 | 0.4.31-4.amzn2023.0.4 | [ALAS2023-2024-728](https://patchblox.com/security/data/fix/linux/alas2023-2024-728.md) | Oct 10, 2024 |
| Linux | orc-devel ol 8 | 0:0.4.28-4.el8_10 | [ELSA-2024-5306](https://patchblox.com/security/data/fix/linux/elsa-2024-5306.md) | Aug 13, 2024 |
| Linux | orc-devel ol 9 | 0:0.4.31-7.el9_4 | [ELSA-2024-6184](https://patchblox.com/security/data/fix/linux/elsa-2024-6184.md) | Sep 3, 2024 |
| Linux | orc-doc amzn 2023 | 0.4.31-4.amzn2023.0.4 | [ALAS2023-2024-728](https://patchblox.com/security/data/fix/linux/alas2023-2024-728.md) | Oct 10, 2024 |

---

Data as of 2026-11-09T01:18:40Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
