OSV-2018-46 Heap-buffer-overflow in GDAL_LercNS::RLE::readCount
A heap-buffer-overflow in GDAL's Lerc decompression allows attackers to cause crashes or potentially execute code via malicious files.
- 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-2018-46?
OSV-2018-46 is a memory corruption vulnerability in gdal, published on 13 Jan 2021.
Official description
OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=9282
Crash type: Heap-buffer-overflow READ 2
Crash state:
GDAL_LercNS::RLE::readCount
GDAL_LercNS::RLE::decompress
GDAL_LercNS::Lerc2::ReadMask
Which versions are affected by OSV-2018-46?
1 open source package ship an affected version, including gdal.
| Package | Affected | Fixed in |
|---|---|---|
gdal OSS-Fuzz | All versions | None |
How do I fix OSV-2018-46?
No fix has been published for OSV-2018-46 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-2018-46 being exploited?
There is no known exploitation of OSV-2018-46 in the wild and no public exploit code.