CVE-2025-2151: 
Python vulnerability analysis and mitigation

Overview

A critical vulnerability (CVE-2025-2151) was discovered in Open Asset Import Library (Assimp) version 5.4.3. The vulnerability affects the Assimp::GetNextLine function in the ParsingUtils.h library component of the File Handler. This stack-based buffer overflow vulnerability was disclosed on March 10, 2025 (NVD).

Technical details

The vulnerability is a stack-based buffer overflow that occurs in the Assimp::GetNextLine function within ParsingUtils.h. The issue arises when the buffer is bigger or equal to BufferSize(4096), causing it to overwrite the null terminator ('\0') of the line variable. The vulnerability has received a CVSS v4.0 score of 5.3 (Medium) and CVSS v3.1 score of 6.3 (Medium). It has been classified under CWE-121 (Stack-based Buffer Overflow) and CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) (NVD, Github Issue).

Impact

The vulnerability can lead to an out-of-bounds write operation and potential application crash. If exploited, an attacker could potentially achieve remote code execution by tricking a victim into processing a malformed file using Assimp::GetNextLine (Github Issue).

Exploitability

The vulnerability can be initiated remotely and requires no authentication. Proof of concept (PoC) code has been publicly disclosed, and the exploit is available for use. The attack vector requires the processing of specially crafted malformed files (NVD, Github Issue).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

assimp

Affected

sid

assimp: 6.0.2+ds-1

Fixed

trixie

assimp

Affected

Ubuntu

Unknown

bionic (esm-apps)

assimp

Unknown

devel

assimp

Unknown

focal (esm-apps)

assimp

Unknown

jammy

assimp

Unknown

jammy (esm-apps)

assimp

Unknown

noble

assimp

Unknown

noble (esm-apps)

assimp

Unknown

resolute

assimp

Unknown

Source: This report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-46434HIGH7.1
  • Python logoPython
  • wger
NoNoOct 07, 2026
CVE-2026-62179MEDIUM6.5
  • Python logoPython
  • praisonai-platform
NoYesOct 07, 2026
CVE-2026-46438MEDIUM6.5
  • Python logoPython
  • wger
NoNoOct 07, 2026
CVE-2026-45161MEDIUM5.4
  • Python logoPython
  • wger
NoNoOct 07, 2026
CVE-2026-46437MEDIUM4.8
  • Python logoPython
  • wger
NoNoOct 07, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management