OSV-2025-312 Heap-buffer-overflow in ZSTD_decompressMultiFrame
A heap buffer overflow in the Zstandard decompression library can cause a crash when processing maliciously crafted compressed data.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Not stated
- Victim action needed
- Not needed
- Fix
- None listed
What is OSV-2025-312?
OSV-2025-312 is a memory corruption vulnerability in c-blosc2, published on 2 May 2025.
Official description
OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=414856644
Crash type: Heap-buffer-overflow READ 1
Crash state:
ZSTD_decompressMultiFrame
ZSTD_decompressDCtx
zstd_wrap_decompress
Which versions are affected by OSV-2025-312?
1 open source package ship an affected version, including c-blosc2.
| Package | Affected | Fixed in |
|---|---|---|
c-blosc2 OSS-Fuzz | All versions | None |
How do I fix OSV-2025-312?
No fix has been published for OSV-2025-312 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-2025-312 being exploited?
There is no known exploitation of OSV-2025-312 in the wild and no public exploit code.