Bug 2391830 (RUSTSEC-2024-0443) - webp: webp crate may expose memory contents
Summary: webp: webp crate may expose memory contents
Keywords:
Status: NEW
Alias: RUSTSEC-2024-0443
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2392721 2423493
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-08-29 17:03 UTC by OSIDB Bzimport
Modified: 2026-05-20 13:47 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-08-29 17:03:19 UTC
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](https://github.com/jaredforth/webp/pull/44) by always validating the input buffer size when constructing the encoder.

Comment 3 jason 2026-05-20 13:47:44 UTC
Thanks for reporting this issue. I’ve noticed similar behavior on my setup as well — it seems to be consistent across recent builds. Looking forward to any updates or patches from the maintainers. https://besttopgames.net


Note You need to log in before you can comment on or make changes to this bug.