| 标题 | luben zstd-jni 1.5.7-13 Missing Bounds Check |
|---|
| 描述 | Right after confirming the broken bounds check in ZstdDictCompress's constructor, I checked the decompression-side sibling ZstdDictDecompress(byte[] dict, int offset, int length) — it has the same shape of bug but is worse: there's no validation at all, not even the partial check its compression counterpart has. I confirmed this with a real crash. No check on offset, length, or their relationship to dict.length whatsoever. The native function forwards them straight into ZSTD_createDDict. |
|---|
| 来源 | ⚠️ https://github.com/luben/zstd-jni/issues/405 |
|---|
| 用户 | Yu Bao from PayPal Cyber Security Team (UID 99838) |
|---|
| 提交 | 2026-08-13 07時28分 (2 月前) |
|---|
| 管理 | 2026-09-14 07時37分 (1 month later) |
|---|
| 状态 | 重复 |
|---|
| VulDB条目 | 403174 [luben zstd-jni 直到 1.5.7-13 Dictionary Decompression ZstdDictDecompress constructor offset/length 信息公开] |
|---|
| 积分 | 0 |
|---|