CVEfocus › CVE database › CVE-2025-27091

CVE-2025-27091OpenH264 Decoding Functions Heap Overflow Vulnerability

CVSS 8.6 HighEPSS 1.0% (higher than 60% of CVEs)Published 2025-02-20Updated 2025-02-20Assigner: GitHub_M

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)

CWE-122

What to do

Fixed builds are available from Alpine, Debian, crates.io: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

8Fixed
2Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04openh264Fix pendingUBUNTU-CVE-2025-27091
Ubuntu 22.04openh264Fix pendingUBUNTU-CVE-2025-27091
Debian 14openh264Fixed2.5.0+dfsg-2DEBIAN-CVE-2025-27091
Debian 13openh264Fixed2.5.0+dfsg-2DEBIAN-CVE-2025-27091
Debian 12openh264Fixed2.3.1+dfsg-3+deb12u1DEBIAN-CVE-2025-27091
Alpine Linux 3.24openh264Fixed2.6.0-r0ALPINE-CVE-2025-27091
Alpine Linux 3.23openh264Fixed2.6.0-r0ALPINE-CVE-2025-27091
Alpine Linux 3.22openh264Fixed2.6.0-r0ALPINE-CVE-2025-27091
Alpine Linux 3.21openh264Fixed2.6.0-r0ALPINE-CVE-2025-27091
crates.io libraryopenh264-sys2Fixed0.8.0RUSTSEC-2025-0008

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.