This project contains known security vulnerabilities. Find detailed information at the bottom.

Crate append_only_set

No external dependencies! 🙌

Crate imageflow_helpers

Dependencies

(19 total, 1 outdated)

CrateRequiredLatestStatus
 libc^0.20.2.191up to date
 time^0.3.470.3.55up to date
 chrono^0.40.4.45up to date
 serde*1.0.229up to date
 serde_json*1.0.154up to date
 serde_derive*1.0.229up to date
 lazy_static^11.5.1up to date
 twox-hash^22.1.5up to date
 fnv*1.0.7up to date
 blake2-rfc*0.2.18up to date
 sha2*0.11.2up to date
 digest*0.11.3up to date
 uuid*1.29.3up to date
 regex-lite^0.1.60.1.9up to date
 rand*0.10.4up to date
 rgb^0.8.530.8.53up to date
 base64^0.220.23.1out of date
 backtrace^0.30.3.77up to date
 mimalloc*0.1.52up to date

Crate imageflow_http_helpers

Dependencies

(2 total, all up-to-date)

CrateRequiredLatestStatus
 ureq^33.5.2up to date
 uuid^1.01.29.3up to date

Crate imageflow_types

Dependencies

(10 total, 1 outdated)

CrateRequiredLatestStatus
 serde^11.0.229up to date
 serde_json^11.0.154up to date
 serde_derive^11.0.229up to date
 lazy_static^11.5.1up to date
 regex-lite^0.1.60.1.9up to date
 chrono^0.40.4.45up to date
 imgref^1.12.31.12.3up to date
 rgb^0.8.530.8.53up to date
 schemars^11.2.3up to date
 utoipa^5.3.16.0.0out of date

Build dependencies

(3 total, all up-to-date)

CrateRequiredLatestStatus
 quick-error^22.0.1up to date
 chrono^0.40.4.45up to date
 rayon^11.12.0up to date

Crate imageflow_riapi

Dependencies

(5 total, all up-to-date)

CrateRequiredLatestStatus
 url*2.5.9up to date
 ieee754^0.20.2.6up to date
 time*0.3.55up to date
 option-filter^11.0.2up to date
 lazy_static^11.5.1up to date

Dev dependencies

(1 total, all up-to-date)

CrateRequiredLatestStatus
 difference^22.0.0up to date

Crate imageflow_core

Dependencies

(48 total, 4 outdated)

CrateRequiredLatestStatus
 serde^11.0.229up to date
 serde_json^11.0.154up to date
 twox-hash^22.1.5up to date
 petgraph^0.8.10.8.3up to date
 daggy^0.90.9.0up to date
 smallvec^11.16.6up to date
 itertools^0.140.15.0out of date
 imgref^1.12.31.12.3up to date
 slotmap^11.1.1up to date
 base64^0.220.23.1out of date
 hex^0.40.4.3up to date
 gif^0.140.14.2up to date
 png^0.18.10.18.1up to date
 rgb^0.8.530.8.53up to date
 imagequant^44.4.1up to date
 lodepng^33.12.2up to date
 flate2^1.01.1.11up to date
 bytemuck^1.25.21.25.2up to date
 dashmap^6.1.06.2.1up to date
 uuid^11.29.3up to date
 archmage^0.9.330.9.33up to date
 safe_unaligned_simd^0.20.2.5up to date
 zenresize^0.3.10.3.1up to date
 evalchroma^11.0.3up to date
 enough^0.4.50.4.5up to date
 garb^0.2.80.2.8up to date
 rayon^11.12.0up to date
 moxcms^0.9.20.9.2up to date
 utoipa^5.3.16.0.0out of date
 schemars^11.2.3up to date
 zenjpeg^0.8.30.8.4up to date
 zengif^0.7.20.7.3up to date
 zenwebp^0.4.30.4.6up to date
 zenavif^0.1.40.1.6up to date
 zenpixels>=0.2.14, <0.4.00.2.16up to date
 zencodec>=0.1.24, <0.3.00.1.26up to date
 zenpng^0.1.30.1.4up to date
 zenjxl^0.1.10.2.1out of date
 zenbitmaps^0.1.40.1.5up to date
 mozjpeg-rs^0.9.10.9.2up to date
 mozjpeg^0.100.10.13up to date
 mozjpeg-sys^22.2.3up to date
 jpeg-decoder^0.3.10.3.2up to date
 libpng-sys^1.1.91.1.11up to date
 libwebp-sys^0.14.10.14.4up to date
 lcms2^66.3.0up to date
 lcms2-sys^44.2.0up to date
 libz-sys^11.1.33up to date

Dev dependencies

(15 total, 1 outdated)

CrateRequiredLatestStatus
 fs2^0.4.30.4.3up to date
 whereat^0.1.50.1.5up to date
 criterion^0.80.8.2up to date
 rand*0.10.4up to date
 include_dir^0.7.40.7.4up to date
 anyhow^1.01.0.105up to date
 walkdir^22.5.1up to date
 csv^11.4.0up to date
 rayon^11.12.0up to date
 colorutils-rs^0.70.8.0out of date
 zensim-regress^0.3.00.3.1up to date
 zensim^0.2.40.2.7up to date
 seahash^4.1.04.1.0up to date
 image^0.250.25.10up to date
 zenbench^0.1.110.1.11up to date

Crate imageflow_abi

Dependencies

(4 total, 1 outdated)

CrateRequiredLatestStatus
 libc^0.20.2.191up to date
 backtrace*0.3.77up to date
 smallvec*1.16.6up to date
 base64^0.220.23.1out of date

Build dependencies

(3 total, all up-to-date)

CrateRequiredLatestStatus
 cbindgen^0.290.29.4up to date
 regex-lite^0.1.60.1.9up to date
 rayon^11.12.0up to date

Crate imageflow

No external dependencies! 🙌

Crate imageflow_tool_lib

Dependencies

(10 total, 2 outdated, 1 insecure)

CrateRequiredLatestStatus
 libc^0.20.2.191up to date
 clap^44.6.10up to date
 time^0.3.470.3.55up to date
 threadpool^11.8.1up to date
 serde^11.0.229up to date
 serde_json^11.0.154up to date
 zip ⚠️^89.8.2insecure
 smallvec^11.16.6up to date
 bytes^11.12.2up to date
 utoipa^5.3.16.0.0out of date

Crate imageflow_c_components

Dependencies

(5 total, all up-to-date)

CrateRequiredLatestStatus
 mozjpeg-sys^22.2.3up to date
 libc0.2.*0.2.191up to date
 libz-sys^1.0.181.1.33up to date
 libpng-sys^1.1.81.1.11up to date
 lcms2-sys^44.2.0up to date

Build dependencies

(2 total, all up-to-date)

CrateRequiredLatestStatus
 glob^0.3.00.3.4up to date
 cc^11.11.3up to date

Security Vulnerabilities

zip: Insecure Preservation of SUID/SGID Bits during ZIP Extraction Leading to Potential Privilege Escalation

RUSTSEC-2026-0367

The zip crate preserves privileged Unix permission bits (SUID, SGID, and sticky bits) from ZIP external_attributes during extraction, instead of masking them to safe permission bits. If a privileged process (for example, root in an installer, CI/CD pipeline, or container build) extracts an attacker-controlled ZIP archive using ZipArchive::extract() or the stream extraction API, files can be created as setuid-root or setgid. This behavior allows the creation of SUID/SGID files during extraction, which can lead to local privilege escalation depending on the execution environment.

For further details see: https://github.com/zip-rs/zip2/security/advisories/GHSA-vv5m-jxxh-4627

zip: zip: `ZipArchive::extract` creates symbolic links whose attacker-controlled targets are outside the destination directory

RUSTSEC-2026-0368

In zip 9.0.0-pre2, ZipArchive::extract creates a symbolic link from an archive entry after validating only the output entry path. The link target bytes are passed directly to the platform symlink API, so a malicious archive can create an entry inside the destination that resolves to an attacker-chosen path outside it. This behavior was verified on macOS and Linux. On either platform, a subsequent application read or write through that extracted entry accesses the external target with the extracting process's permissions.

For further details see: https://github.com/zip-rs/zip2/security/advisories/GHSA-4v9h-p7m9-rh26

zip: ZipStreamReader::extract() and ZipArchive::extract() apply Unix permissions through symlinks without confining the target

RUSTSEC-2026-0369

ZipStreamReader::extract() applies Unix permissions through extracted symlinks without validating the symlink target stays within the destination

For further details see: https://github.com/zip-rs/zip2/security/advisories/GHSA-4684-h2q9-2vcp

zip: zip: `ZipArchive::extract` aborts the process on a symlink entry with a large declared size

RUSTSEC-2026-0429

ZipArchive::extract() sizes the symlink-target buffer from the uncompressed size declared in the central directory record, before reading a single byte of entry data:

let mut target = Vec::with_capacity(file.size() as usize);

Both inputs are attacker-controlled. ZipFile::size() returns uncompressed_size verbatim from the central directory, widened to a full u64 by a ZIP64 extended-information extra field, and is never cross-checked against the compressed size, the remaining archive length, or any platform-appropriate bound for a symlink target. ZipFile::is_symlink() is decided entirely by the S_IFLNK bit of the external-attributes field.

Vec::with_capacity() is infallible: when the reservation is refused it calls handle_alloc_error() and aborts the process. This is not a Rust panic. It is not caught by catch_unwind(), is unaffected by panic = "unwind", and is not contained by running the call on a worker thread.

A 112-byte archive is sufficient. One Stored entry flagged S_IFLNK with a ZIP64 field declaring uncompressed_size = 2^62 and a zero-byte payload makes extract() fail with:

memory allocation of 4611686018427387904 bytes failed
Aborted (core dumped)          # exit 134

The declared value only needs to exceed the host's address space, not its RAM: Vec::with_capacity() maps address space without touching pages, so resident memory stays flat and the abort happens on the refused reservation itself. Under a ulimit -v cap or a memory-constrained container the threshold drops far enough that a plain 32-bit uncompressed_size with no ZIP64 field suffices.

Applications that extract archives from untrusted input are affected on Unix and Windows targets with default features and no special configuration: upload handling, mail-attachment processing, package and artefact ingestion, backup restore and container-image layer extraction. No confidentiality or integrity property is affected: there is no memory unsafety, no out-of-bounds access, no disclosure and no data corruption.

The fix landed in zip-rs/zip2#984 and shipped in 9.0.0.

For further details see: https://github.com/zip-rs/zip2/security/advisories/GHSA-q7v9-x93c-xqv3

zip: AES entries returned without checking their authentication code when the data ends early or is empty

RUSTSEC-2026-0545

For WinZip AES (AE-1 and AE-2) entries, the 10-byte HMAC authentication code was read and checked only after the reader had consumed exactly the entry's declared compressed size. If the archive ended before that size was reached, the read returned end-of-stream and the truncated plaintext was accepted without the check. The authentication code of an entry with no encrypted data was never checked.

AES-CTR ciphertext can be changed bit by bit without the password, and AE-2 entries carry no CRC-32, so an attacker who can modify an archive can alter the decrypted contents of such an entry without any error being reported.

This affects reading AES-encrypted entries with a password (for example ZipArchive::by_name_decrypt) with the aes-crypto feature.

The fix returns an error when the data ends before the declared size, and checks the authentication code of empty entries.

zip: `ZipArchive::extract` can write outside the destination through absolute or chained symlink targets

RUSTSEC-2026-0546

Before writing an entry whose path goes through a symlink, ZipArchive::extract checks the symlink's target against the destination directory. That check compares the paths as text and does not follow symlinks, and from 7.2.0 it drops the root and prefix of an absolute target before comparing. Symlinks taken from the archive were created without any check of their targets.

A crafted archive can first create a symlink that points outside the destination, then a second symlink whose target looks like a path inside the destination but goes through the first one, and then a file entry under the second symlink. The file is written outside the destination directory, for example over an existing file in the user's home directory, and extract still returns Ok(()). On Windows, a target on another drive or share whose path otherwise matches the destination passes the check directly (creating symlinks there needs Developer Mode or administrator rights). The attacker has to know or guess the absolute path of the destination directory.

This affects ZipArchive::extract and ZipArchive::extract_unwrapped_root_dir.

The fix resolves symlink targets one component at a time from the canonicalized destination, following symlinks on the way, and refuses to create a symlink, or write through one, that leads outside the destination.

zip: Legacy Shrink, Reduce and Implode decoders preallocate the declared uncompressed size

RUSTSEC-2026-0547

With the legacy-zip feature, the decoders for the Shrink, Reduce and Implode compression methods reserved output capacity for the entry's declared uncompressed size before decoding anything. That size comes from the archive, and a ZIP64 entry can declare any 64-bit value, so reading or extracting a crafted entry of a few bytes panics with "capacity overflow" or fails a huge allocation.

An attacker who can supply an archive can stop a process that reads it, for example through ZipArchive::extract.

Only builds with the legacy-zip feature are affected; it is not enabled by default.

The fix caps the preallocation at 1 MiB, and such an entry now returns an error.

zip: `ZipStreamReader` extracts entries under local-header names that can differ from the central directory

RUSTSEC-2026-0548

A ZIP archive names each entry twice: in the local file header in front of the entry's data, and in the central directory at the end of the archive. ZipArchive lists and opens entries by their central-directory names. ZipStreamReader::visit and ZipStreamReader::extract, like read_zipfile_from_stream, read the local headers in order and use the local-header names without comparing them with the central directory.

An archive can therefore show one set of file names to code that inspects it with ZipArchive and write files under other names when it is extracted with ZipStreamReader. If an application checks an archive one way and extracts it the other way, an attacker can get files written or overwritten inside the destination directory that the check never saw.

The fix adds an opt-in check. ZipStreamReader::enforce_header_consistency(true) compares each local header with its central-directory entry (name, sizes, CRC-32, compression method, flags and modification time) and fails extraction on a mismatch; ZipReadOptions::enforce_header_consistency(true) and ZipArchive::validate_header_consistency() do the same for ZipArchive. The check is off by default, so upgrading alone does not change what ZipStreamReader::new(...) extracts: applications that extract untrusted archives with ZipStreamReader need to turn it on.