CVE-2025-27091
Severity CVSS v4.0:
HIGH
Type:
CWE-122
Heap-based Buffer Overflow
Publication date:
20/02/2025
Last modified:
06/05/2025
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&#39;s user decoding client and, possibly, perform arbitrary commands on the victim&#39;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.<br />
<br />
### For more information<br />
<br />
If you have any questions or comments about this advisory:<br />
* [Open an issue in cisco/openh264](https://github.com/cisco/openh264/issues)<br />
* Email Cisco Open Source Security ([oss-security@cisco.com](mailto:oss-security@cisco.com)) and Cisco PSIRT ([psirt@cisco.com](mailto:psirt@cisco.com))<br />
<br />
### Credits:<br />
<br />
* **Research:** Octavian Guzu and Andrew Calvano of Meta<br />
* **Fix ideation:** Philipp Hancke and Shyam Sadhwani of Meta<br />
* **Fix implementation:** Benzheng Zhang (@BenzhengZhang)<br />
* **Release engineering:** Benzheng Zhang (@BenzhengZhang)
Impact
Base Score 4.0
8.60
Severity 4.0
HIGH
Base Score 3.x
7.50
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:cisco:openh264:*:*:*:*:*:*:*:* | 2.5.1 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



