{"answers":{"affected":"3 open source packages ship an affected version, including openh264-sys2. It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-27091 in the wild and no public exploit code.","fix":"Upgrade openh264-sys2 to 0.8.0 or later.","what":"CVE-2025-27091 is a high-severity memory corruption vulnerability in cisco openh264, published on 20 Feb 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-27091 and fix it if it is affected.\n\nWhat it is: CVE-2025-27091 is a high-severity memory corruption vulnerability in cisco openh264, published on 20 Feb 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2025-27091 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- openh264-sys2 (crates.io): affected all versions; fixed in 0.8.0\n- openh264-sys2 (crates.io): affected all versions; fixed in 0.8.0\n- openh264-sys2 (crates.io): affected from 0.0.0-0; fixed in 0.8.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-27091/ (Markdown: https://insights.sbomify.com/CVE-2025-27091/index.md)","id":"CVE-2025-27091","markdown":"https://insights.sbomify.com/CVE-2025-27091/index.md","name":"CVE-2025-27091","record":{"aliases":["DEBIAN-CVE-2025-27091","DSA-5870-1","GHSA-5pmw-9j92-3c4c","GHSA-m99q-5j7x-7m9x","RUSTSEC-2025-0008","UBUNTU-CVE-2025-27091"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"OpenH264 codec library","requires_auth":"none","summary":"A heap overflow in OpenH264 allows remote attackers to execute arbitrary code or cause denial of service via malicious video files.","user_interaction":"required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"openh264","vendor":"cisco"}],"cvss":{"score":8.6,"severity":"high","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"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.\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n* [Open an issue in cisco/openh264](https://github.com/cisco/openh264/issues)\n* Email Cisco Open Source Security ([oss-security@cisco.com](mailto:oss-security@cisco.com)) and Cisco PSIRT ([psirt@cisco.com](mailto:psirt@cisco.com))\n\n### Credits:\n\n* **Research:** Octavian Guzu and Andrew Calvano of Meta\n* **Fix ideation:** Philipp Hancke and Shyam Sadhwani of Meta\n* **Fix implementation:** Benzheng Zhang (@BenzhengZhang)\n* **Release engineering:** Benzheng Zhang (@BenzhengZhang)","ecosystems":["crates.io"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"OpenH264 Decoding Functions Heap Overflow Vulnerability","id":"CVE-2025-27091","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"crates.io","product":null,"products":[],"type":"memory_corruption","year":"2025"},"n_packages":3,"n_references":2,"next":{"headline":"Path Traversal Vulnerability in GHOSTS Photo Retrieval Endpoint","id":"CVE-2025-27092"},"packages":[{"ecosystem":"crates.io","fixed":["0.8.0"],"introduced":["0"],"last_affected":[],"package":"openh264-sys2","purl":null,"source":"GHSA-5pmw-9j92-3c4c"},{"ecosystem":"crates.io","fixed":["0.8.0"],"introduced":["0"],"last_affected":[],"package":"openh264-sys2","purl":"pkg:cargo/openh264-sys2","source":"GHSA-5pmw-9j92-3c4c"},{"ecosystem":"crates.io","fixed":["0.8.0"],"introduced":["0.0.0-0"],"last_affected":[],"package":"openh264-sys2","purl":"pkg:cargo/openh264-sys2","source":"RUSTSEC-2025-0008"}],"prev":{"headline":"Server-Side Request Forgery (SSRF) in sliver teamserver","id":"CVE-2025-27090"},"products":["openh264"],"published":"2025-02-20","related":[{"cvss_score":7.5,"headline":"Memory corruption in n/a","id":"CVE-2014-8001","kev_date_added":null,"published":"2014-11-25"},{"cvss_score":7.5,"headline":"Use after free in n/a","id":"CVE-2014-8002","kev_date_added":null,"published":"2014-11-25"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"open","licence":"CC0 1.0","name":"RustSec","prefix":"RUSTSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-02-20","vendors":["cisco"]},"summary":"A heap overflow in OpenH264 allows remote attackers to execute arbitrary code or cause denial of service via malicious video files.","url":"https://insights.sbomify.com/CVE-2025-27091/"}