Out-of-bounds Read Affecting cgal/cgal package, versions [,5.1.3)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.4% (74th 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 IDSNYK-UNMANAGED-CGALCGAL-2367116
  • published26 Jan 2022
  • disclosed30 Aug 2021
  • creditUnknown

Introduced: 30 Aug 2021

CVE-2020-35635  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade cgal/cgal to version 5.1.3 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read. A code execution vulnerability exists in the Nef polygon-parsing functionality of CGAL libcgal CGAL-5.1.1 in Nef_S2/SNC_io_parser.h SNC_io_parser::read_sface() store_sm_boundary_item() Sloop_of OOB read. A specially crafted malformed file can lead to an out-of-bounds read and type confusion, which could lead to code execution. An attacker can provide malicious input to trigger this vulnerability.

CVSS Base Scores

version 3.1