OSV-2021-535 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
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is OSV-2021-535?
OSV-2021-535 is a memory corruption vulnerability in libredwg, published on 19 Mar 2021. 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
OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=32165
Crash type: Heap-buffer-overflow READ 4
Crash state:
encode_3dsolid
dwg_encode_BODY_private
dwg_encode_BODY
Which versions are affected by OSV-2021-535?
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-535?
No fix has been published for OSV-2021-535 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-535 being exploited?
There is no known exploitation of OSV-2021-535 in the wild and no public exploit code.