# CVE-2025-27091: OpenH264 Decoding Functions Heap Overflow Vulnerability

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.6
- **CVSS:** 8.6 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: Active; Confidentiality impact: High; Integrity impact: High; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.98% (percentile 61, 2026-11-28)
- **CWE:** CWE-122
- **Published:** 2025-02-20T17:50:03.191Z
- **Modified:** 2026-06-17T09:03:00.933Z

## Who should check

- Anyone running cisco openh264 \< 2.6.0

## 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 (\[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)

## Affected and fixed versions

- cisco openh264: \< 2.6.0 (cvelist)

## Mitigation

- Upgrade openh264 to 2.6.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-27091. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-27091.md
Affected: cisco openh264 < 2.6.0
Fixed in: cisco openh264 2.6.0

Steps:
1. Search this machine and project for cisco openh264: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-27091 being exploited?

There is no confirmed exploitation: CVE-2025-27091 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.98% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2025-27091?

High: CVSS 8.6 (v4.0, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2025-27091?

cisco openh264 \< 2.6.0.

### Is there a fix for CVE-2025-27091?

Yes. Fixed in cisco openh264 2.6.0. Upgrade openh264 to 2.6.0 or later.

### How do I check if I'm affected by CVE-2025-27091?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/cisco/openh264/security/advisories/GHSA-m99q-5j7x-7m9x>
- other: <https://github.com/cisco/openh264/releases/tag/v2.6.0>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-27091>

HTML: <https://flawdb.com/CVE-2025-27091> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-27091>
