OSV-2020-1478 Heap-buffer-overflow in load_jpeg_image
A heap-buffer-overflow in the stb image library's JPEG loader allows attackers to cause crashes or potentially execute code via malicious images.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Not stated
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is OSV-2020-1478?
OSV-2020-1478 is a memory corruption vulnerability in stb, published on 28 Jul 2020.
Official description
OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=23153
Crash type: Heap-buffer-overflow READ 1
Crash state:
load_jpeg_image
stbi__jpeg_load
stbi__load_main
Which versions are affected by OSV-2020-1478?
1 open source package ship an affected version, including stb.
| Package | Affected | Fixed in |
|---|---|---|
stb OSS-Fuzz | All versions | None |
How do I fix OSV-2020-1478?
No fix has been published for OSV-2020-1478 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-2020-1478 being exploited?
There is no known exploitation of OSV-2020-1478 in the wild and no public exploit code.