CVE-2020-28599
NixOS vulnerability analysis and mitigation

Overview

A stack-based buffer overflow vulnerability exists in the import_stl.cc:import_stl() functionality of Openscad openscad-2020.12-RC2. The vulnerability, identified as CVE-2020-28599, was discovered in February 2021 and affects the STL file parsing functionality in OpenSCAD, a software for creating solid 3D CAD objects (NVD, Talos).

Technical details

The vulnerability occurs in the import_stl() function when processing STL files. When parsing vertex coordinates in STL files, the code uses a fixed-size array double vdata[3][3] but fails to properly validate array bounds, leading to a stack-based buffer overflow. The CVSS v3.1 base score is 7.8 HIGH (Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H) according to NVD, while Talos rates it at 8.8 HIGH (Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H) (NVD, Talos).

Impact

A specially crafted STL file can lead to code execution with the privileges of the process or cause a Denial of Service condition. The vulnerability requires user interaction in the form of loading a malicious STL file into OpenSCAD (Gentoo, Talos).

Exploitability

The vulnerability can be triggered by providing a malicious STL file to an OpenSCAD user. Proof-of-concept exploit code has been developed by security researchers, demonstrating the potential for arbitrary code execution (Talos).

Mitigation and workarounds

Users should upgrade to OpenSCAD version 2021.01 or later which contains the fix for this vulnerability. Various Linux distributions have also released security updates to address this issue (Gentoo, Fedora).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-13097CRITICAL9.1
  • NixOS logoNixOS
  • python3-samba-test
NoYesAug 20, 2026
CVE-2026-11861HIGH8.1
  • NixOS logoNixOS
  • samba-common
NoYesAug 20, 2026
CVE-2026-73198HIGH7.5
  • NixOS logoNixOS
  • ctdb-ceph-mutex
NoYesAug 20, 2026
CVE-2026-73197HIGH7.5
  • NixOS logoNixOS
  • samba-test-libs-debuginfo
NoYesAug 20, 2026
CVE-2026-73196MEDIUM6.5
  • NixOS logoNixOS
  • samba-ldb-ldap-modules-debuginfo
NoYesAug 20, 2026

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