CVE-2020-35628
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedA code execution vulnerability exists in the Nef polygon-parsing functionality of CGAL libcgal CGAL-5.1.1. An oob read vulnerability exists in Nef_S2/SNC_io_parser.h SNC_io_parser::read_sloop() slh->incident_sface. An attacker can provide malicious input to trigger this vulnerability.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceA critical code execution vulnerability exists in CGAL's Nef polygon-parsing functionality, coupled with an out-of-bounds read vulnerability in the SNC_io_parser::read_sloop() function (slh->incident_sface). Attackers can achieve remote code execution by providing specially crafted malicious polygon data that triggers memory corruption during parsing.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data= 33= 34= 9.0= 10.0= 5.1.1CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify CGAL installation and versionCheck if CGAL library is installed. On Debian/Ubuntu: dpkg -l | grep libcgal-dev or rpm -qa | grep CGAL. On systems with pkg-config: pkg-config --modversion CGAL. Check build files (CMakeLists.txt) for CGAL version requirements.Affected if CGAL version is 5.1.1 exactly, or falls within the affected version range before 5.1.2
-
Verify if code uses Nef polygon functionalitySearch source code for Nef-related headers: #include <CGAL/Nef_...>, usage of CGAL::Nef_polyhedron, CGAL::Nef_complex, or similar Nef* classes in C++ code or headers.Affected if Code imports or uses CGAL's Nef polygon-parsing functionality, particularly for processing polygon data
-
Check for untrusted polygon/geometry input handlingAudit code paths that parse polygon data (from files, network, user input) that flow into CGAL::read_polygon_mesh(), CGAL::Nef_polyhedron_2::read(), or similar parsing functions. Look for file read operations or data deserialization passing data to CGAL.Affected if Application processes untrusted or externally-sourced polygon/geometry data through CGAL's Nef parser
-
Identify runtime environment and exposureCheck if application runs in an exposed manner (network service, file upload handler, or processes data from untrusted sources). Review if CGAL is used in server-side code, desktop applications, or tools that handle third-party geometry files.Affected if CGAL's Nef parser processes data from untrusted or network-accessible sources without sanitization
A system is affected if CGAL version 5.1.1 is installed AND code uses the Nef polygon-parsing functionality to process any polygon/geometry data, especially from untrusted sources.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpdate CGAL to a patched version (5.1.2 or later). If patching is not immediately feasible, implement strict input validation and sandboxing around any code that processes untrusted polygon/geometry data using CGAL's Nef functionality.
CGAL 5.1.2 or later (or latest stable release)
- Check your system's installed CGAL version using your package manager (e.g., 'rpm -q cgal' on Fedora or 'dpkg -l libcgal-dev' on Debian)
- For Fedora systems: Run 'sudo dnf update' to fetch and apply the latest security patches including the CGAL fix
- For Debian systems: Run 'sudo apt-get update && sudo apt-get upgrade' to apply available security updates
- Verify the update was successful by checking the new CGAL version
- If building from source, obtain CGAL-5.1.2 or later from https://www.cgal.org/download.html
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation8.0 h
- Testing12.0 h
- Review / QA4.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $7,616.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2020-35628 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2020-35628 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data