Home › CVE › Vulnerabilities
CVE-2026-125202 — FFmpeg
One of 121 FFmpeg vulnerabilities published together by NVD.
VulnerabilitiesResearch article
FFmpeg through 9.0.2: heap buffer overflow in VAAPI HEVC tile handling (CVE-2026-125202)
| CVE | CVE-2026-125202 |
|---|---|
| Vendor and product | FFmpeg |
| Published | November 12, 2026 07:10 UTC |
| Research cut-off | November 12, 2026 05:50 UTC |
| Sources reviewed | 3: NVD record (last modified 2026-11-10); CISA KEV catalog; FIRST EPSS (2026-11-10) |
Executive summary
CVE-2026-125202 describes a heap buffer overflow in the VAAPI hardware-accelerated HEVC start-frame routine in FFmpeg's libavcodec, where tile counts taken from the stream are copied without adequate bounds into fixed-size arrays [1]. The record lists FFmpeg versions through 9.0.2 as affected, and the record's CWE is CWE-787 Out-of-bounds Write [1]. Its CVSS 4.0 base score is 7.3 HIGH with vector CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/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, and its CVSS 3.1 base score is 7.0 HIGH with vector CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H, both scored by a VulnCheck contact [1]. Exploitation requires a local position, a crafted HEVC bitstream and an application decoding through VAAPI, and the record's vector implies some user interaction [1]. CISA's Known Exploited Vulnerabilities catalog did not list the CVE as of 2026-11-12, and EPSS estimates a 0.14% probability of exploitation activity over 30 days; neither shows that exploitation has or has not occurred [2, 3]. The record is still Awaiting Analysis and the reviewed sources name no fixed version, so the most important immediate action is to inventory systems running FFmpeg through 9.0.2 with VAAPI HEVC decoding and to route untrusted HEVC decoding away from the VAAPI path until a vendor-confirmed fix is identified [1].
Key points
- FFmpeg through 9.0.2 is affected by a heap out-of-bounds write in the VAAPI HEVC start-frame routine, classified as CWE-787 [1].
- CVSS 4.0 scores it 7.3 HIGH and CVSS 3.1 scores it 7.0 HIGH; both vectors specify local access [1].
- Exploitation requires a crafted HEVC bitstream decoded through VAAPI; the 3.1 and 4.0 vectors disagree on user interaction [1].
- CISA KEV did not list the CVE as of 2026-11-12, and EPSS is 0.0014; neither shows whether exploitation has occurred [2, 3].
- The record is Awaiting Analysis and no fixed version is named in the reviewed sources [1].
- Immediate action: inventory affected hosts and move untrusted HEVC decoding off the VAAPI path until a vendor fix is confirmed [1].
Vulnerability identification
| Field | Value |
|---|---|
| CVE ID | CVE-2026-125202 [1] |
| Vendor / CNA | FFmpeg, as listed in the CVE record [1] |
| Product / component | FFmpeg, libavcodec, VAAPI HEVC start-frame routine (vaapihevcstartframe) in vaapihevc.c [1] |
| Affected platform | Systems that decode HEVC bitstreams through VAAPI hardware acceleration. Operating system and distribution coverage: Not established by the reviewed sources. |
| Published | 2026-11-09T19:16:56 [1] |
| Last modified | 2026-11-10T21:46:26 [1] |
| Record status | Awaiting Analysis [1] |
| CWE | CWE-787 Out-of-bounds Write [1] |
| CVSS 4.0 | 7.3 HIGH; CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/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; scored by a VulnCheck contact, labelled Secondary [1] |
| CVSS 3.1 | 7.0 HIGH; CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H; scored by the same contact, labelled Primary [1] |
| EPSS | 0.0014 (0.14%), percentile 0.0364, dated 2026-11-10 [3] |
| CISA KEV | Not listed as of 2026-11-12 [2] |
| Related references | A pull request numbered 25136 on the FFmpeg code-hosting project; the FFmpeg repository; a source reference to line 221 of vaapi_hevc.c at the 9.0.2 tag; a VulnCheck advisory [1] |
| Related advisories or patch identifiers | Not established by the reviewed sources beyond the references above. |
The two CVSS versions differ in their modelling of user interaction. The 4.0 vector sets user interaction to passive (UI:P) and includes attack requirements (AT:P), while the 3.1 vector sets user interaction to required (UI:R) and keeps scope unchanged [1]. Both vectors score high impact to confidentiality, integrity and availability. The 3.1 score is labelled Primary although the record is Awaiting Analysis, which means NVD has not yet completed its own analysis of the entry [1]. Analyst assessment: until NVD completes analysis, the scores should be treated as provisional third-party assessments rather than NVD-confirmed values.
A second discrepancy concerns the file name. The description places the flaw in libavcodec/vaapihevc.c, while the reference link points to vaapi_hevc.c [1]. The reviewed sources do not establish which file name is correct, and the discrepancy should be resolved against the FFmpeg source tree before any code-level review.
Technical background
FFmpeg is an open-source multimedia framework whose libavcodec library provides audio and video decoders and encoders [1]. HEVC (High Efficiency Video Coding) is a video compression standard, and its bitstreams are organized into parameter sets, including picture parameter sets (PPS). A PPS describes, among other things, how a picture is divided into tiles, which are rectangular regions that can be decoded in parallel [1].
VAAPI (Video Acceleration API) is an interface that lets applications offload video decoding to the graphics hardware. In the affected code path, a decoder hands the parsed picture parameters to a hardware-acceleration layer, which stores them in memory buffers allocated on the heap, the region of process memory used for dynamically sized allocations [1]. The record indicates that these buffers contain fixed-size arrays for tile-related values and that adjacent heap-allocated hardware-acceleration data is also reachable from the overflow [1].
Trust boundary: the HEVC bitstream is untrusted input. Any file, network stream or media container that an application decodes can carry attacker-chosen values for the PPS fields [1]. The affected routine therefore sits on the boundary between untrusted media data and trusted native memory. Analyst assessment: the security property expected at this boundary is that every count derived from the bitstream is validated against the capacity of the destination array before any copy or write.
Vulnerability description
The record describes a heap buffer overflow, classified as an out-of-bounds write, in the VAAPI HEVC start-frame routine of FFmpeg's libavcodec [1]. Per the record, the routine copies tile counts from the PPS into fixed-size arrays without a sufficient upper bound, so that a stream describing a large picture with many tiles can cause writes beyond the end of the destination buffer [1]. Per the record, the values written are 16-bit values under the attacker's control, and the overwritten memory is heap-allocated hardware-acceleration data [1].
Security property violated: memory safety, specifically spatial integrity of heap buffers. Confidentiality and availability consequences are implied by the scores, but the reviewed sources do not describe a demonstrated information disclosure or crash outcome [1].
Conditions for the flaw to matter, per the record and the vector: the system must decode HEVC content through the VAAPI path, and the attacker must supply a crafted bitstream that the application decodes [1]. The record does not state a minimum picture size or tile count that triggers the write.
Not established by the reviewed sources: whether code execution is achievable, whether the overflow is reachable through a network-facing service without local file access, whether the affected application must be configured in a particular way beyond VAAPI decoding, and whether any particular distribution or build is exempt.
Root cause analysis
Confirmed (record-level): the root cause is described as unbounded tile counts from the PPS being copied into fixed-size arrays in vaapihevcstartframe [1]. The record does not describe the specific code change or the missing check.
Analyst assessment: the failure is a missing or insufficient bounds check between the value parsed from the bitstream and the capacity of the destination array. The write pattern is consistent with the CWE-787 classification [1]. This is inference from the record's wording, not a confirmed code-level finding.
Why existing controls may fail: a parser can correctly decode a syntactically valid PPS and still pass out-of-range values downstream. Compilers and general memory-safety tooling do not prevent a runtime-sized copy into a fixed buffer unless the program enforces the limit. Analyst assessment: the defect likely escaped normal decoding because typical test streams use smaller tile counts than the threshold needed to exceed the array size.
Not established by the reviewed sources: the exact array sizes, the exact validation logic present or absent, the commit that introduced the defect, and whether the defect exists in unreleased code.
Technical mechanics
The following is a conceptual sequence drawn from the record. It is not an exploit description.
- The application opens an HEVC stream and passes it to libavcodec for decoding [1].
- The decoder parses the parameter sets, including the PPS, which carries tile layout values [1].
- Where VAAPI acceleration is selected, the start-frame routine copies tile-related values from the parsed PPS into fixed-size arrays held in the hardware-acceleration structure [1].
- The copy is not limited by the array capacity, so a count larger than the capacity causes writes past the end of the array into adjacent heap data [1].
- The control that should have prevented this is a range check on each tile count against the array capacity before the copy, rejecting or clamping out-of-range values [Analyst assessment].
Illustrative flow for defenders: untrusted bitstream, then parser, then VAAPI start-frame routine, then missing bounds check, then heap write. The defensive chokepoint is the bounds check in step 5, which is the code location a vendor fix would need to address.
Attack surface and exploitation prerequisites
| Prerequisite | Status | Source or basis |
|---|---|---|
| Network access | Not required by the 3.1 or 4.0 vector (AV:L) | Vector-only [1] |
| Adjacent network | Not applicable per AV:L | Vector-only [1] |
| Local access | Required per AV:L; the attacker must be able to get the crafted content into a decoding application | Vector-only [1] |
| Physical access | Not established by the reviewed sources | Not established |
| Authentication | None required (PR:N) | Vector-only [1] |
| Privilege level | None required (PR:N) | Vector-only [1] |
| User interaction | 4.0 models passive interaction (UI:P); 3.1 models required interaction (UI:R) | Vector-only; the two versions disagree [1] |
| Required configuration | VAAPI hardware-accelerated HEVC decoding enabled in the application | Record description [1] |
| Attacker position | Ability to supply an HEVC bitstream to the decoding application | Record description [1] |
| Environmental dependencies | Hardware and driver stack supporting VAAPI HEVC decoding | Analyst assessment; not described in the record |
The vector does not establish that an attacker can reliably reach the vulnerable code. The vector describes the conditions the scorer assumed, and the record does not confirm them through testing or a documented reproduction [1].
Exploitation scenarios and attack lifecycle
Illustrative scenario 1: a user opens a crafted video file in a desktop media player or transcoding tool built on FFmpeg, with VAAPI acceleration enabled. The user interaction in this scenario matches the 3.1 vector's UI:R [1]. Possible outcome per the record: corruption of adjacent heap data in the decoding process [1].
Illustrative scenario 2: a multi-tenant or batch media-processing service decodes user-uploaded HEVC content on a host with VAAPI-capable graphics hardware. This matches the 4.0 vector's passive interaction and the record's concern about applications decoding with VAAPI [1]. The reviewed sources do not show that such a service exists in any particular deployment.
What is not established: no source documents an actual attack, a public proof of concept or a demonstrated chain to code execution [1, 2, 3]. Defensive opportunities in both scenarios: restrict which content reaches the VAAPI decoding path, isolate decoding processes, and monitor for unexpected decoder crashes, which the reviewed sources do not describe as an indicator but which is a standard symptom of memory corruption (Analyst assessment).
Impact analysis
| Area | Technically demonstrated | Plausible consequence (not demonstrated) |
|---|---|---|
| Confidentiality | Not established by the reviewed sources | The 3.1 and 4.0 vectors score high confidentiality impact [1] |
| Integrity | Heap memory write with attacker-controlled 16-bit values is described [1] | Corruption of decoder state or application data in the same process [Analyst assessment] |
| Availability | Not established by the reviewed sources | The vectors score high availability impact, consistent with a crash or hang [1] |
| Authentication and authorization | Not established by the reviewed sources | Not established |
| Privilege boundaries | Not established by the reviewed sources | Any escalation beyond the decoding process is not established |
| Data and privacy | Not established by the reviewed sources | Depends on what data shares the process memory; not established |
| Business operations | Not established by the reviewed sources | Disruption of media pipelines is plausible but not evidenced |
| Regulatory or contractual | Not established by the reviewed sources | Depends on the operator's obligations; not assessed here |
Affected products and versions
| Vendor | Product or component | Affected versions | Platform | Fixed version | Source and qualification |
|---|---|---|---|---|---|
| FFmpeg | libavcodec, VAAPI HEVC decoding path | Through 9.0.2, as published by the CNA [1] | Systems using VAAPI HEVC acceleration | Not established by the reviewed sources | CVE record [1]; no vendor advisory reviewed |
The affected range is an upper bound only. The record says affected versions are up to and including 9.0.2 [1]. The reviewed sources do not establish whether earlier versions are affected, whether the defect exists in development branches, or whether downstream distributions have backported fixes. Known exclusions: Not established by the reviewed sources. Configuration-specific exposure: only builds and applications using VAAPI for HEVC decoding are described as affected [1].
Exploitation and threat intelligence status
| Indicator of exploitation | Status | Date and source |
|---|---|---|
| Confirmed exploitation in the wild | Not established by the reviewed sources | Not applicable |
| CISA KEV listing | Not listed as of 2026-11-12 [2] | 2026-11-12 [2] |
| EPSS | 0.0014, percentile 0.0364 [3] | 2026-11-10 [3] |
| Public proof of concept | Not established by the reviewed sources; the references list the code repository and a commit-level source reference, not an exploit [1] | Not applicable |
| Threat actors or campaigns | Not established by the reviewed sources | Not applicable |
The KEV result reflects the catalog contents on the research date and is not evidence that the flaw has never been exploited [2]. EPSS is a statistical estimate of exploitation activity over 30 days and is not evidence of exploitation [3]. The absence of public evidence is not proof that exploitation has not occurred.
Indicators of compromise
The reviewed sources provide no file hashes, file names, domains, IP addresses, process names, command lines or log events associated with this CVE [1, 2, 3]. Indicators: Not established by the reviewed sources. Any indicator later published must be validated against the organization's own telemetry before blocking, because indicators go stale and may not match the attacker's file structure.
Detection and exposure assessment
Step 1: inventory. Identify every host, container image and application that bundles or links libavcodec from FFmpeg versions through 9.0.2 [1]. Include statically linked binaries, which package queries may miss.
Step 2: version check, using standard tooling. Run the following read-only command on hosts with the ffmpeg command-line tool installed:
ffmpeg -version
Expected output: a version banner and a build configuration list. Standard tooling behaviour, not from the reviewed sources: the banner shows the version, and the configuration line shows enabled options. Limitation: a version match does not prove exploitability, and distribution packages may carry backported patches that a version string does not reveal.
Step 3: hardware-acceleration check, using standard tooling. Run:
ffmpeg -hwaccels
This lists hardware acceleration methods the build exposes. Standard tooling behaviour, not from the reviewed sources. Limitation: it does not show whether an application selects VAAPI at runtime, which must be checked in the application's own configuration.
Step 4: package inventory. Use the platform package manager's query to list installed FFmpeg and libavcodec package versions, and record the distribution's changelog entries for CVE-2026-125202, which the reviewed sources do not provide.
Step 5: authenticated vulnerability scanning. Not established by the reviewed sources whether any scanner plugin covers this CVE; confirm coverage with the scanner vendor before relying on it.
Step 6: telemetry. Review crash reports from media-decoding processes and unexpected restarts of decoding services. This is analyst-recommended and not from a source; a crash alone does not indicate exploitation.
Immediate mitigation
Measure 1: remove untrusted HEVC decoding from the VAAPI path. Configure applications to decode untrusted HEVC content with software decoding rather than VAAPI. Protects against: the described VAAPI start-frame code path [1]. Limitation: the record does not confirm that software decoding is unaffected by the same tile-handling logic; this follows from the record's statement that the flaw is in the VAAPI routine [Analyst assessment]. Side effects: higher CPU use and possible throughput loss. Verification: confirm in the application's configuration that the hardware decoder is not selected for untrusted input, and check decoder selection in logs at runtime.
Measure 2: isolate decoding. Run decoding of untrusted media in a separate, unprivileged process or container with no access to credentials or sensitive data. Protects against: impact of heap corruption spreading to other data [Analyst assessment, follows from the described memory corruption]. Limitation: isolation does not prevent the corruption itself. Side effects: operational changes to service architecture. Verification: confirm process ownership and container capabilities with the platform's process listing.
Measure 3: restrict content sources. Accept HEVC content only from trusted sources until remediation is complete. Protects against: attacker-supplied bitstreams. Limitation: difficult for user-uploaded content. Verification: confirm the ingestion pipeline's allow-list or policy configuration.
Measure 4: increased monitoring of decoder crashes, as described in the detection section.
Permanent remediation
Vendor-confirmed fix: Not established by the reviewed sources. No fixed version, commit or vendor advisory is identified in the pack [1]. The reference to pull request 25136 and the 9.0.2 tag source reference do not state that they contain a fix [1].
Recommended action pending vendor confirmation: once a fixed FFmpeg release or distribution package is published, update libavcodec to that version on every inventoried host, and rebuild any statically linked applications. The exact fixed version must come from the vendor or distribution advisory, not from this article.
Upgrade prerequisites: Not established by the reviewed sources. Backup and rollback: take configuration and binary snapshots before upgrade, as standard practice. Restart: an application that loads libavcodec must be restarted to use the updated library, which is standard shared-library behaviour and not from a source. Configuration after update: re-enable VAAPI for HEVC only after validation, if the operator decides VAAPI is required.
Workarounds and compensating controls
Workaround 1: software-only HEVC decoding for untrusted input (see immediate mitigation). Residual risk: the flaw remains in the library; other code paths that use VAAPI for other content are unaffected by this workaround unless configured. Not equivalent to a fix, because the vulnerable code remains present and may be reached by a configuration change.
Workaround 2: process isolation for decoding services. Residual risk: memory corruption inside the isolated process remains possible.
Workaround 3: content-source restriction. Residual risk: trusted sources can still be compromised or can deliver malformed files.
These controls reduce exposure and do not remove the defect. They should remain until a vendor-confirmed fixed version is installed and verified.
Validation and verification
- Confirm the installed libavcodec and ffmpeg versions on each host against the vendor or distribution fixed version, once published. Record the output.
- Confirm, in the application configuration, that VAAPI HEVC decoding is either disabled for untrusted input or running on the fixed build.
- Confirm the workaround controls remain active where the fix has not been applied, for example by checking decoder selection in runtime logs.
- Re-run the scanner check for CVE-2026-125202, if the scanner covers it, and do not treat a clean scan as proof of security.
- Review decoder crash logs and service health for at least one normal operating cycle after the change.
- Record the evidence, owner, date and any exceptions. Do not claim the system is secure based on a single check.
All validation must use authorized, safe methods. Do not supply crafted bitstreams to production systems to test the flaw.
Incident response
If exploitation is suspected, for example through unexplained decoder crashes on hosts that process untrusted HEVC content, follow the organization's incident response plan. Steps: triage and scope by identifying affected hosts and decoding services; contain by moving untrusted HEVC decoding to software decoding or isolating the service; preserve evidence by copying logs and the crashing input files before any cleanup, without destructive actions; investigate decoder and endpoint logs for signs of abnormal process behaviour; rotate credentials only where the investigation shows the decoding process had access to them; apply the vendor fix once verified; monitor after recovery; and assess notification obligations with legal counsel. No source documents an incident, so this section is a process guide, not a finding.
Security hardening and prevention
Secure development (defence in depth, general practice): require explicit bounds checks on every count read from a bitstream before it is used as a copy length or array index, and add regression tests with PPS tile counts above the destination capacity. Input validation: validate parameter-set values at parse time, not only at use time. Least privilege and isolation: run media decoding in unprivileged sandboxes. Attack-surface reduction: disable hardware decoding paths for content types that do not need them. Patch management: track FFmpeg and distribution advisories for fixed versions and apply them on a defined schedule. Logging: alert on decoder process crashes. Testing: add fuzzing of HEVC parameter sets to the FFmpeg test suite, as a general recommendation; the reviewed sources do not describe such a test.
Risk assessment
Technical severity: the vectors describe high impact to confidentiality, integrity and availability under local access with specific prerequisites [1]. The scores are provisional while the record is Awaiting Analysis [1].
Exposure: depends on whether the organization runs FFmpeg with VAAPI HEVC decoding on untrusted input. Asset criticality: not established for any specific environment.
Exploit prerequisites and attacker opportunity: a local position and a crafted bitstream reaching a VAAPI-enabled decoder [1]. The 4.0 vector suggests passive user interaction, which would increase opportunity in automated pipelines [Analyst assessment].
Evidence of exploitation: none in the reviewed sources. KEV not listed [2]. EPSS low at 0.14% [3].
Potential business impact: disruption of media processing and possible data exposure within the decoding process, not demonstrated [S1, Analyst assessment].
Existing controls and residual risk: unknown for each environment. Residual risk remains until a vendor-confirmed fix is applied.
Recommended priority: high for internet-facing or batch services that decode untrusted HEVC content through VAAPI, because the scores are high and the fix is not yet identified; moderate for internal workstations with trusted content only. This is an organization-specific judgement with the assumptions above and is not the CVSS score.
Conclusion
The core flaw is an unbounded tile-count copy into fixed-size arrays in FFmpeg's VAAPI HEVC start-frame routine, which can produce a heap out-of-bounds write when an attacker-supplied bitstream is decoded through VAAPI [1]. Teams that run FFmpeg through 9.0.2 with VAAPI HEVC decoding on untrusted content should act first, by inventorying affected hosts and moving untrusted decoding to software decoding or isolated processes. The permanent fix is a vendor-confirmed FFmpeg or distribution update, which the reviewed sources do not yet identify [1]. Closing the issue requires the fixed version confirmed by the vendor, verified installation on each inventoried host, a resolved file-name discrepancy, and evidence of the validation steps above.
Remediation checklist
- Inventory every host, container and application that bundles FFmpeg libavcodec through 9.0.2, including statically linked binaries, and record the output of ffmpeg -version for each [1].
- Identify which applications select VAAPI for HEVC decoding, and check their configuration and runtime decoder selection logs [1].
- Configure applications that decode untrusted HEVC content to use software decoding instead of VAAPI, and verify the change in runtime logs [S1, Analyst assessment].
- Isolate untrusted media decoding in unprivileged processes or containers without access to sensitive data, and verify process ownership with the platform process listing [Analyst assessment].
- Restrict HEVC content ingestion to trusted sources until remediation is verified, and verify the allow-list in the ingestion pipeline configuration [1].
- Alert on decoder process crashes and unexpected restarts on hosts that decode untrusted HEVC content, and review the alerts weekly [Analyst assessment].
- Monitor the FFmpeg project and distribution advisories for a vendor-confirmed fixed version, which the reviewed sources do not provide [1].
- Once a fixed version is confirmed, update libavcodec on every inventoried host, restart dependent applications, and confirm the installed version against the advisory [1].
- Resolve the file-name discrepancy between libavcodec/vaapihevc.c and vaapi_hevc.c against the FFmpeg source tree before any code-level review [1].
- Re-run any available scanner check for CVE-2026-125202 after remediation, and record the result alongside the owner, date and any exceptions, without treating a clean result as proof of security [1].
Evidence gaps
- Vendor-confirmed fixed version or patch: the reviewed sources name no fixed release, commit or vendor advisory; the vendor's release notes or advisory would settle this [1].
- Complete affected range: the record gives only an upper bound of 9.0.2; the vendor's version history would establish whether earlier or development versions are affected [1].
- Root cause at code level: the record describes the copy pattern but not the missing check, the array sizes or the introducing commit; the vendor's analysis or the FFmpeg commit history would settle this [1].
- NVD analysis: the record is Awaiting Analysis, so NVD's own CVSS and CWE analysis is not yet available; a completed NVD analysis would confirm or revise the scores [1].
- File name discrepancy: the description names libavcodec/vaapihevc.c while the reference names vaapi_hevc.c; the FFmpeg source tree at the stated tag would resolve it [1].
- Exploitation evidence: no reviewed source documents exploitation or a public proof of concept; the vendor, CISA and threat-intelligence reports would be required [1, 2, 3].
- Attack reachability: whether the flaw is reachable without local file access, for example through a network-facing service, is not established; a documented reproduction by the vendor or a researcher would settle this [1].
- Indicators of compromise: none are provided; any indicators would need to come from a vendor, CERT or incident-response publication and be validated locally [1].
- Distribution coverage and backports: whether Linux distributions or other packagers are affected or have backported fixes is not established; their security advisories would settle this [1].
- Impact beyond memory corruption: whether code execution, information disclosure or a crash is demonstrated is not established; technical analysis of the flaw would settle this [1].
References
- CVE-2026-125202 record. NIST National Vulnerability Database (NVD), 2026-11-10. https://nvd.nist.gov/vuln/detail/CVE-2026-125202. Accessed 2026-11-12.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-12. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-12.
- EPSS score for CVE-2026-125202. FIRST, 2026-11-10. https://api.first.org/data/v1/epss?cve=CVE-2026-125202. Accessed 2026-11-12.
Summary
FFmpeg through 9.0.2 contains a heap buffer overflow vulnerability in vaapi_hevc_start_frame() in libavcodec/vaapi_hevc.c that copies unbounded PPS tile counts into fixed-size arrays. Attackers can supply a crafted HEVC bitstream with a large picture and many tiles to write controlled 16-bit values past heap-allocated hwaccel data, corrupting memory in applications decoding with VAAPI.
Severity breakdown
High · 7.3
An attacker without an account can exploit this with local access if a user views or visits something, but only under specific conditions.
- Attack from
- local access (a logged-in user, or a malicious file opened on the device)
- Attack complexity
- high (only works under specific conditions)
- Special conditions
- only in some setups or conditions
- Login needed
- no
- User action needed
- yes, a user must view or visit something
- Impact
- high on confidentiality, integrity and availability
- Impact on other systems
- none
Weakness
- CWE-787: Out-of-bounds Write
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| FFmpeg | ≤ 9.0.2 | — |
References by type
Other references
Affected
- FFmpeg
Frequently asked questions
What is CVE-2026-125202?
CVE-2026-125202 describes a heap buffer overflow in the VAAPI hardware-accelerated HEVC start-frame routine in FFmpeg's libavcodec, where tile counts taken from the stream are copied without adequate bounds into fixed-size arrays. The record lists FFmpeg versions through 9.0.2 as affected, and the record's CWE is CWE-787 Out-of-bounds Write. Weakness type: Out-of-bounds Write (CWE-787).
How severe is CVE-2026-125202?
CVE-2026-125202 has a CVSS 4.0 base score of 7.3 (high), from the CNA (vulncheck.com). An attacker without an account can exploit this with local access if a user views or visits something, but only under specific conditions.
Is CVE-2026-125202 being exploited?
Not as far as is known: CVE-2026-125202 is not in CISA's Known Exploited Vulnerabilities catalog as of November 30, 2026. EPSS estimates a 0.2% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-125202?
FFmpeg ≤ 9.0.2.
How do I fix CVE-2026-125202?
Inventory every host, container and application that bundles FFmpeg libavcodec through 9.0.2, including statically linked binaries, and record the output of ffmpeg -version for each. Identify which applications select VAAPI for HEVC decoding, and check their configuration and runtime decoder selection logs. Configure applications that decode untrusted HEVC content to use software decoding instead of VAAPI, and verify the change in runtime logs [S1, Analyst assessment].