CVE-2020-35636CWE-129

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()…

Critical · published March 4, 2021

CVSS v3.0
10.0
EPSS
3%
Percentile
88.4
In the wild
Unconfirmed
What it is

🔥 A crafty malformed file is all it takes to trigger this critical code execution vulnerability in CGAL's Nef polygon-parsing! Think of it as a restaurant kitchen that blindly follows a recipe without checking the ingredients list — if someone hands them a recipe that calls for poison instead of salt, the results could be catastrophic! An attacker could exploit this vulnerability to execute arbitrary code, potentially allowing them to take over the system. This means they could manipulate, steal, or even destroy critical data! The consequences could be absolutely devastating, especially if this vulnerability goes unchecked in production environments.

Put simply

Think of it as a restaurant kitchen that blindly follows a recipe without checking the ingredients list — if someone hands them a recipe that calls for poison instead of salt, the results could be catastrophic! This vulnerability occurs when the Nef polygon-parsing functionality in CGAL (specifically within the SNC_io_parser::read_sface() method) performs an out-of-bounds read, leading to type confusion and possible code execution.

What to do

An attacker could exploit this vulnerability to execute arbitrary code, potentially allowing them to take over the system. This means they could manipulate, steal, or even destroy critical data! The consequences could be absolutely devastating, especially if this vulnerability goes unchecked in production environments. To protect your systems, immediately patch to CGAL version 5.1.2 or later where this vulnerability is addressed. Additionally, review and sanitize any input files before processing them to mitigate potential risks. You've got this! Stay proactive, follow these steps, and you’ll keep your systems safe! 🛡️

The record
Technical detail
CVSS v3.0
10.0 · CRITICAL
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.03292 · 88.4th percentile
Weakness
CWE-129 · Improper Validation of Array Index
Published
2021-03-04T00:00Z
EPSS history
Timeline
  • 04 MAR 00:00Z
    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()…
    cvelistv5