{"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-3158 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2025-3158 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-3158 and fix it if it is affected.\n\nWhat it is: CVE-2025-3158 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-3158 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-3158/ (Markdown: https://insights.sbomify.com/CVE-2025-3158/index.md)","id":"CVE-2025-3158","markdown":"https://insights.sbomify.com/CVE-2025-3158/index.md","name":"CVE-2025-3158","record":{"aliases":["DEBIAN-CVE-2025-3158","GHSA-6r79-vpvw-rfjj","PYSEC-2025-169","UBUNTU-CVE-2025-3158"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"3D asset import library","requires_auth":"low_privilege","summary":"A heap-based buffer overflow in Assimp's LWO file handler 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, has been found in Open Asset Import Library Assimp 5.4.3. Affected by this issue is the function Assimp::LWO::AnimResolver::UpdateAnimRangeSetup of the file code/AssetLib/LWO/LWOAnimation.cpp of the component LWO File Handler. The manipulation leads to heap-based buffer overflow. It is possible to launch the attack on the local host. The exploit has been disclosed to the public and may be used.","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 LWO File LWOAnimation.cpp UpdateAnimRangeSetup heap-based overflow","id":"CVE-2025-3158","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"memory_corruption","year":"2025"},"n_packages":1,"n_references":5,"next":{"headline":"Open Asset Import Library Assimp ASE File ASEParser.cpp ParseLV4MeshBonesVertices heap-based overflow","id":"CVE-2025-3159"},"packages":[{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["5.4.3"],"package":"pyassimp","purl":"pkg:pypi/pyassimp","source":"PYSEC-2025-169"}],"prev":{"headline":"Intelbras WRN 150 Wireless Menu cross site scripting","id":"CVE-2025-3157"},"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 LWO file handler allows local attackers to execute arbitrary code or cause denial of service via malicious files.","url":"https://insights.sbomify.com/CVE-2025-3158/"}