{"answers":{"affected":"1 open source package ship an affected version, including pyassimp. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-3159 exists.","fix":"Apply the vendor's patch.","what":"CVE-2025-3159 is a medium-severity memory corruption vulnerability in Open Asset Import Library Assimp, published on 3 Apr 2025. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-3159 and fix it if it is affected.\n\nWhat it is: CVE-2025-3159 is a medium-severity memory corruption vulnerability in Open Asset Import Library Assimp, published on 3 Apr 2025. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-3159 exists.\n\nAffected packages and fixed versions:\n- pyassimp (PyPI): affected all versions up to 5.4.3; no fix listed\n\nTask:\n1. 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.\n2. 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.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-3159/ (Markdown: https://insights.sbomify.com/CVE-2025-3159/index.md)","id":"CVE-2025-3159","markdown":"https://insights.sbomify.com/CVE-2025-3159/index.md","name":"CVE-2025-3159","record":{"aliases":["CLSA-2025-1763033515","DEBIAN-CVE-2025-3159","GHSA-8qp4-7g6w-2wp3","PYSEC-2025-263","UBUNTU-CVE-2025-3159"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"3D model import library","requires_auth":"low_privilege","summary":"A heap-based buffer overflow in Assimp's ASE parser allows local attackers to execute arbitrary code or cause denial of service via malicious files.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[{"product":"assimp","vendor":"assimp"}],"cvss":{"score":4.8,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-122","name":"Heap-based Buffer Overflow"},{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"}],"description":"A vulnerability, which was classified as critical, was found in Open Asset Import Library Assimp 5.4.3. This affects the function Assimp::ASE::Parser::ParseLV4MeshBonesVertices of the file code/AssetLib/ASE/ASEParser.cpp of the component ASE File Handler. The manipulation leads to heap-based buffer overflow. The attack needs to be approached locally. The exploit has been disclosed to the public and may be used. The identifier of the patch is e8a6286542924e628e02749c4f5ac4f91fdae71b. It is recommended to apply a patch to fix this issue.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Open Asset Import Library Assimp ASE File ASEParser.cpp ParseLV4MeshBonesVertices heap-based overflow","id":"CVE-2025-3159","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"memory_corruption","year":"2025"},"n_packages":1,"n_references":7,"next":{"headline":"Open Asset Import Library Assimp File SceneCombiner.cpp AddNodeHashes out-of-bounds","id":"CVE-2025-3160"},"packages":[{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["5.4.3"],"package":"pyassimp","purl":"pkg:pypi/pyassimp","source":"PYSEC-2025-263"}],"prev":{"headline":"Open Asset Import Library Assimp LWO File LWOAnimation.cpp UpdateAnimRangeSetup heap-based overflow","id":"CVE-2025-3158"},"products":["Assimp"],"published":"2025-04-03","related":[{"cvss_score":8.8,"headline":"Use after free in n/a","id":"CVE-2022-45748","kev_date_added":null,"published":"2023-01-20"},{"cvss_score":8.4,"headline":"Use after free in n/a","id":"CVE-2024-48423","kev_date_added":null,"published":"2024-10-24"},{"cvss_score":8.4,"headline":"Memory corruption in Assimp","id":"CVE-2024-45679","kev_date_added":null,"published":"2024-09-18"},{"cvss_score":8.4,"headline":"Memory corruption in Assimp","id":"CVE-2024-40724","kev_date_added":null,"published":"2024-07-19"},{"cvss_score":6.5,"headline":"Null dereference in n/a","id":"CVE-2022-38528","kev_date_added":null,"published":"2022-09-06"},{"cvss_score":6.2,"headline":"Memory corruption in n/a","id":"CVE-2024-53425","kev_date_added":null,"published":"2024-11-21"},{"cvss_score":6.2,"headline":"Memory corruption in n/a","id":"CVE-2024-48426","kev_date_added":null,"published":"2024-10-24"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-03","vendors":["Open Asset Import Library"]},"summary":"A heap-based buffer overflow in Assimp's ASE parser allows local attackers to execute arbitrary code or cause denial of service via malicious files.","url":"https://insights.sbomify.com/CVE-2025-3159/"}