Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Vulnerabilities

CVE-2026-125229 — FFmpeg

High · CVSS 8.5EPSS 0.2% First seen November 09, 2026

One of 121 FFmpeg vulnerabilities published together by NVD.

Vulnerabilities

Research article

FFmpeg huffyuv and ffvhuff encoders: out-of-bounds write from tiny frames in the median predictor (CVE-2026-125229)

CVECVE-2026-125229
Vendor and productFFmpeg
PublishedNovember 12, 2026 07:20 UTC
Research cut-offNovember 12, 2026 07:12 UTC
Sources reviewed3: NVD record (last modified 2026-11-10); CISA KEV catalog; FIRST EPSS (2026-11-10)

Executive summary

CVE-2026-125229 describes an out-of-bounds write in the FFmpeg libavcodec huffyuv encoder, in the encodeframe() path of huffyuvenc.c, which the record links to a missing minimum frame-dimension check in encodeinit() for the median predictor [1]. The NVD record scores it CVSS 4.0 8.5 HIGH with vector CVSS:4.0/AV:L/AC:L/AT:N/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 (secondary scorer) and CVSS 3.1 7.8 HIGH with vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (primary scorer) [1]. The CNA lists FFmpeg versions up to and including 9.0.2 as affected, and no fixed version is published in the reviewed sources [1]. The record describes a crash of the encoder when a very small frame, such as 2 pixels wide or 1 by 2 pixels high, is transcoded to huffyuv or ffvhuff [1]; the record is in Awaiting Analysis status, so NVD has not yet completed its own analysis [1]. The CISA KEV catalog did not list the CVE when the website checked on 2026-11-12, which is not evidence that exploitation has not occurred [2]. The FIRST EPSS estimate is 0.0013 for 30-day exploitation activity, percentile 0.0246 [3]. Defenders should inventory FFmpeg builds up to 9.0.2, restrict transcoding of untrusted media into huffyuv or ffvhuff, and track the vendor for a fix, because no vendor advisory or patch was in the pack [1].

Key points

  • CVE-2026-125229 is an out-of-bounds memory access in the FFmpeg huffyuv and ffvhuff encoder path, tied to missing minimum frame-dimension validation [1].
  • NVD scores it 8.5 HIGH under CVSS 4.0 and 7.8 HIGH under CVSS 3.1, with different scorers and vectors [1].
  • The CNA lists FFmpeg versions up to and including 9.0.2 as affected; no fixed version is published in the reviewed sources [1].
  • The record is in Awaiting Analysis and describes an encoder crash triggered by a tiny attacker-supplied frame [1].
  • The CVE was not in the CISA KEV catalog when checked on 2026-11-12, and EPSS is 0.0013, which does not establish whether exploitation occurred [2][3].

Vulnerability identification

FieldValueSource
CVE IDCVE-2026-125229[1]
Vendor / productFFmpeg; affected versions were published by the CVE Numbering Authority in the record[1]
Componentlibavcodec huffyuv encoder, file huffyuvenc.c, functions encodeframe() and encodeinit(); the same flaw path is said to affect ffvhuff output[1]
Affected platformNot established by the reviewed sources-
Published2026-11-09T19:17:00[1]
Last modified2026-11-10T21:46:30[1]
Record statusAwaiting Analysis[1]
CWECWE-787 Out-of-bounds Write[1]
CVSS 3.17.8 HIGH; CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H; scored by disclosure@vulncheck.com as Primary[1]
CVSS 4.08.5 HIGH; CVSS:4.0/AV:L/AC:L/AT:N/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 disclosure@vulncheck.com as Secondary[1]
Related identifiersThe record lists a FFmpeg pull request, a FFmpeg commit, a source line reference in the n9.0.2 tag, and a VulnCheck advisory. Their contents were not provided in the pack, and no separate advisory or bug ID is established.[1]
CISA KEV statusNot listed when checked on 2026-11-12[2]
EPSS0.0013 (0.13%), percentile 0.0246, dated 2026-11-10[3]

Scoring discrepancy: the two CVSS versions do not rate the same user-interaction metric. CVSS 3.1 uses UI:R (user interaction required), while CVSS 4.0 uses UI:P (passive user participation) [1]. The two versions also differ in how they describe impact on the vulnerable system (VC/VI/VA in 4.0 and C/I/A in 3.1) and the 4.0 vector includes a subsequent-system impact of none. Both versions are shown here as published, with no averaging.

The record does not name a Common Weakness Enumeration beyond CWE-787 [1]. CWE-787 describes a write that goes beyond the boundary of an allocated buffer, so the memory corruption class is consistent with the description, but the record does not show which buffer or allocation is involved.

Technical background

FFmpeg is an open-source multimedia framework. Its libavcodec library contains the encoders and decoders that convert between raw frames and compressed streams [1]. The huffyuv codec is a lossless video format that uses Huffman coding, and ffvhuff is a related FFmpeg variant that the record names alongside it [1].

A predictor is a per-pixel estimator used before entropy coding. The median predictor estimates each pixel from its neighbours, and the encoder then stores the difference between the actual and predicted values. In the record, the median path depends on frame dimensions, so the encoder computes row-based lengths from the frame width and height [1]. The term submedianpred refers to a sub-operation within that median path, named in the record [1].

A buffer is a fixed-size region of memory. An out-of-bounds write occurs when code stores data beyond the end, or before the start, of that region. A length calculation that becomes negative and is then used as an unsigned size is a common way such writes happen in C code; this is an analyst assessment of the general class and is not confirmed by the record for this flaw.

Trust boundary: the record describes a case where the input video is attacker-supplied and is then encoded [1]. The encoder therefore processes data from a source that may be untrusted, such as a user upload or a media pipeline item.

Vulnerability description

The record states that the flaw is an out-of-bounds memory access in the encodeframe() function of libavcodec/huffyuvenc.c [1]. The security property affected is memory safety: reads and writes must stay within the bounds of the allocated buffers. The flawed function is encodeframe(), and the record ties the cause to encodeinit(), which is said not to check minimum frame dimensions for the median predictor [1].

What an attacker can cause, according to the record: a tiny frame, described as 2 pixels wide or 1 by 2 pixels high, leads to negative lengths in the median path, which in turn produce out-of-bounds reads and writes when the video is transcoded to huffyuv or ffvhuff, and the encoder crashes [1]. The stated observable result is an encoder crash, which is a denial-of-service effect [1].

Conditions for the flaw to matter: the encoder must be asked to produce huffyuv or ffvhuff output from a frame with the small dimensions described [1]. The record does not state the default settings or whether any configuration is needed beyond selecting one of these codecs.

What the reviewed sources do not establish: whether the out-of-bounds access can be steered to read sensitive memory, to corrupt adjacent data in a controlled way, or to run attacker code. The record describes a crash, and the CVSS 4.0 and 3.1 vectors rate high impact to confidentiality, integrity and availability [1]. Those vector ratings are scoring outputs, not a demonstration, and no source in the pack shows code execution or data disclosure [1].

Root cause analysis

Confirmed (as stated in the CVE record): the encoder initialisation in encodeinit() does not validate minimum frame dimensions for the median predictor, and the encodeframe() path then computes lengths that can be negative and used for out-of-bounds access [1].

Analyst assessment: the root cause is a missing input-validation check at the initialisation boundary, combined with arithmetic that assumes at least a minimum width and height. The fault is a design or coding omission in the encoder setup rather than a parsing flaw, because the attacker-controlled data is the frame geometry, which the encoder accepts before any prediction work. The CWE mapping to CWE-787 [1] is consistent with this, since the write target is determined by the invalid length.

Why existing controls may fail: the record indicates that the initialisation step did not reject the geometry, so later stages that rely on valid dimensions received values they could not safely handle [1]. The reviewed sources do not show whether any higher-level application checks frame size before calling the encoder.

Not established by the reviewed sources: the exact line of the fix, the buffer that is overwritten, the allocation size, and whether the problem exists in any particular code revision beyond the affected range. The record's references to a pull request, commit and source line could settle this, but their contents were not provided in the pack.

Technical mechanics

The following numbered flow is a conceptual explanation based on the record [1]. It is not a reconstruction of the exact code path.

  1. The encoder is initialised for huffyuv or ffvhuff output, and the frame width and height are accepted [1].
  2. Initialisation does not enforce a minimum width or height for the median predictor [1]. This is the validation failure.
  3. When a frame is encoded, encodeframe() computes per-row values for the median prediction path [1].
  4. For a very small frame, one of the computed lengths becomes negative, as the record describes in relation to the submedianpred calculation [1].
  5. The negative value is used when addressing memory, which results in out-of-bounds reads and writes [1].
  6. The memory corruption or access violation causes the encoder process to terminate, according to the record [1].

Control that should have prevented the issue (analyst assessment): a range check on frame width and height in encodeinit(), before any predictor state or row buffers are sized, would reject the unsupported geometry. Safe arithmetic checks in the row-length calculation would also stop negative values from reaching address calculations. The record does not show which of these, if any, exists in later revisions.

Authentication and authorisation checks: none is described in the record. The flaw concerns the handling of input data, not access to the encoder.

Attack surface and exploitation prerequisites

PrerequisiteEvidenceSource
Attack vectorLocal (AV:L) in both CVSS versions[1]
Attack complexityLow (AC:L) in both CVSS versions[1]
PrivilegesNone required (PR:N) in both CVSS versions[1]
User interactionRequired in CVSS 3.1 (UI:R); passive participation in CVSS 4.0 (UI:P)[1]
Attack requirements (4.0)None (AT:N)[1]
AuthenticationNot described in the record[1]
Required configurationUse of the huffyuv or ffvhuff encoder on a frame with the small dimensions described[1]
Attacker positionThe record describes the attacker supplying the tiny video, which is then transcoded[1]
Reachable interfaceTranscoding or encoding path in libavcodec; a network service is not described in the record[1]
EnvironmentNot established by the reviewed sources-

The local attack vector is a scoring input. The record describes attacker-supplied video, which suggests the file must reach a host that runs the encoder, for example through a user upload, a shared folder or a transcoding job. The reviewed sources do not show which deployment patterns are common. Prerequisites known only from the vector: the attack vector value and the absence of required privileges are vector-derived, while the input-file scenario is described in the record text [1].

Exploitation scenarios and attack lifecycle

Illustrative scenario 1: a user or automated system transcodes a small attacker-supplied video to huffyuv or ffvhuff on a host with a vulnerable FFmpeg build. The encoder crashes. The operational consequence is a failed job or a service restart, which is a denial-of-service outcome consistent with the record [1].

Illustrative scenario 2: an attacker who wants more than a crash would need to show that the out-of-bounds access can be shaped into a memory disclosure or code execution. No source in the pack shows this, so the scenario is not confirmed and is not treated as established.

Defensive opportunities: restrict which users or pipelines can submit media for transcoding into huffyuv or ffvhuff; validate frame dimensions at the ingestion stage before the file reaches FFmpeg; run encoders in isolated worker processes with restart supervision; and alert on repeated encoder crashes tied to a particular source file. These are analyst recommendations based on the record's described trigger [1].

Lifecycle status: the pack does not document any in-the-wild attack chain, initial access, persistence or post-exploitation activity for this CVE [2][3].

Impact analysis

AreaTechnically demonstrated by the recordPlausible but not established
AvailabilityEncoder crash described in the record [1]Repeated crashes disrupting a transcoding service (analyst assessment)
IntegrityOut-of-bounds writes are described [1]Corruption of adjacent data or encoder state (not established)
ConfidentialityOut-of-bounds reads are described [1]Disclosure of process memory (not established)
Authentication and authorisationNot describedNone established
Privilege boundariesNot describedCode execution in the encoder process (not established by the reviewed sources)
Data and privacyNot described beyond the file being processedExposure of media content held in memory (not established)
Business operationsNot describedDelayed media pipelines or failed customer jobs (analyst assessment)
Regulatory or contractual obligationsNot established by the reviewed sources-

The CVSS 4.0 and 3.1 vectors rate high impact on confidentiality, integrity and availability [1]. These ratings describe the potential of the flaw in the scoring model. They are not a demonstration that each impact occurs.

Affected products and versions

VendorProduct / componentAffected versionsPlatformFixed versionSource and qualification
FFmpeglibavcodec huffyuv and ffvhuff encodersUp to and including 9.0.2, as published by the CNA [1]Not established by the reviewed sourcesNot published in the reviewed sources[1]; record in Awaiting Analysis

Known exclusions: none are described in the record. Whether releases after 9.0.2 are affected is not established by the reviewed sources, because the record gives an upper bound only and no complete range [1]. Distribution packages, vendor builds and embedded copies of libavcodec may carry their own version numbers and patches; the pack does not identify any of them [1].

Configuration-specific exposure: the flaw is described for the huffyuv and ffvhuff encoders. A deployment that never invokes these encoders is not described as exposed by the record, but the reviewed sources do not give a full inventory of the code paths that reach them [1].

Exploitation and threat intelligence status

Confirmed exploitation in the wild: not established by the reviewed sources.

CISA KEV: not listed when the website checked the complete catalog on 2026-11-12 [2]. The catalog's absence does not show that exploitation has not happened [2].

EPSS: the estimated probability of exploitation activity over the next 30 days is 0.0013, with a percentile of 0.0246, dated 2026-11-10 [3]. EPSS is a statistical model, not an observation of exploitation [3].

Public proof of concept: the record references a VulnCheck advisory and FFmpeg code locations [1], but the pack does not state that a working exploit or proof of concept exists. Its status is not established by the reviewed sources.

Threat actors, campaigns and sectors: not established by the reviewed sources.

Reliability of evidence: the record is in Awaiting Analysis, so the CNA-supplied description is the main evidence [1]. The absence of public evidence in the pack is not proof that exploitation has not occurred.

Indicators of compromise

No indicators of compromise are given in the reviewed sources. No file hashes, file names, domains, IP addresses, URLs, process names, command lines or log events are established for this CVE. Any indicator should be obtained from a validated source before use, because indicators go stale and must be checked against the local environment before blocking.

Useful local telemetry, as an analyst recommendation: crashes or abnormal termination of FFmpeg processes during huffyuv or ffvhuff encoding, and transcoding jobs that repeatedly fail on specific input files. These are not confirmed indicators of this CVE.

Detection and exposure assessment

  1. Inventory: list every host, container image and application bundle that includes FFmpeg or libavcodec, and record the exact version. The affected range is up to and including 9.0.2 [1].
  2. Version check: on a host where the ffmpeg command is installed, run ffmpeg -version (read-only; prerequisite: the binary is on the path). Compare the reported version with the affected range. A version match is not proof of exploitability, and distribution backports may not change the upstream version string; this is an analyst caveat, and the pack does not confirm any backports.
  3. Configuration check: determine whether any workflow invokes the huffyuv or ffvhuff encoders. This is not established by the reviewed sources as a default setting; it must be checked against each application's own configuration.
  4. Authenticated vulnerability scanning: run the organisation's scanner with credentials to identify FFmpeg packages. The pack does not identify a scanner plugin for this CVE.
  5. Log review: search encoder and transcoding logs for abnormal termination of FFmpeg processes around encoding jobs that use huffyuv or ffvhuff. The pack gives no log signature for this CVE.
  6. Input review: where media is ingested, check for very small frame dimensions, such as width or height of 1 or 2 pixels, in files destined for these encoders. This is an analyst recommendation based on the record's trigger [1].

Limitations: the reviewed sources provide no vendor detection guidance and no vulnerability check signature.

Immediate mitigation

  1. Restrict encoding to huffyuv and ffvhuff for untrusted input. Protects against: the described trigger path. Limitations: does not fix the underlying flaw. Side effects: some pipelines may fail. Verification: confirm the job configuration no longer selects these codecs for untrusted sources. Source: analyst recommendation following from the record's trigger [1].
  2. Validate frame dimensions at the ingestion stage and reject media with a width or height below 3 pixels, or rather route such files to manual review. Protects against: the tiny-frame trigger described in the record [1]. Limitations: the record does not give the exact safe minimum, so the threshold is an analyst choice and must be confirmed against vendor fixes. Verification: test the ingestion check with sample files in a non-production environment.
  3. Isolate transcoding workers in separate processes or containers with restart policies, so that a crash affects only one job. Protects against: service-wide disruption. Limitations: does not prevent memory corruption. Verification: confirm that a forced worker termination in a test environment does not stop the queue. This is an analyst recommendation.
  4. Increase monitoring of encoder crashes and failed jobs, and alert on repeated failures from the same source. Protects against: undetected repeated attempts. Limitations: no confirmed signature exists. Verification: confirm the alert fires on a test crash in a non-production environment.
  5. Remove public or unauthenticated submission paths that reach FFmpeg encoding. Protects against: attacker-supplied input reaching the encoder. Limitations: may affect the service's functionality. Verification: confirm from the application configuration that anonymous upload paths do not reach the encoder.

Permanent remediation

Vendor-confirmed fix: not established by the reviewed sources. The pack contains no FFmpeg advisory, release note or patched version for CVE-2026-125229 [1].

Action: obtain the vendor fix or an upstream commit that addresses encodeinit() and the median predictor path, then update each FFmpeg build or distribution package to that release. The record references a pull request and a commit [1], but their contents and any fixed version were not provided, so this action cannot be completed with a specific version from the pack.

Upgrade prerequisites: test the updated build with existing huffyuv and ffvhuff transcoding workloads in a non-production environment before rollout. Back up the current binary or package so that rollback is possible.

Restart or reload: not established by the reviewed sources. Restart all processes that load libavcodec after the update, because a running process keeps the old library loaded.

Hardening versus fix: adding minimum-dimension checks at ingestion is recommended hardening, not a vendor-confirmed fix.

Workarounds and compensating controls

If no fixed version is available, the most direct control is to stop routing untrusted media to huffyuv and ffvhuff encoding, and to validate frame geometry before encoding. Residual risk: the underlying out-of-bounds flaw remains in the library, and any other path that reaches the same encoder code is not covered by these controls. Compensating controls are not equivalent to a permanent fix because the record ties the issue to the encoder's own initialisation logic [1].

Validation and verification

  1. Confirm the installed FFmpeg and libavcodec version or build on each host, using ffmpeg -version, and compare it with the vendor's fixed release once published. Expected: a version newer than the affected range and matching the vendor fix. The pack does not give a fixed version to compare against [1].
  2. Confirm that application configurations no longer send untrusted input to huffyuv or ffvhuff encoding, if that compensating control is in place.
  3. Confirm that the ingestion frame-dimension check rejects a test file with very small dimensions in a non-production environment, and that legitimate files still pass.
  4. Re-run authenticated vulnerability scanning and review the result, but do not treat a clean scan as proof that the system is secure.
  5. Review encoder logs and service health for crashes after the change.
  6. Record evidence, owner, date and any exceptions for each host, and keep compensating controls in place until the vendor fix is confirmed.

Incident response

If a crash or abnormal termination is linked to a suspicious media file, treat it as a possible security event and follow the organisation's incident response plan.

Triage and scope: identify every host and job that processed the file, using transcoding logs and queue records. Containment: isolate the affected worker or host from sensitive storage and from other processing jobs, while keeping it running if needed for forensics. Evidence preservation: capture the input file, the job record, the FFmpeg command line and any crash output, and do not delete or overwrite them. Log and endpoint investigation: look for unexpected child processes, unusual file writes or outbound connections from the encoder process; the pack gives no specific signatures, so these checks are general analyst recommendations. Credential rotation: rotate secrets only if other evidence shows that the worker had access to them. Eradication: apply the vendor fix once available, or the compensating controls above. Recovery: restart workers after the fix and monitor for recurrence. Notification: follow applicable legal and contractual obligations, which are not established by the reviewed sources. Lessons learned: record how the file was delivered and why the ingestion check did not reject it.

Security hardening and prevention

Secure development (analyst recommendation): add explicit minimum and maximum frame-dimension checks at every encoder initialisation entry point, and enforce them in unit tests that cover one-pixel and two-pixel frames for huffyuv and ffvhuff. Verification: the test suite must fail on the unfixed code and pass after the fix.

Input validation: reject unsupported geometry before allocating row buffers or computing per-row lengths.

Safe arithmetic: check computed lengths for negative values before they are used as sizes or offsets, and use unsigned types only after the check.

Isolation and least privilege: run media transcoding in unprivileged, sandboxed worker processes with restricted filesystem access.

Attack-surface reduction: disable huffyuv and ffvhuff encoding where the business does not need them.

Patch and vulnerability management: track FFmpeg releases and the CVE record's status changes, because the record is in Awaiting Analysis [1].

Logging and monitoring: record encoder exit codes and the input's properties, and alert on repeated crashes.

Defence-in-depth (broader measure): add fuzz testing of the encoder with small and unusual dimensions in the development pipeline. This is a general recommendation, not a finding from the record.

Risk assessment

Technical severity: the record rates the flaw High under both CVSS versions, 8.5 under CVSS 4.0 and 7.8 under CVSS 3.1 [1]. The two scores come from different scorers and should be read with the discrepancies noted above.

Exposure and asset criticality: depends on whether the organisation runs FFmpeg with huffyuv or ffvhuff encoding on untrusted input. Not established by the reviewed sources for any specific environment.

Exploit prerequisites and attacker opportunity: the vector indicates no privileges and low complexity, with local access and user interaction [1]. The attacker must get a small video to the encoder. The reviewed sources do not show how often such files reach production systems.

Evidence of exploitation: none established in the pack; not in KEV at the check date [2]; EPSS 0.0013 [3].

Potential business impact: an encoder crash can interrupt media processing [1]. Other consequences are not established.

Existing controls and residual risk: unknown for the organisation. Residual risk remains until a vendor fix is confirmed and deployed.

Recommended priority (analyst assessment, not a CVSS score): high priority for any host that processes untrusted media with FFmpeg, medium for internal-only pipelines that do not use huffyuv or ffvhuff, and the priority should rise if a vendor fix or exploitation evidence appears. These assumptions are that the scope is limited to the described encoder path and that the record is accurate.

Conclusion

The core flaw is an out-of-bounds memory access in the FFmpeg huffyuv and ffvhuff encoder path, linked to missing minimum frame-dimension validation at initialisation [1]. Operators of FFmpeg up to and including 9.0.2 who transcode untrusted media to these codecs should act first, by restricting that path and validating frame geometry [1]. The permanent fix is a vendor-supported release that adds the missing validation, but none is identified in the pack [1]. Closing the issue needs the vendor advisory or patch, the complete affected range, verified updated versions on every host, confirmation that the compensating controls are in place, and a record of the checks performed.

Remediation checklist

  1. Inventory every host, container and application bundle that ships FFmpeg or libavcodec, and record the exact version; the affected range is up to and including 9.0.2 [1].
  2. Run ffmpeg -version on each host with the binary installed (read-only) and compare the output to the affected range; treat a match as a prompt for review, not as proof of exploitability [1].
  3. Identify every workflow that encodes untrusted media to huffyuv or ffvhuff, and stop that routing for untrusted sources pending a fix [1].
  4. Add a frame-dimension check at ingestion that rejects files with width or height of 1 or 2 pixels for those codecs, and confirm with test files in a non-production environment [1].
  5. Move transcoding workers into isolated, restartable processes so that an encoder crash affects only one job [1].
  6. Add alerting on repeated FFmpeg encoder crashes and failed transcoding jobs, and test the alert with a non-production crash [1].
  7. Track the vendor advisory and the referenced FFmpeg pull request and commit for a fixed release, because no fixed version is published in the pack [1].
  8. After the vendor fix is available, update each FFmpeg build or package, restart processes that load libavcodec, and rerun ffmpeg -version to confirm the new version [1].
  9. Re-run authenticated vulnerability scanning after the update and record the results, owner, date and exceptions; do not treat a clean scan as proof of security [1].

Evidence gaps

  • The vendor (FFmpeg) advisory or release note for CVE-2026-125229 is not in the pack; this would settle the vendor position and the fix.
  • No fixed version is published in the reviewed sources; the vendor release notes or the referenced commit would settle this.
  • The complete affected range is not established: the record gives only an upper bound of 9.0.2; the full version history and any backports would settle this.
  • The contents of the referenced pull request, commit, source line and VulnCheck advisory were not provided; reading them would settle the exact code path and buffer involved.
  • The record is in Awaiting Analysis, so NVD analysis and CPE configuration are not yet available; a later NVD update would settle the platform and configuration data.
  • Exploitation in the wild is not established: KEV does not list the CVE at the check date and no in-the-wild reporting is in the pack; CISA KEV updates and threat reporting would settle this.
  • No public proof-of-concept status is established by the pack; a review of the referenced advisory and public exploit references would settle this.
  • No indicators of compromise were provided; vendor or threat intelligence reporting would be needed.
  • The two CVSS versions differ in user-interaction and impact metrics; the scorer's rationale would be needed to resolve the discrepancy.
  • Distribution and vendor build inventory and any backport status are not established; distribution security trackers would settle which builds are affected.

References

  1. CVE-2026-125229 record. NIST National Vulnerability Database (NVD), 2026-11-10. https://nvd.nist.gov/vuln/detail/CVE-2026-125229. Accessed 2026-11-12. CVE identity, record status and dates, official description of the encoder flaw and crash behaviour, CWE-787 mapping, CVSS 3.1 and 4.0 scores, vectors and scorers, CNA-published affected version bound of 9.0.2, and the list of references including the pull request, commit, source line and VulnCheck
  2. 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. Absence of CVE-2026-125229 from the CISA KEV catalog when checked on 2026-11-12, with the caveat that absence is not evidence of no exploitation.
  3. EPSS score for CVE-2026-125229. FIRST, 2026-11-10. https://api.first.org/data/v1/epss?cve=CVE-2026-125229. Accessed 2026-11-12. FIRST EPSS estimate of 0.0013 with percentile 0.0246 dated 2026-11-10, with the note that EPSS is a statistical estimate and not evidence of exploitation.

Written with AI assistance from the 3 sources listed above, as of the research cut-off; each fact is cited to its source. Check the vendor's advisory before acting.

Summary

FFmpeg through 9.0.2 contains an out-of-bounds memory access vulnerability in the encode_frame() function of libavcodec/huffyuvenc.c, because encode_init() never validates minimum frame dimensions for the median predictor. Attackers can supply a tiny video, such as a 2-pixel-wide or 1-2-pixel-tall frame, that causes negative sub_median_pred lengths and out-of-bounds reads and writes when transcoded to huffyuv or ffvhuff, crashing the encoder.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

High · 8.5 CVSS 4.0 base score from the CNA (vulncheck.com)

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 confidentiality, integrity and availability
Impact on other systems
none

Vector CVSS:4.0/AV:L/AC:L/AT:N/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 · CVSS 3.1 7.8 from the CNA (vulncheck.com): CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Weakness

Affected and fixed versions

ProductAffected versionsFixed in
FFmpeg≤ 9.0.2—

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Patches and fixed releases

Other references

Details from NVD (public domain).

Affected

  • FFmpeg

Frequently asked questions

What is CVE-2026-125229?

CVE-2026-125229 describes an out-of-bounds write in the FFmpeg libavcodec huffyuv encoder, in the encodeframe() path of huffyuvenc.c, which the record links to a missing minimum frame-dimension check in encodeinit() for the median predictor. Weakness type: Out-of-bounds Write (CWE-787).

How severe is CVE-2026-125229?

CVE-2026-125229 has a CVSS 4.0 base score of 8.5 (high), 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-125229 being exploited?

Not as far as is known: CVE-2026-125229 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-125229?

FFmpeg ≤ 9.0.2.

How do I fix CVE-2026-125229?

Inventory every host, container and application bundle that ships FFmpeg or libavcodec, and record the exact version; the affected range is up to and including 9.0.2. Run ffmpeg -version on each host with the binary installed (read-only) and compare the output to the affected range; treat a match as a prompt for review, not as proof of exploitability. Identify every workflow that encodes untrusted media to huffyuv or ffvhuff, and stop that routing for untrusted sources pending a fix.

Timeline & sources

References