OSV-2023-340 Heap-double-free in grk::DecompressCodeblock::release
A heap double-free vulnerability in the OpenJPEG library allows attackers to cause denial of service or potentially execute arbitrary code via crafted images.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is OSV-2023-340?
OSV-2023-340 is an use after free vulnerability in grok, published on 24 Apr 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=58285
Crash type: Heap-double-free
Crash state:
grk::DecompressCodeblock::release
grk::t1_part1::T1Part1::decompress
std::__1::__function::__func<grk::DecompressScheduler::scheduleBlocks
Which versions are affected by OSV-2023-340?
1 open source package ship an affected version, including grok.
| Package | Affected | Fixed in |
|---|---|---|
grok OSS-Fuzz | All versions | None |
How do I fix OSV-2023-340?
No fix has been published for OSV-2023-340 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is OSV-2023-340 being exploited?
There is no known exploitation of OSV-2023-340 in the wild and no public exploit code.