This project might be open to known security vulnerabilities, which can be prevented by tightening the version range of affected dependencies. Find detailed information at the bottom.

Crate zvariant

Dependencies

(14 total, 1 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 arrayvec^0.7.40.7.6up to date
 camino^1.1.91.2.2up to date
 chrono^0.4.380.4.43up to date
 endi^1.1.01.1.1up to date
 enumflags2^0.7.90.7.12up to date
 heapless^0.8.00.9.2out of date
 serde^1.0.2001.0.228up to date
 serde_bytes^0.11.140.11.19up to date
 time ⚠️^0.3.360.3.47maybe insecure
 url^2.5.02.5.8up to date
 uuid^1.8.01.21.0up to date
 winnow^0.70.7.14up to date
 zvariant_derive^5.6.05.9.2up to date
 zvariant_utils^3.2.03.3.0up to date

Dev dependencies

(5 total, 2 outdated)

CrateRequiredLatestStatus
 chrono^0.4.380.4.43up to date
 criterion^0.6.00.8.2out of date
 rand^0.9.00.10.0out of date
 serde_json^1.0.1161.0.149up to date
 serde_repr^0.1.190.1.20up to date

Security Vulnerabilities

time: Denial of Service via Stack Exhaustion

RUSTSEC-2026-0009

Impact

When user-provided input is provided to any type that parses with the RFC 2822 format, a denial of service attack via stack exhaustion is possible. The attack relies on formally deprecated and rarely-used features that are part of the RFC 2822 format used in a malicious manner. Ordinary, non-malicious input will never encounter this scenario.

Patches

A limit to the depth of recursion was added in v0.3.47. From this version, an error will be returned rather than exhausting the stack.

Workarounds

Limiting the length of user input is the simplest way to avoid stack exhaustion, as the amount of the stack consumed would be at most a factor of the length of the input.