# CVE-2024-40724: Memory corruption in Assimp

> A local attacker can execute arbitrary code by providing a specially crafted file to the Assimp library due to a heap-based buffer overflow.

- **Severity:** High 8.4 (`CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Local or same network only
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 19 Jul 2024
- **Updated:** 25 Mar 2025
- **Also known as:** CLEANSTART-2024-CV03021, DEBIAN-CVE-2024-40724, GHSA-rvvf-rc7q-23qm, JLSEC-2026-187, MGASA-2024-0300, OESA-2024-1910, OESA-2024-1911, OESA-2024-1912, OESA-2024-1913, SUSE-SU-2024:2975-1, SUSE-SU-2024:2976-1, SUSE-SU-2024:2984-1, SUSE-SU-2024:2985-1, SUSE-SU-2024:3078-1, SUSE-SU-2024:3079-1, UBUNTU-CVE-2024-40724, openSUSE-SU-2024:0225-1, openSUSE-SU-2024:14329-1

## What is CVE-2024-40724?

CVE-2024-40724 is a high-severity memory corruption vulnerability in Open Asset Import Library Assimp, published on 19 Jul 2024. It can only be exploited from the same machine or local network, with no action from the victim.

### Official description

Heap-based buffer overflow vulnerability in Assimp versions prior to 5.4.2 allows a local attacker to execute arbitrary code by inputting a specially crafted file into the product.

Weakness: CWE-787 (Out-of-bounds Write), CWE-120 (Buffer Copy without Checking Size of Input)

## Which versions are affected by CVE-2024-40724?

It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `libqt5-qt3d` | SUSE:Enterprise Storage 7.1 | All versions | 5.12.7-150200.4.3.1 |
| `libqt5-qt3d` | SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | All versions | 5.12.7-150200.4.3.1 |
| `libqt5-qt3d` | SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | All versions | 5.12.7-150200.4.3.1 |
| `libqt5-qt3d` | SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | All versions | 5.15.2+kde39-150400.3.3.1 |
| `libqt5-qt3d` | SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | All versions | 5.15.2+kde39-150400.3.3.1 |
| `libqt5-qt3d` | SUSE:Linux Enterprise Module for Desktop Applications 15 SP5 | All versions | 5.15.8+kde0-150500.3.3.1 |
| `libqt5-qt3d` | SUSE:Linux Enterprise Module for Desktop Applications 15 SP6 | All versions | 5.15.12+kde0-150600.3.3.1 |
| `libqt5-qtquick3d` | SUSE:Linux Enterprise Module for Package Hub 15 SP5 | All versions | 5.15.8+kde1-150500.3.3.1 |
| `libqt5-qtquick3d` | SUSE:Linux Enterprise Module for Package Hub 15 SP6 | All versions | 5.15.12+kde1-150600.3.3.1 |
| `libqt5-qt3d` | SUSE:Linux Enterprise Server 15 SP2-LTSS | All versions | 5.12.7-150200.4.3.1 |
| `libqt5-qt3d` | SUSE:Linux Enterprise Server 15 SP3-LTSS | All versions | 5.12.7-150200.4.3.1 |
| `libqt5-qt3d` | SUSE:Linux Enterprise Server 15 SP4-LTSS | All versions | 5.15.2+kde39-150400.3.3.1 |
| `libqt5-qt3d` | SUSE:Linux Enterprise Server for SAP Applications 15 SP2 | All versions | 5.12.7-150200.4.3.1 |
| `libqt5-qt3d` | SUSE:Linux Enterprise Server for SAP Applications 15 SP3 | All versions | 5.12.7-150200.4.3.1 |
| `libqt5-qt3d` | SUSE:Linux Enterprise Server for SAP Applications 15 SP4 | All versions | 5.15.2+kde39-150400.3.3.1 |
| `assimp` | SUSE:Package Hub 15 SP5 | All versions | 5.3.1-bp156.3.3.1 |
| `assimp` | SUSE:Package Hub 15 SP6 | All versions | 5.3.1-bp156.3.3.1 |
| `assimp` | openSUSE:Leap 15.5 | All versions | 5.3.1-bp156.3.3.1 |
| `libqt5-qt3d` | openSUSE:Leap 15.5 | All versions | 5.15.8+kde0-150500.3.3.1 |
| `libqt5-qtquick3d` | openSUSE:Leap 15.5 | All versions | 5.15.8+kde1-150500.3.3.1 |
| `assimp` | openSUSE:Leap 15.6 | All versions | 5.3.1-bp156.3.3.1 |
| `libqt5-qt3d` | openSUSE:Leap 15.6 | All versions | 5.15.12+kde0-150600.3.3.1 |
| `libqt5-qtquick3d` | openSUSE:Leap 15.6 | All versions | 5.15.12+kde1-150600.3.3.1 |
| `assimp` | openSUSE:Tumbleweed | All versions | 5.4.3-1.1 |

Products: Assimp Assimp.

## How do I fix CVE-2024-40724?

Upgrade to a fixed version.

## Is CVE-2024-40724 being exploited?

There is no known exploitation of CVE-2024-40724 in the wild and no public exploit code.

## Other vulnerabilities in Open Asset Import Library Assimp

- [CVE-2022-45748](https://insights.sbomify.com/CVE-2022-45748/): Use after free in n/a (high 8.8)
- [CVE-2024-48423](https://insights.sbomify.com/CVE-2024-48423/): Use after free in n/a (high 8.4)
- [CVE-2024-45679](https://insights.sbomify.com/CVE-2024-45679/): Memory corruption in Assimp (high 8.4)
- [CVE-2022-38528](https://insights.sbomify.com/CVE-2022-38528/): Null dereference in n/a (medium 6.5)
- [CVE-2024-53425](https://insights.sbomify.com/CVE-2024-53425/): Memory corruption in n/a (medium 6.2)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2024-40724 and fix it if it is affected.

What it is: CVE-2024-40724 is a high-severity memory corruption vulnerability in Open Asset Import Library Assimp, published on 19 Jul 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2024-40724 in the wild and no public exploit code.

Affected product: Open Asset Import Library Assimp. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2024-40724/ (Markdown: https://insights.sbomify.com/CVE-2024-40724/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2024-40724
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2024-40724
- OSV: https://osv.dev/vulnerability/CVE-2024-40724

---
From sbomify Insights: https://insights.sbomify.com/CVE-2024-40724/
Summaries are generated and may contain mistakes; the official description above is the record.
