CVE-2020-28607
Description
Multiple code execution vulnerabilities exists 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. An attacker can provide malicious input to trigger any of these vulnerabilities. An oob read vulnerability exists in Nef_2/PM_io_parser.h PM_io_parser::read_face() set_halfedge().
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
An out-of-bounds read in CGAL's Nef polygon parser allows code execution via a malformed file.
Vulnerability
An out-of-bounds read vulnerability exists in the Nef polygon-parsing functionality of CGAL libcgal version 5.1.1. Specifically, the PM_io_parser::read_face() function in Nef_2/PM_io_parser.h fails to properly validate array indices when processing a specially crafted malformed .nef3 file. This can lead to type confusion and out-of-bounds memory access. The affected code is part of the CGAL library used for geometric algorithms [1].
Exploitation
An attacker can provide a maliciously crafted Nef polygon file (e.g., .nef3) to any application or service that processes such files using CGAL-5.1.1. No authentication or special privileges are required; exploitation can occur over a network if the application accepts user-supplied files. The attacker triggers the vulnerability by causing the parser to read beyond allocated memory during read_face(), leading to type confusion. The exact sequence of steps is part of the malformed file's structure [1].
Impact
Successful exploitation results in arbitrary code execution with the privileges of the affected process. The CVSS score of 10.0 indicates full compromise of confidentiality, integrity, and availability, with no user interaction or privileges required [1][2].
Mitigation
The vulnerability is fixed in CGAL version 5.4.1 and later. Users should upgrade to at least this version. For Gentoo Linux, the fixed package is available as sci-mathematics/cgal-5.4.1 [2]. No workarounds are known; if upgrading is not possible, avoid processing untrusted Nef polygon files.
AI Insight generated on May 25, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
2- CGAL Project/libcgalv5Range: CGAL-5.1.1
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
3- security.gentoo.org/glsa/202305-34mitrevendor-advisory
- lists.debian.org/debian-lts-announce/2022/12/msg00011.htmlmitremailing-list
- talosintelligence.com/vulnerability_reports/TALOS-2020-1225mitre
News mentions
0No linked articles in our index yet.