Rust advisories / libwebp-sys
Vulnerability HighRUSTSEC-2023-0061 · libwebp-sys
RUSTSEC-2023-0061: libwebp: OOB write in BuildHuffmanTable
Short answerA security vulnerability in the libwebp-sys crate: libwebp: OOB write in BuildHuffmanTable. GitHub rates it High. Fixed in 0.9.3: update to a fixed version.
| Crate | libwebp-sys |
|---|---|
| Type | Vulnerability (memory-corruption) |
| Affected versions | Before 0.9.3. |
| Fixed in | 0.9.3 |
| Severity | High (GitHub rating) |
| Published | 2023-09-12 |
| Last changed | 2026-07-07 |
| Also known as | A-299477569, ASB-A-299477569, CVE-2023-4863, CVE-2023-5129, GHSA-j7hp-h8jx-5ppr, PYSEC-2026-1794, RUSTSEC-2023-0060 |
What to do
- See which version you have:
cargo tree -i libwebp-sys(it also shows which of your dependencies pulls it in). - Update within your version requirement:
cargo update -p libwebp-sys. If the fix is a newer major or minor than your requirement allows, raise it in Cargo.toml (for examplelibwebp-sys = "0.9.3") or update the dependency that pulls it in. - Check again with
cargo audit, or paste your Cargo.lock into our Cargo.toml checker.
Details from the advisory
Google and Mozilla have released security advisories for RCE due to heap overflow in libwebp. Google warns the vulnerability has been exploited in the wild.
libwebp needs to be updated to 1.3.2 to include a patch for "OOB write in BuildHuffmanTable".
References
- Package: crates.io/crates/libwebp-sys
- Advisory: rustsec.org/advisories/RUSTSEC-2023-0061.html
From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.
Up next
Are you affected?Check your whole dependency treePaste Cargo.lock: every advisory, for your exact versions.Read it next →Also worth your time
Did this answer your question?