Rust advisories / libdav1d-sys
Vulnerability MediumRUSTSEC-2024-0016 · libdav1d-sys
RUSTSEC-2024-0016: dav1d AV1 decoder integer overflow
Short answerA security vulnerability in the libdav1d-sys crate: dav1d AV1 decoder integer overflow. GitHub rates it Medium. Fixed in 0.7.0: update to a fixed version.
| Crate | libdav1d-sys |
|---|---|
| Type | Vulnerability (memory-corruption) |
| Affected versions | Before 0.7.0. |
| Fixed in | 0.7.0 |
| Severity | Medium (GitHub rating) |
| Published | 2024-02-19 |
| Last changed | 2024-04-11 |
| Also known as | GHSA-mc39-h54g-pvw6 |
What to do
- See which version you have:
cargo tree -i libdav1d-sys(it also shows which of your dependencies pulls it in). - Update within your version requirement:
cargo update -p libdav1d-sys. If the fix is a newer major or minor than your requirement allows, raise it in Cargo.toml (for examplelibdav1d-sys = "0.7.0") 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
An integer overflow in dav1d AV1 decoder that can occur when decoding videos with large frame size. This can lead to memory corruption within the AV1 decoder. We recommend upgrading to version 0.7.0 of libdav1d-sys, which includes dav1d 1.4.0
References
- Package: crates.io/crates/libdav1d-sys
- Advisory: rustsec.org/advisories/RUSTSEC-2024-0016.html
- Web: www.cvedetails.com/cve/CVE-2024-1580/
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?