CVE-2025-27091
published high CVSS 4.0 · 8.6OpenH264 Decoding Functions Heap Overflow Vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| cisco | — | openh264< 2.6.0 | Affected | Not stated | GitHub_M |
| Alpine Linux | edge | openh264 | Fixed | 2.6.0-r0 | Package fix record |
| Debian | bookworm | openh264 | Advisory build | 2.3.1+dfsg-3+deb12u1 | DSA-5870-1 |
| Alpine Linux | v3.21 | openh264 | Fixed | 2.6.0-r0 | Package fix record |
| Alpine Linux | v3.22 | openh264 | Fixed | 2.6.0-r0 | Package fix record |
| Alpine Linux | v3.23 | openh264 | Fixed | 2.6.0-r0 | Package fix record |
| Alpine Linux | v3.24 | openh264 | Fixed | 2.6.0-r0 | Package fix record |
Description
OpenH264 is a free license codec library which supports H.264 encoding and decoding. A vulnerability in the decoding functions of OpenH264 codec library could allow a remote, unauthenticated attacker to trigger a heap overflow. This vulnerability is due to a race condition between a Sequence Parameter Set (SPS) memory allocation and a subsequent non Instantaneous Decoder Refresh (non-IDR) Network Abstraction Layer (NAL) unit memory usage. An attacker could exploit this vulnerability by crafting a malicious bitstream and tricking a victim user into processing an arbitrary video containing the malicious bistream. An exploit could allow the attacker to cause an unexpected crash in the victim's user decoding client and, possibly, perform arbitrary commands on the victim's host by abusing the heap overflow. This vulnerability affects OpenH264 2.5.0 and earlier releases. Both Scalable Video Coding (SVC) mode and Advanced Video Coding (AVC) mode are affected by this vulnerability. OpenH264 software releases 2.6.0 and later contained the fix for this vulnerability. Users are advised to upgrade. There are no known workarounds for this vulnerability. ### For more information If you have any questions or comments about this advisory: * [Open an issue in cisco/openh264](https://github.com/cisco/openh264/issues) * Email Cisco Open Source Security ([[email protected]](mailto:[email protected])) and Cisco PSIRT ([[email protected]](mailto:[email protected])) ### Credits: * **Research:** Octavian Guzu and Andrew Calvano of Meta * **Fix ideation:** Philipp Hancke and Shyam Sadhwani of Meta * **Fix implementation:** Benzheng Zhang (@BenzhengZhang) * **Release engineering:** Benzheng Zhang (@BenzhengZhang)
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.6 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| cisco | openh264 | < 2.6.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-122 CWE-122: Heap-based Buffer Overflow
References
2Provider assertions
2GitHub_M · cna
OpenH264 Decoding Functions Heap Overflow Vulnerability
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 2758c7fb2328df28373b9b1fd85fbb64d7450d9a4967ff0ffbfdce59934e597c
- Ingested
- 23 Sep 2026, 08:42:34 UTC
- Source record
- Official CVE record