OSV-2021-493 Heap-buffer-overflow in encode_3dsolid
A heap-buffer-overflow in the DWG encoder allows attackers to cause denial of service or potentially execute code via crafted files.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Not stated
- Victim action needed
- Not needed
- Fix
- None listed
What is OSV-2021-493?
OSV-2021-493 is a memory corruption vulnerability in libredwg, published on 5 Mar 2021.
Official description
OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=31657
Crash type: Heap-buffer-overflow READ 4
Crash state:
encode_3dsolid
dwg_encode_REGION_private
dwg_encode_REGION
Which versions are affected by OSV-2021-493?
1 open source package ship an affected version, including libredwg.
| Package | Affected | Fixed in |
|---|---|---|
libredwg OSS-Fuzz | All versions | None |
How do I fix OSV-2021-493?
No fix has been published for OSV-2021-493 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 OSV-2021-493 being exploited?
There is no known exploitation of OSV-2021-493 in the wild and no public exploit code.