OSV-2022-15 Global-buffer-overflow in ZSTD_compressBlock_opt0
A global buffer overflow in the Zstandard compression library can cause a crash when processing malicious 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-2022-15?
OSV-2022-15 is a memory corruption vulnerability in zstd, published on 7 Jan 2022.
Official description
OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=43365
Crash type: Global-buffer-overflow READ 1
Crash state:
ZSTD_compressBlock_opt0
ZSTD_compressBlock_btopt
ZSTD_buildSeqStore
Which versions are affected by OSV-2022-15?
1 open source package ship an affected version, including zstd.
| Package | Affected | Fixed in |
|---|---|---|
zstd OSS-Fuzz | All versions | None |
How do I fix OSV-2022-15?
No fix has been published for OSV-2022-15 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-2022-15 being exploited?
There is no known exploitation of OSV-2022-15 in the wild and no public exploit code.