OSV-2023-500 Heap-buffer-overflow in stbiw__encode_png_line
A heap-buffer-overflow in the stb image library's PNG encoder can lead to crashes or potential code execution when processing malformed images.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Not stated
- Victim action needed
- Not needed
- Fix
- None listed
What is OSV-2023-500?
OSV-2023-500 is a memory corruption vulnerability in ogre, published on 20 Jun 2023.
Official description
OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=42525448
Crash type: Heap-buffer-overflow READ 1
Crash state:
stbiw__encode_png_line
stbi_write_png_to_mem
Ogre::STBIImageCodec::encode
Which versions are affected by OSV-2023-500?
1 open source package ship an affected version, including ogre.
| Package | Affected | Fixed in |
|---|---|---|
ogre OSS-Fuzz | All versions | None |
How do I fix OSV-2023-500?
No fix has been published for OSV-2023-500 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-2023-500 being exploited?
There is no known exploitation of OSV-2023-500 in the wild and no public exploit code.