Stack-based Buffer Overflow Affecting libigl/libigl package, versions [2.4.0,]


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    Exploit Maturity
    Proof of concept
    EPSS
    0.06% (26th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-UNMANAGED-LIBIGLLIBIGL-7151940
  • published 29 May 2024
  • disclosed 28 May 2024
  • credit Carl Hurd

How to fix?

There is no fixed version for libigl/libigl.

Overview

Affected versions of this package are vulnerable to Stack-based Buffer Overflow due to the readOFF.cpp functionality. An attacker can execute arbitrary code by providing a maliciously crafted .off file that exploits the buffer overflow condition in the parsing of comments within the geometric faces section.

CVSS Scores

version 3.1
Expand this section

Snyk

7.8 high
  • Attack Vector (AV)
    Local
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    Required
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    High
Expand this section

NVD

7.8 high