CVE-2022-0496 Memory corruption in openscad

Medium 5.5 Published Updated

An out-of-bounds memory access in OpenSCAD allows attackers to cause denial of service or potentially execute code via a crafted DXF file.

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-0496?

CVE-2022-0496 is a medium-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 DXF-format drawing with particular (not necessarily malformed!) properties may cause an out-of-bounds memory access when imported using import().

Weakness: CWE-125, CWE-119

Which versions are affected by CVE-2022-0496?

It affects 1 product.

Products include Openscad Openscad.

How do I fix CVE-2022-0496?

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-0496 being exploited?

There is no known exploitation of CVE-2022-0496 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2022-0496, GHSA-h75g-6869-mgjj, UBUNTU-CVE-2022-0496.

Is CVE-2022-0496 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free