PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-125222 FFmpeg CVE debrief

A heap buffer overflow vulnerability exists in FFmpeg through version 9.0.2 in the hap_parse_frame_header() function within libavcodec/hapdec.c. This vulnerability allows attackers to craft malicious Hap video frames with Snappy length prefixes that can trigger an integer overflow, potentially causing a crash or code execution on 32-bit builds. The vulnerability was reported via the GitHub Advisory Database and is tracked as GHSA-hhqp-5v24-4hhg. Defenders should prioritize patching or mitigating this vulnerability, especially in environments where FFmpeg is used to process untrusted video content.

Vendor
FFmpeg
Product
Unknown
CVSS
HIGH 7.3
CISA KEV
Not listed in stored evidence
Original CVE published
2026-11-09
Original CVE updated
2026-11-13
Advisory published
2026-11-09
Advisory updated
2026-11-13

Who should care

Defenders responsible for systems or applications using FFmpeg, especially those processing untrusted video content, should assess exposure and take mitigation actions. This includes operators, platform administrators, vulnerability management teams, and security teams. They should review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance.

Why it matters

Defenders should prioritize patching or mitigating CVE-2026-125222 due to the potential for application crashes, code execution, and increased risk of DoS attacks. Systems or applications using FFmpeg to process untrusted video content are at higher risk and should be assessed for exposure.

  • Potential application crash or instability
  • Possible code execution on 32-bit builds
  • Increased risk of denial-of-service (DoS) attacks
  • Potential for attackers to craft malicious video content

Technical summary

The vulnerability exists in the hap_parse_frame_header() function within libavcodec/hapdec.c of FFmpeg through version 9.0.2. An attacker can craft malicious Hap video frames with Snappy length prefixes that wrap tex_size, causing decompress_chunks_thread() to write outside tex_buf and potentially crash the application or execute code. The vulnerability allows attackers to trigger a heap buffer overflow on 32-bit builds. Defenders should prioritize patching or mitigating this vulnerability, especially in environments where FFmpeg is used to process untrusted video content.

Defensive priority

Defenders should prioritize patching or mitigating this vulnerability, especially in environments where FFmpeg is used to process untrusted video content.

Recommended defensive actions

  • Assess exposure and apply patches or updates for FFmpeg versions up to 9.0.2
  • Implement compensating controls such as input validation and content filtering for untrusted video content
  • Monitor for suspicious activity or potential exploitation attempts
  • Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
  • Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented

Evidence notes

The vulnerability was reported via the GitHub Advisory Database and is tracked as GHSA-hhqp-5v24-4hhg. The CVE Program and NVD have also published records for this vulnerability. Evidence is limited to public sources and may not be comprehensive. Defenders should verify the vulnerability's existence and impact within their specific environments.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-125222 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-125222

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-125222 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-125222

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • FFmpeg through 9.0.2 contains an integer overflow vulnerability in hap_parse_frame_header() in..

    Unverified legacy reference

    URL: https://github.com/advisories/GHSA-hhqp-5v24-4hhg

    github_advisory_database

  • Source reference

    Unverified legacy reference

    URL: https://github.com/FFmpeg/FFmpeg/commit/62c308e0416bb701447817fe6f0bff074d206215

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25702

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/FFmpeg/FFmpeg

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/hapdec.c

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-heap-buffer-overflow-via-hap-parse-frame-header

    Supplemental source

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.