CVE-2022-0497 Memory corruption in openscad
An attacker can cause an out-of-bounds read and potential crash or data leak by providing a malformed .scad file to OpenSCAD.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2022-0497?
CVE-2022-0497 is a high-severity memory corruption vulnerability in openscad, published on 29 Aug 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
A vulnerbiility was found in Openscad, where a .scad file with no trailing newline could cause an out-of-bounds read during parsing of annotations.
Weakness: CWE-125
Which versions are affected by CVE-2022-0497?
It affects 1 product.
Products include Openscad Openscad.
How do I fix CVE-2022-0497?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2022-0497 being exploited?
There is no known exploitation of CVE-2022-0497 in the wild and no public exploit code.
Other vulnerabilities in openscad
Sources
Also known as DEBIAN-CVE-2022-0497, GHSA-326h-gchx-f5r4, UBUNTU-CVE-2022-0497.