Home › CVE › Vulnerabilities
CVE-2026-125264 — FFmpeg
One of 121 FFmpeg vulnerabilities published together by NVD.
VulnerabilitiesResearch article
FFmpeg through 9.0.2: JPEG XL parser can be driven into excessive CPU use by an oversized TOC count (CVE-2026-125264)
| CVE | CVE-2026-125264 |
|---|---|
| Vendor and product | FFmpeg |
| Published | November 12, 2026 07:21 UTC |
| Research cut-off | November 12, 2026 07:12 UTC |
| Updated | November 25, 2026 15:21 UTC |
| Sources reviewed | 3: NVD record (last modified 2026-11-10); CISA KEV catalog; FIRST EPSS (2026-11-10) |
Update — November 25, 2026
- NVD finished its analysis of this CVE. (NVD record)
- Fixes are now listed: code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25569, github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/jpegxl_parser.c.
Executive summary
CVE-2026-125264 is an uncontrolled resource consumption flaw in the JPEG XL frame header parser, parseframeheader() in libavcodec, in FFmpeg versions through 9.0.2 [1]. The record scores it 6.8 MEDIUM under CVSS 4.0 (CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/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 5.5 MEDIUM under CVSS 3.1 (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H), both scored by VulnCheck as a secondary scorer [1]. The reviewed sources establish only a denial-of-service effect: the parser can loop excessively and exhaust CPU, with no confidentiality or integrity impact in the vectors [1]. The vector indicates a local attack requiring no privileges, but whether a real deployment reaches this parser from an untrusted source is not established by the reviewed sources [1]. The record is still Awaiting Analysis, no fixed version is published in the pack, and the CISA KEV catalog did not list the CVE as of 2026-11-12 [1, 2]. FIRST EPSS gives a 30-day exploitation probability estimate of 0.17 percent as of 2026-11-10, which is a statistical estimate and not evidence of exploitation [3]. The most important immediate action is to inventory FFmpeg builds at or below 9.0.2 that decode JPEG XL, restrict or sandbox decoding of untrusted JPEG XL input with CPU limits, and track the vendor fix [1].
Key points
- FFmpeg through 9.0.2: a JPEG XL frame header parser flaw in libavcodec can cause excessive CPU use by an oversized TOC entry count [1].
- Scores: 6.8 MEDIUM (CVSS 4.0) and 5.5 MEDIUM (CVSS 3.1), both secondary by VulnCheck; the impact is availability only in the vectors [1].
- The record is Awaiting Analysis and no fixed version is established in the pack [1].
- Not listed in CISA KEV as of 2026-11-12; EPSS 0.0016 as of 2026-11-10 is a model estimate, not evidence of exploitation [2, 3].
- Immediate action: restrict untrusted JPEG XL input to FFmpeg and bound its CPU use until a verified fixed build is installed [S1, Analyst assessment].
Vulnerability identification
| Field | Value | Source |
|---|---|---|
| CVE ID | CVE-2026-125264 | [1] |
| Vendor | FFmpeg project | [1] |
| Product | FFmpeg | [1] |
| Component | libavcodec JPEG XL parser; function parseframeheader() in libavcodec/jpegxlparser.c | [1] |
| Affected platform | Not established by the reviewed sources beyond the FFmpeg software itself | [1] |
| Published | 2026-11-09T20:18:12 | [1] |
| Last modified | 2026-11-10T21:46:26 | [1] |
| Record status | Awaiting Analysis | [1] |
| CWE | CWE-606 (name not available in the reviewed record) | [1] |
| CVSS 4.0 | 6.8 MEDIUM; CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/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 disclosure@vulncheck.com (Secondary) | [1] |
| CVSS 3.1 | 5.5 MEDIUM; CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H; scored by disclosure@vulncheck.com (Secondary) | [1] |
| EPSS | 0.0016 (0.17 percent), percentile 0.0573, dated 2026-11-10 | [3] |
| KEV status | Not listed as of 2026-11-12 | [2] |
The two CVSS versions use different user-interaction values (UI:P in 4.0, UI:R in 3.1), so they do not describe the same prerequisite. The record lists a code.ffmpeg.org pull request (25569), a GitHub commit (bc896c613ec0d4ad0108d62fbdda0196f69e7121), a GitHub tag view of the n9.0.2 source, and a VulnCheck advisory [1]. The file name differs between sources: the record says jpegxlparser.c, while the n9.0.2 source link names jpegxl_parser.c [1]. The reviewed sources do not state which name is correct for the current tree, and this should be checked against the repository before any file-based verification. No vendor security advisory is included in the pack [1].
Technical background
FFmpeg is a multimedia framework. Its libavcodec library contains the decoders and parsers that turn encoded media into raw data, and the flaw sits in the parser for JPEG XL, a still-image format [1]. A parser reads untrusted bytes from a file or stream and converts them into structures that the decoder uses, so parser code runs on attacker-controlled data before most other checks happen [Analyst assessment].
The record states that the parser handles a table of contents (TOC) inside the frame header and that the TOC holds entries whose count is read from the input [1]. In plain terms, the TOC is an index that tells the decoder how many entries to expect and how to arrange the data that follows. Analyst assessment: the parser uses that count to control how many iterations it performs, so the count is a trust-boundary input. The exact JPEG XL specification rules for TOC layout and permutation are not included in the reviewed sources.
Terms used below: CPU exhaustion means a process consumes processor time until it can no longer serve other work. CWE is the Common Weakness Enumeration, a catalogue of software weakness types. CVSS is the Common Vulnerability Scoring System, and its base vectors encode attack vector (AV), attack complexity (AC), privileges required (PR), user interaction (UI) and the impact metrics.
Vulnerability description
The security property affected is availability. The record describes the flaw as a failure to check a TOC entry count against the amount of input that remains, which allows an oversized count to drive excessive looping in parseframeheader() [1]. The record also states that the trigger involves a permuted TOC combined with a very large count [1].
What an attacker can cause, according to the record and vectors: excessive CPU consumption in the process that parses the file [1]. The CVSS impact metrics show high availability impact and no confidentiality or integrity impact in either version [1].
Conditions that must exist for the flaw to matter: FFmpeg at or below 9.0.2 must be the build in use [1]; the process must parse JPEG XL input that an attacker can supply or influence [Analyst assessment, based on the local vector and the parser role]; and the input must reach the vulnerable parser path, which depends on the FFmpeg build, configuration and invocation [Not established by the reviewed sources].
What the reviewed sources do not establish: memory corruption, code execution, data disclosure, privilege escalation or any integrity change [1]. The record does not state how long a single parse runs, how much memory is used, or whether the effect is repeatable at scale [Not established by the reviewed sources].
Root cause analysis
Confirmed: the record attributes the flaw to missing validation of TOC entry counts against the remaining input [1]. The weakness class is mapped to CWE-606, whose name is not available in the reviewed record [1].
Analyst assessment: the loop bound comes from a value in the file, and the code does not compare that bound with the bytes left to read or with a reasonable maximum before iterating. A count that is far larger than the data can support therefore turns into a long loop, which is consistent with the reported CPU exhaustion [1]. The record's mention of a permuted TOC suggests that the reordering path also reaches this loop, but the sources do not explain why permutation matters [Not established by the reviewed sources].
Why existing controls may fail: parsers often rely on later checks to catch malformed data. If the loop runs before any length check, the cost is already paid when the later check fails [Analyst assessment]. The reviewed sources do not show the exact code change, so the precise control that was missing in the vulnerable revision is not confirmed.
Technical mechanics
The following flow is Illustrative, based on the record's description and not on a verified code walk-through.
1. Application passes a JPEG XL file to FFmpeg's libavcodec JPEG XL parser.
2. parseframeheader() reads the frame header from the input.
3. The header supplies a TOC entry count, and the arrangement of the TOC may be permuted.
4. The count is used as a loop bound.
5. The loop body processes TOC entries; the count is not checked against remaining input bytes.
6. Iterations continue far beyond what the input can support.
7. The process spends CPU time on the loop, and other work is delayed.
Security control that should have prevented the issue: a check that the TOC entry count is plausible for the remaining input length, or a fixed upper bound, before the loop starts [Analyst assessment]. Authentication and authorization are not part of this flow because the parser performs no access decision on the file it reads [Analyst assessment]. Memory handling, serialization and state management are not described as contributing factors in the reviewed sources [1].
Attack surface and exploitation prerequisites
| Prerequisite | Assessment | Source |
|---|---|---|
| Network access | Not required by the vector; the vector is local | [1] |
| Adjacent network | Not applicable by the vector | [1] |
| Local access | Indicated by AV:L in both vectors; whether a local user is needed or whether a file received over a network reaches the parser is Not established by the reviewed sources | [1] |
| Physical access | Not indicated by the vectors | [1] |
| Authentication | None required (PR:N) in both vectors | [1] |
| Privilege level | Not required by the vectors | [1] |
| User interaction | CVSS 4.0 records passive user interaction (UI:P); CVSS 3.1 records required user interaction (UI:R). The reviewed sources do not explain what the interaction is | [1] |
| Required configuration | JPEG XL decoding through FFmpeg is required; the reviewed sources do not state whether this is enabled by default in any distribution | [Not established by the reviewed sources] |
| Attacker position | Not established beyond the vector values | [1] |
| Environmental dependencies | The affected range is through 9.0.2, so the build must be at or below that version | [1] |
The CVSS vector values above are taken from the record and are not proof that the path is reachable in a given deployment [1]. Exploitability has not been demonstrated by the reviewed sources.
Exploitation scenarios and attack lifecycle
Illustrative scenario: a file-processing service that runs FFmpeg on user-supplied images accepts a crafted JPEG XL file. The service process spends CPU time in the parser, which slows or stalls other requests on that host [Illustrative]. The record supports the availability effect; the service-level outcome depends on deployment details not in the pack [Not established by the reviewed sources].
Illustrative scenario: a workstation user opens a crafted file in an application that calls FFmpeg for thumbnail generation. The effect is a long-running decoder process. The CVSS 3.1 user interaction value suggests this kind of user action could be needed [Illustrative, based on UI:R in S1].
No source documents an attack chain, a campaign, or a post-exploitation step. Defensive opportunities: restrict which processes parse untrusted JPEG XL input; impose CPU and time limits on those processes; monitor for parser processes that run unusually long; and patch once a fixed build is published. Because the flaw is availability-only in the reviewed vectors, containment focuses on resource limits rather than credential or data protection [Analyst assessment].
Impact analysis
| Area | Technically demonstrated by reviewed sources | Plausible downstream consequence (Analyst assessment) |
|---|---|---|
| Confidentiality | None indicated by CVSS (C:N in both versions) [1] | None expected from this flaw alone |
| Integrity | None indicated by CVSS (I:N in 3.1; VI:N in 4.0) [1] | None expected from this flaw alone |
| Availability | High impact indicated (A:H in 3.1; VA:H in 4.0) due to excessive CPU use [1] | Delayed or stalled media processing on affected hosts |
| Authentication and authorization | Not affected per vectors (no privileges required; no authorization boundary described) [1] | Not established by the reviewed sources |
| Privilege boundaries | Not described in the reviewed sources [1] | Not established by the reviewed sources |
| Data and privacy | No data exposure described [1] | Not established by the reviewed sources |
| Business operations | Not described in the reviewed sources | Impact depends on whether FFmpeg sits on a critical processing path |
| Regulatory or contractual | Not described in the reviewed sources | Depends on the organization's service commitments |
Affected products and versions
| Vendor | Product or component | Affected versions | Platform or deployment | Fixed version | Source and qualification |
|---|---|---|---|---|---|
| FFmpeg project | FFmpeg, libavcodec JPEG XL parser | Through 9.0.2 (affected less than or equal to 9.0.2) | Any platform building the affected code, as far as the record states | Not established by the reviewed sources | Vendor-published range in the CVE record [1] |
The record lists the range as through 9.0.2 [1]. The reviewed sources do not state whether earlier branches are included beyond that wording, whether distribution packages backport a fix, or whether any version after 9.0.2 is unaffected [Not established by the reviewed sources]. The n9.0.2 source link suggests the code was examined at that tag [1]. Distribution builds may carry patches that change the effective status, so package version alone is not conclusive.
Exploitation and threat intelligence status
Confirmed exploitation in the wild: not established by the reviewed sources. The CVE is not listed in the CISA KEV catalog as of 2026-11-12, which the pack notes is not evidence that exploitation has not occurred [2]. The FIRST EPSS estimate is 0.0016 for the 30-day window as of 2026-11-10, with percentile 0.0573 [3]. EPSS is a statistical model output and does not confirm activity [3].
Public proof of concept: the pack lists a VulnCheck advisory and code references, but does not state whether a working exploit exists [1]. Threat actors, campaigns and target sectors: not established by the reviewed sources. Absence of public evidence is not proof that exploitation has not occurred.
Source reliability: the CVE record is Awaiting Analysis and its scores are from a secondary scorer, so they may change after NIST analysis [1]. The KEV and EPSS data are dated 2026-11-12 and 2026-11-10 respectively [2, 3].
Indicators of compromise
Not established by the reviewed sources. The pack contains no file hashes, file names, domains, IP addresses, process command lines or log events for this CVE [1, 2, 3]. Any future indicator must be validated before blocking, since indicators go stale. An observable behaviour that may be worth monitoring is a decoder process using sustained CPU time when handling a single JPEG XL input [Analyst assessment]; this is a behavioural hypothesis, not a source-provided indicator.
Detection and exposure assessment
Step 1, asset inventory: list every host, container image and application bundle that includes FFmpeg, including bundled copies inside other software. Record the version and whether JPEG XL decoding is compiled in. The version check requires access to the binary.
Step 2, version check (read-only): run the following on each host where the ffmpeg binary is installed.
ffmpeg -version
Prerequisites: a shell on the host with the binary on the PATH. Expected output: a first line beginning with 'ffmpeg version' followed by the build identifier. Limitations: a version at or below 9.0.2 is consistent with the vulnerable range, but it does not prove exploitability, does not show whether the JPEG XL path is compiled or reachable, and does not account for backported patches in distribution builds [S1, Analyst assessment]. Bundled copies inside other applications will not be shown by this command and need separate checks.
Step 3, feature check: determine whether the FFmpeg build includes JPEG XL support and whether any workflow passes JPEG XL files to it. Method: review application configuration and code paths that call FFmpeg. The reviewed sources do not provide a product-specific command for this check [Not established by the reviewed sources].
Step 4, authenticated vulnerability scanning: use a scanner that reports FFmpeg packages by distribution advisory. The reviewed sources do not name a scanner plugin or advisory identifier for this CVE [Not established by the reviewed sources].
Step 5, telemetry: review process metrics on hosts that run FFmpeg for sustained high CPU per process and long-running ffmpeg or ffprobe invocations. The reviewed sources do not identify a log source or event ID for this flaw [Not established by the reviewed sources].
Immediate mitigation
- Restrict untrusted JPEG XL input. Stop passing JPEG XL files from untrusted sources to FFmpeg until the build is updated or verified. Protects against the documented CPU exhaustion path [1]. Limitation: may break legitimate image workflows. Side effect: service interruption for JPEG XL users. Verification: confirm in application configuration or logs that no JPEG XL input reaches FFmpeg. Source: analyst recommendation that follows from the record's trigger description [1].
- Apply CPU and time limits to any process that runs FFmpeg on untrusted input, for example with per-process CPU time limits or container CPU quotas. Protects against a single parse monopolizing a host. Limitation: does not stop the parse, only bounds its cost. Side effect: legitimate large files may fail. Verification: test with a benign file and confirm the limit is enforced on the process. Source: analyst recommendation [Analyst assessment].
- Run FFmpeg for untrusted files in an isolated worker or sandbox with restricted resources, so a stalled parser cannot take down unrelated services. Limitation: sandboxing does not remove the flaw. Verification: confirm worker isolation in the deployment configuration. Source: analyst recommendation [Analyst assessment].
- Remove public exposure of any service that accepts JPEG XL uploads and passes them to FFmpeg. Verification: confirm the upload endpoint filters or rejects JPEG XL content types and extensions at the gateway. Source: analyst recommendation [Analyst assessment].
Permanent remediation
Vendor-confirmed fix: not established by the reviewed sources. The pack provides a commit reference (bc896c613ec0d4ad0108d62fbdda0196f69e7121) and a pull request (25569) on code.ffmpeg.org [1], but the pack does not state that these are fixes, what they change, or which release contains them. Do not treat the commit as confirmed remediation until the project or a distribution advisory says so.
Recommended action: when the FFmpeg project or your distribution publishes a fixed release, upgrade to that release and confirm it includes the fix. Where you build from source, check whether the commit is in your tree. A read-only check in a full clone is shown below.
git merge-base --is-ancestor bc896c613ec0d4ad0108d62fbdda0196f69e7121 HEAD && echo included
Prerequisites: a full git clone with history, not a shallow clone. Expected output: 'included' if the commit is an ancestor of HEAD, otherwise no output. Limitation: inclusion of a commit does not prove the fix is correct or complete, and a backported fix may use a different commit. Upgrade prerequisites, maintenance windows, rollback plans and restart requirements are not established by the reviewed sources; plan these against the chosen distribution or build process.
Workarounds and compensating controls
No workaround is documented in the reviewed sources [1]. The mitigations above reduce exposure but do not correct the missing validation. Residual risk: an attacker-supplied file can still consume a CPU core until limits or the process stop it, and a restricted service can still be affected if its restriction fails. A workaround is not equivalent to a permanent fix because the root cause in parseframeheader() remains in the affected code [S1, Analyst assessment].
Validation and verification
- Record the installed FFmpeg version and build source for each host and confirm it is above the vendor-confirmed fixed release once one is published [1]. Owner and date should be recorded.
- Confirm whether the JPEG XL path is compiled in and reachable, and confirm the restriction from Immediate mitigation is still in place until the fix is verified.
- Re-run the version check (ffmpeg -version) and, where available, the distribution package query for the advisory fixing this CVE; the reviewed sources do not name an advisory identifier [Not established by the reviewed sources].
- Check the CPU and time limits or sandbox settings are enforced by testing with a benign JPEG XL sample from an approved test set, not with crafted input.
- Review process metrics for the affected services for a defined period after the change.
- Record exceptions and the reason for each, with an owner and a review date. A single version check does not establish that a system is secure.
Incident response
If exploitation is suspected, follow the organization's incident response plan. Triage: identify the services that parsed JPEG XL input in the period of concern, using application logs and upload records. Scope: determine which hosts ran affected FFmpeg versions. Containment: stop or isolate the worker processes that show sustained CPU use, restricting JPEG XL input as described above. Evidence preservation: capture process and host metrics and the input files before deleting them, and avoid destructive clean-up that could erase evidence. Investigation: review logs for repeated parse requests from the same source. Credential rotation: the reviewed sources describe no confidentiality or integrity impact, so credential rotation is not indicated by this CVE alone [1]. Eradication and recovery: upgrade once a fixed build is verified, and monitor the affected services. Notification: obligations depend on jurisdiction and contract, and are not established by the reviewed sources. Lessons learned: record how the input reached the parser and how resource limits performed.
Security hardening and prevention
- Secure development (defence-in-depth, broader than this flaw): validate every length and count read from untrusted input against the remaining bytes and a documented maximum before any loop begins. This directly addresses the weakness in the record [S1, Analyst assessment].
- Regression coverage: add a test with a crafted header in which the TOC count greatly exceeds the input length, with a runtime bound, in the project's test suite. Analyst recommendation; the reviewed sources do not describe existing tests.
- Least privilege and isolation (defence-in-depth): run media decoders in a separate, low-privilege process with CPU and memory limits.
- Attack-surface reduction: disable decoders that the application does not use, including JPEG XL where it is not required; confirm the build configuration.
- Patch management: track FFmpeg releases and distribution advisories for this CVE and re-check the affected range after each update.
- Monitoring: alert on parser processes that exceed a defined CPU time for a single input.
Risk assessment
Technical severity: MEDIUM under both reviewed CVSS versions, 6.8 under CVSS 4.0 and 5.5 under CVSS 3.1, both from a secondary scorer [1]. The impact is availability only in the reviewed vectors [1].
Exposure and asset criticality: unknown for any specific organization; it depends on whether FFmpeg parses untrusted JPEG XL input on critical services. Exploit prerequisites: the vectors indicate local access and no privileges, but the reviewed sources do not show how untrusted input reaches the parser in practice [1].
Evidence of exploitation: none confirmed in the reviewed sources; KEV not listed as of 2026-11-12 and EPSS 0.0016 as of 2026-11-10 [2, 3].
Business impact: likely limited to service slowdown on hosts that process untrusted JPEG XL input [Analyst assessment].
Existing controls and residual risk: unknown per organization; restrictions and resource limits reduce but do not remove the risk until a fixed build is verified [Analyst assessment].
Recommended remediation priority (organization-specific, not the CVSS score): high priority for internet-facing services that pass user-supplied images to FFmpeg, where restriction and limits can be applied immediately; medium priority for internal batch workflows with no untrusted input. Assumptions: the affected build is present and JPEG XL decoding is enabled; if neither holds, the priority drops.
Conclusion
CVE-2026-125264 is a resource-exhaustion flaw in the JPEG XL frame header parser in FFmpeg through 9.0.2, caused by a TOC entry count that is not validated against remaining input [1]. Teams running FFmpeg on untrusted JPEG XL input should act first: restrict that input, bound CPU use, and isolate the workers [Analyst assessment]. The permanent fix is an upgrade to a vendor-published release that includes the correction, which the reviewed sources have not yet identified [1]. Closing the issue requires the vendor or distribution fix version, the advisory identifier, verified installed versions across the inventory, and evidence that the restrictions were lifted only after the fix was confirmed [Not established by the reviewed sources].
Remediation checklist
- Inventory every host, container and bundled application that includes FFmpeg, and record the version from ffmpeg -version; treat 9.0.2 and earlier as in the reviewed affected range [1].
- Identify which services pass JPEG XL files to FFmpeg, especially those accepting user uploads, by reviewing application configuration and code paths [Analyst assessment].
- Stop passing JPEG XL input from untrusted sources to affected FFmpeg builds until a fixed build is verified; confirm in configuration or logs that no such input reaches FFmpeg [S1, Analyst assessment].
- Apply per-process CPU time limits or container CPU quotas to every FFmpeg worker that handles untrusted media; verify with a benign test file that the limit is enforced [Analyst assessment].
- Run untrusted-media decoding in an isolated low-privilege worker so a stalled parse cannot affect unrelated services; verify the isolation in deployment configuration [Analyst assessment].
- Track the FFmpeg project and your distribution for a release or advisory that names CVE-2026-125264; the pack does not identify one [1].
- Verify any candidate fix commit (bc896c613ec0d4ad0108d62fbdda0196f69e7121) against the official fix statement before relying on it, using a full clone and the git merge-base check described in the article [1].
- Upgrade to the verified fixed release on a staged basis with a rollback plan, then re-run the version check and confirm the fixed build is installed on every host in the inventory [S1, Analyst assessment].
- After the upgrade, confirm the JPEG XL restriction and resource limits are still in place where they are still needed, and record the owner, date and any exceptions [Analyst assessment].
- Monitor parser processes for sustained single-process CPU use on affected hosts for a defined period after changes, and record the results [Analyst assessment].
Evidence gaps
- Vendor security advisory or fixed release version: the pack lists no vendor-confirmed fixed version or advisory identifier; a vendor advisory or release note naming the fixed version would settle this [1].
- Complete affected range and backports: the record gives only through 9.0.2; distribution packages may backport fixes; the vendor's version statement and distribution advisories would settle this [1].
- Root cause detail: the record describes the missing check but not the exact code change; the commit and pull request content, or the vendor's fix description, would settle this [1].
- Trigger conditions: the record mentions a permuted TOC but does not explain why; a reproducible technical analysis or vendor explanation would settle this [1].
- Reachability: the vector indicates local access but the pack does not show how untrusted input reaches the parser in typical deployments; deployment-specific testing in an authorized lab, or a vendor statement, would settle this [1].
- Exploitation evidence: no confirmed in-the-wild exploitation or public proof-of-concept status is established; KEV listing, vendor or incident reports would settle this [2, 3].
- Indicators: none are provided; a vendor or incident-response source with validated indicators would be needed [1, 2, 3].
- CWE name: the pack gives CWE-606 without a name; the NVD record once analysed would settle this [1].
- Record analysis: the record is Awaiting Analysis and the scores are from a secondary scorer; the NIST analysis and any revised scores would settle this [1].
- File name discrepancy: the record names jpegxlparser.c while the referenced source link names jpegxl_parser.c; checking the repository at the affected tag would settle this [1].
References
- CVE-2026-125264 record. NIST National Vulnerability Database (NVD), 2026-11-10. https://nvd.nist.gov/vuln/detail/CVE-2026-125264. 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-125264. FIRST, 2026-11-10. https://api.first.org/data/v1/epss?cve=CVE-2026-125264. Accessed 2026-11-12.
Summary
FFmpeg through 9.0.2 contains an uncontrolled resource consumption vulnerability in parse_frame_header() in libavcodec/jpegxl_parser.c that fails to validate TOC entry counts against remaining input. Attackers can supply a crafted JPEG XL frame header with a permuted TOC and huge toc_count, making the parser loop excessively and exhaust CPU.
Severity breakdown
Medium · 6.8
An attacker without an account can exploit this with local access if a user views or visits something.
- Attack from
- local access (a logged-in user, or a malicious file opened on the device)
- Attack complexity
- low (no special conditions)
- Special conditions
- none
- Login needed
- no
- User action needed
- yes, a user must view or visit something
- Impact
- high on availability, none on confidentiality and integrity
- Impact on other systems
- none
Weakness
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| FFmpeg | ≤ 9.0.2 | — |
References by type
Patches and fixed releases
- code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25569
- github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/jpegxl_parser.c
- github.com/FFmpeg/FFmpeg/commit/bc896c613ec0d4ad0108d62fbdda0196f69e7121
Other references
Affected
- FFmpeg
Frequently asked questions
What is CVE-2026-125264?
CVE-2026-125264 is an uncontrolled resource consumption flaw in the JPEG XL frame header parser, parseframeheader() in libavcodec, in FFmpeg versions through 9.0.2.
How severe is CVE-2026-125264?
CVE-2026-125264 has a CVSS 4.0 base score of 6.8 (medium), from the CNA (vulncheck.com). An attacker without an account can exploit this with local access if a user views or visits something.
Is CVE-2026-125264 being exploited?
Not as far as is known: CVE-2026-125264 is not in CISA's Known Exploited Vulnerabilities catalog as of November 29, 2026. EPSS estimates a 0.2% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-125264?
FFmpeg ≤ 9.0.2.
How do I fix CVE-2026-125264?
Inventory every host, container and bundled application that includes FFmpeg, and record the version from ffmpeg -version; treat 9.0.2 and earlier as in the reviewed affected range. Identify which services pass JPEG XL files to FFmpeg, especially those accepting user uploads, by reviewing application configuration and code paths [Analyst assessment]. Stop passing JPEG XL input from untrusted sources to affected FFmpeg builds until a fixed build is verified; confirm in configuration or logs that no such input reaches FFmpeg [S1, Analyst assessment].