| 제목 | luben zstd-jni 1.5.7-13 Cross-Object Use-After-Free |
|---|
| 설명 | I was auditing the dictionary-sharing code path in zstd-jni and noticed that ZstdCompressCtx.loadDict(ZstdDictCompress dict) hands a raw native pointer to upstream zstd via ZSTD_CCtx_refCDict, but nothing tracks whether the dictionary object is still alive afterward. If the dictionary is close()d while a context that loaded it is still around, the next compress() call on that context dereferences freed native memory. I built the library from source and reproduced a real crash with a heap-spray. |
|---|
| 원천 | ⚠️ https://github.com/luben/zstd-jni/issues/404 |
|---|
| 사용자 | Yu Bao from PayPal Cyber Security Team (UID 99838) |
|---|
| 제출 | 2026. 08. 13. AM 07:25 (1 월 ago) |
|---|
| 모더레이션 | 2026. 09. 14. AM 07:37 (1 month later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 403407 [luben zstd-jni 까지 1.5.7-13 Dictionary Sharing ZstdCompressCtx.java ZstdCompressCtx.loadDict 메모리 손상] |
|---|
| 포인트들 | 20 |
|---|