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 printpdf

Dependencies

(22 total, 1 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 lopdf^0.44.00.44.0up to date
 time ⚠️^0.3.360.3.54maybe insecure
 allsorts-azul^0.17.10.17.1up to date
 image^0.25.20.25.10up to date
 svg2pdf^0.13.00.13.0up to date
 base64^0.22.10.23.0out of date
 weezl^0.20.2.1up to date
 serde^11.0.229up to date
 serde_derive^11.0.229up to date
 flate2^1.0.351.1.9up to date
 serde_json^11.0.151up to date
 smallvec^1.15.11.15.2up to date
 rust-fontconfig>=4.4.7, <4.54.4.7up to date
 xmlparser^0.13.60.13.6up to date
 web-sys^0.3.770.3.103up to date
 wasm-bindgen-futures^0.4.500.4.76up to date
 azul-css^0.0.120.0.12up to date
 azul-core^0.0.120.0.12up to date
 azul-layout^0.0.120.0.12up to date
 wasm-bindgen^0.20.2.126up to date
 js-sys^0.3.400.3.103up to date
 getrandom^0.40.4.3up to date

Dev dependencies

(3 total, all up-to-date)

CrateRequiredLatestStatus
 pretty_assertions^1.4.11.4.1up to date
 text-diff^0.4.00.4.0up to date
 lopdf^0.44.00.44.0up 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.