Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions crates/image/RUSTSEC-0000-0000.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
```toml
[advisory]
id = "RUSTSEC-0000-0000"
package = "image"
date = "2026-02-22"
url = "https://github.com/image-rs/image/issues/2672"
references = ["https://github.com/image-rs/image/issues/2664"]
categories = ["denial-of-service"]
keywords = ["panic", "oom", "image-decoding", "dos"]

[versions]
patched = []
unaffected = []
```

# image: Multiple Unfixed Panics and OOM in Image Decoders

The image crate contains multiple unfixed panics in its image decoder
implementations (BMP, PNG, TIFF, GIF, WebP, ICO, PNM, DDS, TGA, etc.).
Crafted image files can trigger panic!/unwrap() failures in various decoders,
causing process termination.

Open issues #2672 and #2664 document unfixed crash-inducing inputs discovered
via fuzzing. Additionally, image dimensions from file headers are trusted for
buffer allocation without configurable limits, enabling OOM-based denial of
service via crafted headers claiming extreme dimensions.

Any server-side application using the image crate to process user-uploaded
images can be crashed via crafted input.