CVE-2020-28604
Linux Debian vulnerability analysis and mitigation

Overview

Multiple code execution vulnerabilities exist in the Nef polygon-parsing functionality of CGAL libcgal CGAL-5.1.1. A specially crafted malformed file can lead to an out-of-bounds read and type confusion, which could lead to code execution. The vulnerability was discovered in February 2021 and affects the polygon-parsing code found in CGAL/include/CGAL/Nef2, CGAL/include/CGAL/Nef3, and CGAL/include/CGAL/NefS2 ([Talos](https://talosintelligence.com/vulnerabilityreports/TALOS-2020-1225)).

Technical details

The vulnerability exists in the parsing code for Nef polygons, specifically in the PMioparser::readhedge() function. When reading edge data from input files, the code fails to properly validate array indices before using them to access vector elements. This leads to out-of-bounds reads and type confusion issues when dereferencing object pointers. The vulnerability has a CVSS v3 score of 10.0 (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H) and is classified as CWE-129 (Improper Validation of Array Index) ([Talos](https://talosintelligence.com/vulnerabilityreports/TALOS-2020-1225)).

Impact

The vulnerability could allow an attacker to execute arbitrary code by providing malicious input files. The out-of-bounds reads and type confusion issues can lead to memory corruption and potential code execution in the context of the current process (Talos).

Mitigation and workarounds

The vulnerability has been fixed in updated versions of the software. Users are recommended to upgrade to CGAL version 5.4.1 or later. For Debian 10 (buster), the fix is available in version 4.13-1+deb10u1 (Gentoo Security, Debian LTS).

Additional resources


SourceThis report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40289N/AN/A
  • Linux DebianLinux Debian
  • linux
NoYesDec 06, 2025
CVE-2025-40288N/AN/A
  • Linux DebianLinux Debian
  • linux
NoYesDec 06, 2025
CVE-2025-40287N/AN/A
  • Linux DebianLinux Debian
  • linux
NoYesDec 06, 2025
CVE-2025-40286N/AN/A
  • Linux DebianLinux Debian
  • linux
NoYesDec 06, 2025
CVE-2025-40285N/AN/A
  • Linux DebianLinux Debian
  • linux
NoYesDec 06, 2025

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