{"id":"DHI-lfnq-nw73-nxbl-xyeq","aliases":[],"title":"With `CParameter::StableInBuffer(true)` (`experimental` feature), the C","originalDescription":"With `CParameter::StableInBuffer(true)` (`experimental` feature), the C library keeps a pointer to the input of one streaming call and reads from it in later calls, including `flush_stream` and `end_stream`, which take no input. An `InBuffer` only borrows its slice for one call, so safe code could free it in between, and freed memory was compressed into the frame. The C library behaves this way since zstd 1.5.4, whether bundled or linked from the system. The flaw was corrected by refusing to enable the parameter.","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":null,"exploitDb":null},"affected":[],"references":[{"url":"https://scout.docker.com/v/DHI-lfnq-nw73-nxbl-xyeq","type":"advisory"},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0395","type":"advisory"},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0395.html","type":"advisory"},{"url":"https://github.com/gyscos/zstd-rs/pull/384","type":"fix"},{"url":"https://github.com/gyscos/zstd-rs/commit/53a8a290d8cfb52ff5b29fb6e04a40b5a174cc65","type":"fix"}],"sources":[{"name":"osv","at":"2026-12-02T17:32:59.688Z","url":"https://osv.dev/vulnerability/DHI-lfnq-nw73-nxbl-xyeq","license":"CC-BY 4.0","firstSeenAt":"2026-11-19T21:47:36.224Z"}],"firstSeenAt":"2026-11-19T21:47:36.224Z","publishedAt":"2026-11-19T21:10:41.000Z","modifiedAt":"2026-12-02T17:15:08.554Z"}