CVE-2021-28237 Memory corruption in n/a

Critical 9.8 Published Updated

A heap-buffer overflow 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-2021-28237?

CVE-2021-28237 is a critical memory corruption vulnerability in Gnu Libredwg, published on 2 Dec 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

LibreDWG v0.12.3 was discovered to contain a heap-buffer overflow via decode_preR13.

Weakness: CWE-787

Which versions are affected by CVE-2021-28237?

It affects 1 product.

Linux distribution packages (3)
libredwg SUSE:Package Hub 15 SP4All versions0.12.5-bp154.2.3.1
libredwg openSUSE:Leap 15.4All versions0.12.5-bp154.2.3.1
libredwg openSUSE:TumbleweedAll versions0.12.5-2.1

Products include Gnu Libredwg.

How do I fix CVE-2021-28237?

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-2021-28237 being exploited?

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

All Gnu Libredwg vulnerabilities

Sources

Also known as GHSA-rc9p-cjq8-2vpg, openSUSE-SU-2022:0155-1, openSUSE-SU-2024:12083-1.

Is CVE-2021-28237 in your software?

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

Check your SBOMs for free