CVE-2022-35164 Use after free in n/a

Critical 9.8 Published Updated

A heap use-after-free in LibreDWG allows attackers to execute arbitrary code or cause denial of service via crafted DWG files.

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

What is CVE-2022-35164?

CVE-2022-35164 is a critical use after free vulnerability in Gnu Libredwg, published on 18 Aug 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

LibreDWG v0.12.4.4608 & commit f2dea29 was discovered to contain a heap use-after-free via bit_copy_chain.

Weakness: CWE-416

Which versions are affected by CVE-2022-35164?

It affects 1 product.

Linux distribution packages (1)
libredwg openSUSE:TumbleweedAll versions0.12.5-3.1

Products include Gnu Libredwg.

How do I fix CVE-2022-35164?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2022-35164 being exploited?

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

All Gnu Libredwg vulnerabilities

Sources

Also known as GHSA-c2cm-gvqh-rxhh, openSUSE-SU-2024:12276-1.

Is CVE-2022-35164 in your software?

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

Check your SBOMs for free