PT-2024-41506 · Crates.Io · Webp

Published

2024-09-06

·

Updated

2024-09-06

None

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
Affected versions of this crate did not check that the input slice passed to "webp::Encoder::encode() is large enough for the specified image dimensions.
If the input slice is too short, the library will read out of bounds of the buffer and encode other memory contents as an image, resulting in memory exposure or a segmentation fault.
The flaw was corrected in pull request #44 by always validating the input buffer size when constructing the encoder.
Found an issue in the description? Have something to add? Feel free to write us 👾

Related Identifiers

RUSTSEC-2024-0443

Affected Products

Webp