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

(12 total, 1 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 arrayvec^0.7.20.7.6up to date
 byteorder^1.4.31.5.0up to date
 chrono^0.4.230.4.44up to date
 enumflags2^0.7.70.7.12up to date
 libc^0.2.1370.2.182up to date
 serde^1.01.0.228up to date
 serde_bytes^0.110.11.19up to date
 static_assertions^1.1.01.1.0up to date
 time ⚠️^0.3.160.3.47maybe insecure
 url^2.3.12.5.8up to date
 uuid^1.2.11.22.0up to date
 zvariant_derive=3.15.25.10.0out of date

Dev dependencies

(5 total, 3 outdated)

CrateRequiredLatestStatus
 criterion^0.40.8.2out of date
 glib^0.17.90.22.2out of date
 rand^0.8.50.10.0out of date
 serde_json^1.01.0.149up to date
 serde_repr^0.1.90.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.