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 append_only_set

No external dependencies! 🙌

Crate imageflow_helpers

Dependencies

(21 total, 3 possibly insecure)

CrateRequiredLatestStatus
 libc^0.20.2.182up to date
 time ⚠️*0.3.47maybe insecure
 chrono ⚠️^0.40.4.44maybe insecure
 serde*1.0.228up to date
 serde_json*1.0.149up to date
 serde_derive*1.0.228up to date
 lazy_static^11.5.0up to date
 twox-hash^22.1.2up to date
 fnv*1.0.7up to date
 blake2-rfc*0.2.18up to date
 sha2*0.10.9up to date
 digest*0.11.1up to date
 uuid*1.21.0up to date
 smallvec ⚠️*1.15.1maybe insecure
 regex-lite^0.1.60.1.9up to date
 rand*0.10.0up to date
 rgb^0.80.8.53up to date
 base64^0.220.22.1up to date
 unicase^22.9.0up to date
 backtrace^0.30.3.76up to date
 mimalloc*0.1.48up to date

Crate imageflow_http_helpers

Dependencies

(2 total, all up-to-date)

CrateRequiredLatestStatus
 ureq^33.2.0up to date
 uuid^1.01.21.0up to date

Crate imageflow_types

Dependencies

(10 total, 1 possibly insecure)

CrateRequiredLatestStatus
 serde^11.0.228up to date
 serde_json^11.0.149up to date
 serde_derive^11.0.228up to date
 lazy_static^11.5.0up to date
 regex-lite^0.1.60.1.9up to date
 chrono ⚠️^0.40.4.44maybe insecure
 imgref^1.101.12.0up to date
 rgb^0.80.8.53up to date
 schemars^11.2.1up to date
 utoipa^5.3.15.4.0up to date

Build dependencies

(3 total, 1 possibly insecure)

CrateRequiredLatestStatus
 quick-error^22.0.1up to date
 chrono ⚠️^0.40.4.44maybe insecure
 rayon^11.11.0up to date

Crate imageflow_riapi

Dependencies

(5 total, 1 possibly insecure)

CrateRequiredLatestStatus
 url*2.5.8up to date
 ieee754^0.20.2.6up to date
 time ⚠️*0.3.47maybe insecure
 option-filter^11.0.2up to date
 lazy_static^11.5.0up to date

Dev dependencies

(1 total, all up-to-date)

CrateRequiredLatestStatus
 difference^22.0.0up to date

Crate imageflow_core

Dependencies

(36 total, 1 possibly insecure)

CrateRequiredLatestStatus
 serde^11.0.228up to date
 serde_json^11.0.149up to date
 twox-hash^22.1.2up to date
 petgraph^0.8.10.8.3up to date
 daggy^0.90.9.0up to date
 smallvec ⚠️^11.15.1maybe insecure
 itertools^0.140.14.0up to date
 imgref^1.4.11.12.0up to date
 slotmap^11.1.1up to date
 base64^0.220.22.1up to date
 hex^0.40.4.3up to date
 gif^0.140.14.1up to date
 png^0.180.18.1up to date
 rgb^0.8.500.8.53up to date
 imagequant^44.4.1up to date
 lodepng^33.12.2up to date
 flate2^1.01.1.9up to date
 libwebp-sys^0.14.10.14.2up to date
 libz-sys^11.1.24up to date
 zune-bmp^0.5.0-rc40.5.2up to date
 bytemuck^11.25.0up to date
 jpeg-decoder^0.3.10.3.2up to date
 lcms2^66.1.1up to date
 lcms2-sys^44.0.6up to date
 dashmap^6.1.06.1.0up to date
 uuid^11.21.0up to date
 mozjpeg^0.100.10.13up to date
 multiversion^0.80.8.0up to date
 archmage^0.80.8.7up to date
 safe_unaligned_simd^0.20.2.4up to date
 mozjpeg-sys^22.2.3up to date
 evalchroma^11.0.3up to date
 enough^0.40.4.0up to date
 utoipa^5.3.15.4.0up to date
 libpng-sys^1.1.91.1.11up to date
 schemars^11.2.1up to date

Dev dependencies

(10 total, all up-to-date)

CrateRequiredLatestStatus
 dssim^3.3.43.4.0up to date
 load_image^3.3.23.3.2up to date
 criterion^0.80.8.2up to date
 rand*0.10.0up to date
 include_dir^0.7.40.7.4up to date
 anyhow^1.01.0.102up to date
 walkdir^22.5.0up to date
 csv^11.4.0up to date
 rayon^11.11.0up to date
 colorutils-rs^0.70.7.6up to date

Crate imageflow_abi

Dependencies

(4 total, 1 possibly insecure)

CrateRequiredLatestStatus
 libc^0.20.2.182up to date
 backtrace*0.3.76up to date
 smallvec ⚠️*1.15.1maybe insecure
 base64^0.220.22.1up to date

Build dependencies

(3 total, all up-to-date)

CrateRequiredLatestStatus
 cbindgen^0.290.29.2up to date
 regex-lite^0.1.60.1.9up to date
 rayon^11.11.0up to date

Crate imageflow

No external dependencies! 🙌

Crate imageflow_tool_lib

Dependencies

(10 total, 3 possibly insecure)

CrateRequiredLatestStatus
 libc^0.20.2.182up to date
 clap^44.5.60up to date
 time ⚠️^0.30.3.47maybe insecure
 threadpool^11.8.1up to date
 serde^11.0.228up to date
 serde_json^11.0.149up to date
 zip^88.1.0up to date
 smallvec ⚠️^11.15.1maybe insecure
 bytes ⚠️^11.11.1maybe insecure
 utoipa^5.3.15.4.0up to date

Crate imageflow_c_components

Dependencies

(5 total, all up-to-date)

CrateRequiredLatestStatus
 mozjpeg-sys^22.2.3up to date
 libc0.2.*0.2.182up to date
 libz-sys^1.0.181.1.24up to date
 libpng-sys^1.1.81.1.11up to date
 lcms2-sys^44.0.6up to date

Build dependencies

(2 total, all up-to-date)

CrateRequiredLatestStatus
 glob^0.3.00.3.3up to date
 cc^11.2.56up to date

Security Vulnerabilities

chrono: Potential segfault in `localtime_r` invocations

RUSTSEC-2020-0159

Impact

Unix-like operating systems may segfault due to dereferencing a dangling pointer in specific circumstances. This requires an environment variable to be set in a different thread than the affected functions. This may occur without the user's knowledge, notably in a third-party library.

Workarounds

No workarounds are known.

References

smallvec: Buffer overflow in SmallVec::insert_many

RUSTSEC-2021-0003

A bug in the SmallVec::insert_many method caused it to allocate a buffer that was smaller than needed. It then wrote past the end of the buffer, causing a buffer overflow and memory corruption on the heap.

This bug was only triggered if the iterator passed to insert_many yielded more items than the lower bound returned from its size_hint method.

The flaw was corrected in smallvec 0.6.14 and 1.6.1, by ensuring that additional space is always reserved for each item inserted. The fix also simplified the implementation of insert_many to use less unsafe code, so it is easier to verify its correctness.

Thank you to Yechan Bae (@Qwaz) and the Rust group at Georgia Tech’s SSLab for finding and reporting this bug.

bytes: Integer overflow in `BytesMut::reserve`

RUSTSEC-2026-0007

In the unique reclaim path of BytesMut::reserve, the condition

if v_capacity >= new_cap + offset

uses an unchecked addition. When new_cap + offset overflows usize in release builds, this condition may incorrectly pass, causing self.cap to be set to a value that exceeds the actual allocated capacity. Subsequent APIs such as spare_capacity_mut() then trust this corrupted cap value and may create out-of-bounds slices, leading to UB.

This behavior is observable in release builds (integer overflow wraps), whereas debug builds panic due to overflow checks.

PoC

use bytes::*;

fn main() {
    let mut a = BytesMut::from(&b"hello world"[..]);
    let mut b = a.split_off(5);

    // Ensure b becomes the unique owner of the backing storage
    drop(a);

    // Trigger overflow in new_cap + offset inside reserve
    b.reserve(usize::MAX - 6);

    // This call relies on the corrupted cap and may cause UB & HBO
    b.put_u8(b'h');
}

Workarounds

Users of BytesMut::reserve are only affected if integer overflow checks are configured to wrap. When integer overflow is configured to panic, this issue does not apply.

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.