{"schema_version":"1.9.0","id":"RUSTSEC-2026-0333","published":"2026-10-06T12:00:00Z","modified":"2026-10-08T15:00:03.204356893Z","aliases":["GHSA-4xcc-23fx-w2wj"],"summary":"Resource budgets not enforced on the typed deserialization path","details":"`ParserConfig::max_events`, `max_nodes`, `max_total_scalar_bytes`,\n`max_merge_keys`, `alias_anchor_ratio` and the alias jump factor were\nenforced only by the two `Value` loaders. A typed target with a\ndefault-shaped configuration is served by the streaming deserializer,\nwhich never read those fields, so tightening any of them had no effect\non `from_str::<T>` for a struct target. The default document-length,\ndepth and alias-count caps were enforced on every path, so no input was\nunbounded; the gap affects callers who tightened the other budgets for\nhostile input.\n\nVersion 0.0.53 charges every budget on the streaming path as well and\nadds cross-path parity tests.\n\nUsers who cannot upgrade can deserialize into `noyalib::Value` first and\nconvert with `from_value`, or rely on `max_document_length` and\n`max_depth`, which were always applied on every path.","affected":[{"package":{"name":"noyalib","ecosystem":"crates.io","purl":"pkg:cargo/noyalib"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.0.53"}]}],"ecosystem_specific":{"affected_functions":null,"affects":{"arch":[],"functions":["noyalib::from_reader","noyalib::from_reader_with_config","noyalib::from_slice","noyalib::from_slice_with_config","noyalib::from_str","noyalib::from_str_with_config"],"os":[]}},"database_specific":{"categories":["denial-of-service"],"cvss":null,"informational":null,"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0333.json"}}],"references":[{"type":"PACKAGE","url":"https://crates.io/crates/noyalib"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2026-0333.html"},{"type":"WEB","url":"https://github.com/sebastienrousseau/noyalib/pull/470"}],"database_specific":{"license":"CC-BY-4.0"}}