Add advisory for ithmb-core < 1.9.5 (progressive-JPEG OOM + PhotoDB infinite loop) - #3113
Closed
B67687 wants to merge 1 commit into
Closed
Add advisory for ithmb-core < 1.9.5 (progressive-JPEG OOM + PhotoDB infinite loop)#3113B67687 wants to merge 1 commit into
B67687 wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
Pull request overview
Adds a new RustSec advisory entry for ithmb-core describing two untrusted-input denial-of-service issues fixed in >= 1.9.5 (progressive JPEG-triggered OOM and a PhotoDB chunk-walker infinite loop).
Changes:
- Introduces a new advisory markdown file for
ithmb-corewith TOML front matter and detailed vulnerability write-up. - Documents triggers, impact, and fixes for the two reported DoS vulnerabilities.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| package = "ithmb-core" | ||
| date = "2026-08-06" | ||
| url = "https://github.com/B67687/Ithmb-Codec" | ||
| categories = ["denial-of-service", "memory-exposure"] |
Member
|
You didn't use the pull request template, and this crate doesn't seem to be listed on crates.io at all. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Advisory
New advisory for
ithmb-core(published byB67687/Ithmb-Codec): two denial-of-service vulnerabilities reachable from untrusted input, fixed in 1.9.5.jpeg_decoder0.3.2 (allocates during first SOS, before its buffer-limit check at EOI); fix is aread_info()pre-flight rejection using aw*h*11byte budget.mhii total_len==0makes the chunk walker spin at 100% CPU forever; fix is achild_end <= posbail-out.Both were found via security research with working PoCs (166-byte and 24-byte fixtures). Filed by the crate author.
Note
All crates.io versions prior to 1.9.5 were permanently deleted from the registry, so the practical exposure is limited to existing lockfiles and vendored copies — but
cargo auditshould still flag them.