Rust advisories / openh264-sys2
Vulnerability HighRUSTSEC-2025-0008 · openh264-sys2
RUSTSEC-2025-0008: Openh264 Decoding Functions Heap Overflow Vulnerability
Short answerA security vulnerability in the openh264-sys2 crate: Openh264 Decoding Functions Heap Overflow Vulnerability. GitHub rates it High. Fixed in 0.8.0: update to a fixed version.
| Crate | openh264-sys2 |
|---|---|
| Type | Vulnerability (memory-corruption) |
| Affected versions | Before 0.8.0. |
| Fixed in | 0.8.0 |
| Severity | High (GitHub rating) |
| Published | 2025-02-24 |
| Last changed | 2026-02-04 |
| Also known as | GHSA-5pmw-9j92-3c4c |
What to do
- See which version you have:
cargo tree -i openh264-sys2(it also shows which of your dependencies pulls it in). - Update within your version requirement:
cargo update -p openh264-sys2. If the fix is a newer major or minor than your requirement allows, raise it in Cargo.toml (for exampleopenh264-sys2 = "0.8.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
OpenH264 recently reported a heap overflow that was fixed in upstream 63db555 and integrated into our 0.6.6 release. For users relying on Cisco's pre-compiled DLL, we also published 0.8.0, which is compatible with their latest fixed DLL version 2.6.0.
In other words:
- if you rely on our
sourcefeature only, >=0.6.6 should be safe, - if you rely on
libloading, you must upgrade to 0.8.0 _and_ use their latest DLL >=2.6.0.
Users handling untrusted video files should update immediately.
References
- Package: crates.io/crates/openh264-sys2
- Advisory: rustsec.org/advisories/RUSTSEC-2025-0008.html
- Web: github.com/cisco/openh264/pull/3818/
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?