Cyber Resilience

CVE-2025-27091

High

Published: 20 February 2025

Published
20 February 2025
Modified
06 May 2025
KEV Added
Patch
CVSS Score v4 8.6 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS Score 0.0247 85.6th percentile
Risk Priority 19 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2025-27091 is a high-severity Heap-based Buffer Overflow (CWE-122) vulnerability in Cisco Openh264. Its CVSS base score is 8.6 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Client Execution (T1203); ranked in the top 14.4% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified are NIST 800-53 SI-2 (Flaw Remediation) and SI-10 (Information Input Validation).

Deeper analysis

OpenH264 is a codec library supporting H.264 encoding and decoding in both SVC and AVC modes. CVE-2025-27091 is a heap overflow vulnerability in its decoding functions that stems from a race condition between Sequence Parameter Set memory allocation and subsequent non-IDR NAL unit memory usage. The flaw affects all releases through 2.5.0 and is assigned CVSS 8.6 under CWE-122 and CWE-787.

A remote unauthenticated attacker can exploit the issue by crafting a malicious bitstream and inducing a victim to process it in an affected decoder client. Successful exploitation can produce an unexpected crash or allow arbitrary commands to be executed on the victim host through abuse of the heap overflow.

The official Cisco OpenH264 security advisory and release notes for version 2.6.0 state that the vulnerability is resolved in that and later releases, with no known workarounds available. Users are directed to upgrade, and further details are available via the project GitHub repository or by contacting oss-security@cisco.com and psirt@cisco.com.

EPSS remains flat at a low value of 0.0247 with no material increase after disclosure.

EU & UK References

Vulnerability details

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…

more

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 ([oss-security@cisco.com](mailto:oss-security@cisco.com)) and Cisco PSIRT ([psirt@cisco.com](mailto:psirt@cisco.com)) ### 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)

CWE(s)

Related Threats

MITRE ATT&CK Enterprise TechniquesAI

T1203 Exploitation for Client Execution Execution
Adversaries may exploit software vulnerabilities in client applications to execute code.
Why these techniques?

Heap overflow in OpenH264 decoder enables remote code execution via crafted malicious video bitstream processed by victim client application, directly mapping to Exploitation for Client Execution.

Confidence: HIGH · MITRE ATT&CK Enterprise v19.0

CVEs Like This One

CVE-2026-5403Shared CWE-122, CWE-787
CVE-2025-20363Same vendor: Cisco
CVE-2026-5405Shared CWE-122, CWE-787
CVE-2026-42483Shared CWE-122, CWE-787
CVE-2026-42046Shared CWE-122, CWE-787
CVE-2026-0122Shared CWE-787
CVE-2025-20115Same vendor: Cisco
CVE-2025-21339Shared CWE-122
CVE-2025-20175Same vendor: Cisco
CVE-2019-25705Shared CWE-787

Affected Assets

cisco
openh264
≤ 2.5.1

Mitigating Controls

Mitigating Controls (NIST 800-53 r5) AI

prevent

Directly requires timely remediation of known software flaws by patching OpenH264 to version 2.6.0 or later, eliminating the heap overflow race condition.

prevent

Implements memory safeguards such as address space layout randomization and non-executable heap to mitigate exploitation of the heap overflow for arbitrary command execution.

prevent

Validates malformed H.264 bitstreams containing crafted SPS and non-IDR NAL units before decoding to prevent triggering the race condition.

References