CVE-2022-36788 Memory corruption in libslic3r

High 8.1 Published Updated

A heap-based buffer overflow in Slic3r libslic3r allows attackers to execute arbitrary code or cause denial of service via a malicious STL file.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-36788?

CVE-2022-36788 is a high-severity memory corruption vulnerability in libslic3r, published on 20 Apr 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A heap-based buffer overflow vulnerability exists in the TriangleMesh clone functionality of Slic3r libslic3r 1.3.0 and Master Commit b1a5500. A specially-crafted STL file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger this vulnerability.

Weakness: CWE-787, CWE-130

Which versions are affected by CVE-2022-36788?

It affects 1 product.

Products include Slic3r Libslic3r.

How do I fix CVE-2022-36788?

No fix has been published for CVE-2022-36788 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2022-36788 being exploited?

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

Sources

Also known as DEBIAN-CVE-2022-36788, GHSA-c4jg-97gh-363x, UBUNTU-CVE-2022-36788.

Is CVE-2022-36788 in your software?

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

Check your SBOMs for free