# CVE-2021-45948: Open Asset Import Library (aka assimp) 5.1.0 and 5.1.1 has a heap-based buffer overflow in m3dsafestr (called from m3dload and Assimp::M3DW…

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.01%, higher than 64% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-12-31T00:00:00.000Z
- Modified: 2026-06-17T04:14:18.233Z
- Weaknesses: CWE-787
- Assigned by: mitre

## Description

Open Asset Import Library (aka assimp) 5.1.0 and 5.1.1 has a heap-based buffer overflow in _m3d_safestr (called from m3d_load and Assimp::M3DWrapper::M3DWrapper).

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- assimp assimp: 5.1.0; 5.1.1

## Every score

- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:N/A:P`

## References

- <https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=34416> (exploit, issue-tracking, third-party-advisory)
- <https://github.com/google/oss-fuzz-vulns/blob/main/vulns/assimp/OSV-2021-775.yaml> (third-party-advisory)
- <https://security.gentoo.org/glsa/202210-01> (third-party-advisory, vendor-advisory)

## Sources

- CVE List: [CVE-2021-45948](https://www.cve.org/CVERecord?id=CVE-2021-45948), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2021-45948](https://nvd.nist.gov/vuln/detail/CVE-2021-45948), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-45948 · Whole record: https://cve.day/CVE-2021-45948.json · Rebuilt by cve.day 2026-11-25T22:58:06.312Z
