Email me

Rust advisories / noyalib

VulnerabilityRUSTSEC-2026-0333 · noyalib

RUSTSEC-2026-0333: Resource budgets not enforced on the typed deserialization path

Short answerA security vulnerability in the noyalib crate: Resource budgets not enforced on the typed deserialization path. No severity score was published. Fixed in 0.0.53: update to a fixed version.

Cratenoyalib
TypeVulnerability (denial-of-service)
Affected versionsBefore 0.0.53.
Fixed in0.0.53
Severitynot scored
Published2026-10-06
Last changed2026-10-08
Also known asGHSA-4xcc-23fx-w2wj
Affected functionsnoyalib::from_reader, noyalib::from_reader_with_config, noyalib::from_slice, noyalib::from_slice_with_config, noyalib::from_str, noyalib::from_str_with_config

What to do

  1. See which version you have: cargo tree -i noyalib (it also shows which of your dependencies pulls it in).
  2. Update within your version requirement: cargo update -p noyalib. If the fix is a newer major or minor than your requirement allows, raise it in Cargo.toml (for example noyalib = "0.0.53") or update the dependency that pulls it in.
  3. Check again with cargo audit, or paste your Cargo.lock into our Cargo.toml checker.

Details from the advisory

ParserConfig::max_events, max_nodes, max_total_scalar_bytes, max_merge_keys, alias_anchor_ratio and the alias jump factor were enforced only by the two Value loaders. A typed target with a default-shaped configuration is served by the streaming deserializer, which never read those fields, so tightening any of them had no effect on from_str::<T> for a struct target. The default document-length, depth and alias-count caps were enforced on every path, so no input was unbounded; the gap affects callers who tightened the other budgets for hostile input.

Version 0.0.53 charges every budget on the streaming path as well and adds cross-path parity tests.

Users who cannot upgrade can deserialize into noyalib::Value first and convert with from_value, or rely on max_document_length and max_depth, which were always applied on every path.

References

From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.

Up next

Are you affected?Check your whole dependency treePaste Cargo.lock: every advisory, for your exact versions.Read it next →

Did this answer your question?

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ