DHI-b2qr-7bjr-dnmp-2ro6
`CCtx::try_clone` (`experimental` feature, deprecated) copies tables sized
Unscored
- CVSS
- —
- EPSS
- —
- Published
- 2026-11-19
- Age
- 14d old
- Modified
- 2026-12-03
- Product
- nvflare
Description
`CCtx::try_clone` (`experimental` feature, deprecated) copies tables sized from the context's applied parameters. Starting a multithreaded frame (`zstdmt` feature) replaces those parameters with the workers' without resizing the context's own tables, so after an abandoned single-threaded frame, the copy wrote up to 512 KiB past a heap allocation, or read past one. This became reachable with the bundled zstd 1.5.6. The flaw was corrected by refusing `try_clone` (and the unsafe `compress_block`) once `NbWorkers` was set on the context.
Sources
- OSV · first seen 14d ago · CC-BY 4.0
References
- https://scout.docker.com/v/DHI-b2qr-7bjr-dnmp-2ro6 advisory
- https://rustsec.org/advisories/RUSTSEC-2026-0402 advisory
- https://rustsec.org/advisories/RUSTSEC-2026-0402.html advisory
- https://github.com/gyscos/zstd-rs/pull/384 fix
- https://github.com/gyscos/zstd-rs/commit/682b8b2967cf4aba5cfe2d940d1e381a3e23211a fix