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

Home › CVE › Vulnerabilities

CVE-2026-125232 — FFmpeg

Medium · CVSS 6.8EPSS 0.2% First seen November 09, 2026

One of 121 FFmpeg vulnerabilities published together by NVD.

Vulnerabilities

Research article

FFmpeg through 9.0.2: division by zero in B-frame motion estimation (CVE-2026-125232)

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

Executive summary

CVE-2026-125232 describes a divide-by-zero flaw (CWE-369) in FFmpeg's motion estimation code, where a frame timestamp distance is truncated to 16 bits, so a gap that is a multiple of 65536 produces a zero divisor [1]. The record reports a crash with SIGFPE during MPEG-4 Part 2 or MPEG-1/2 B-frame encoding [1]. The CVE Numbering Authority lists FFmpeg versions through 9.0.2 as affected [1]. Secondary scores from VulnCheck are CVSS 4.0 6.8 MEDIUM with vector 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 CVSS 3.1 5.5 MEDIUM with vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H [1]. The impact described is availability (a process crash), not confidentiality or integrity, and the record suggests a local attack vector with the input supplied to the encoder [1]. The record is still Awaiting Analysis, and no fixed version is established by the reviewed sources [1]. The CVE is not in the CISA KEV catalog as of 2026-11-12, which does not show that it has not been exploited [2]. The FIRST EPSS estimate is 0.0016 (0.17%) for exploitation activity in the next 30 days, 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 on systems that encode untrusted video, and to isolate or restrict those encoding jobs until a vendor fix is identified and deployed [1].

Key points

  • CVE-2026-125232 is a division-by-zero flaw (CWE-369) in FFmpeg's B-frame motion estimation, caused by truncating timestamp distances to 16 bits, with a SIGFPE crash as the described effect [1].
  • The CNA lists FFmpeg through 9.0.2 as affected; no fixed version is established by the reviewed sources [1].
  • Secondary scores are CVSS 4.0 6.8 MEDIUM and CVSS 3.1 5.5 MEDIUM, both describing availability impact with no confidentiality or integrity impact [1].
  • The CVE was not in the CISA KEV catalog as of 2026-11-12, which does not establish that exploitation has not occurred [2].
  • EPSS is 0.0016 (0.17%) for the next 30 days; this is a statistical estimate, not evidence of exploitation [3].
  • The record is Awaiting Analysis, so the scores and status may change [1].

Vulnerability identification

FieldValueSource
CVE IDCVE-2026-125232[1]
VendorFFmpeg project[1]
ProductFFmpeg[1]
Componentlibavcodec motion estimation; function estimatemotionb()[1]
Affected platformNot established by the reviewed sources[1]
Published2026-11-09T19:17:01[1]
Last modified2026-11-10T21:46:26[1]
Record statusAwaiting Analysis[1]
CWECWE-369 (Divide By Zero)[1]
CVSS 4.06.8 MEDIUM; vector 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; scorer VulnCheck (Secondary)[1]
CVSS 3.15.5 MEDIUM; vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H; scorer VulnCheck (Secondary)[1]
Related identifiersCommit references 16d19ccbce802634662a9bf18a5679cf27da2848 and bf0a2e4680df92d8de6514090d350152eb7845b8; a code-host pull request; a VulnCheck advisory; all listed as references in the record. The contents of these references were not part of the evidence pack and are not verified here.[1]

No NVD-generated CVSS score appears in the record; both scores are attributed to a secondary scorer [1]. The CVSS 3.1 vector scores confidentiality and integrity as None and availability as High, and the CVSS 4.0 vector follows the same pattern for the vulnerable system [1]. The CVSS 4.0 vector also records user interaction as Passive, whereas the 3.1 vector records it as Required, so the two scores describe the user-interaction factor differently [1].

Technical background

FFmpeg is an open-source multimedia framework. Its libavcodec library contains the codecs that decode and encode audio and video [1]. The record places the flaw in the motion estimation code of libavcodec, which searches for how image blocks move between frames so that an encoder can represent a frame relative to a reference frame [1]. Analyst assessment: motion estimation is one of the most computation-intensive stages of a video encoder, and it is used when encoding inter-coded frames such as the B-frames named in the record.

B-frames (bidirectionally predicted frames) are frames predicted from both earlier and later reference frames. Their use depends on the encoder configuration and the codec in use [1]. The record names MPEG-4 Part 2 and MPEG-1/2 as the affected encoding paths [1].

Frame timestamps are numeric presentation times attached to each frame. The record states that the distance between timestamps is held in a 16-bit value in the affected code path [1]. A 16-bit unsigned value can represent 65536 distinct values, so a distance that is a multiple of 65536 wraps to zero when truncated [S1, Analyst assessment].

SIGFPE is the POSIX signal raised by an arithmetic fault such as an integer division by zero. The record uses it to describe the crash [1].

Vulnerability description

The record describes a division by zero in estimatemotionb() in libavcodec/motionest.c, caused by a timestamp distance truncated to 16 bits [1]. The security property affected is availability: an attacker-supplied input can cause the encoding process to terminate [1]. The record does not state that the flaw allows memory corruption, code execution, data disclosure or privilege change, and no source in the pack establishes any of these [1].

The conditions that must exist for the flaw to matter, per the record, are: FFmpeg at or below version 9.0.2; an encoding operation that uses the affected MPEG-4 Part 2 or MPEG-1/2 B-frame path; and input whose frame timestamp gaps are multiples of 65536 [1]. Whether a particular build enables the affected path depends on its configuration, which the reviewed sources do not describe [1].

The record notes a discrepancy in the file path. The description names libavcodec/motionest.c, while one reference points to libavcodec/motion_est.c at a specific line in the 9.0.2 tag [1]. This may be a naming difference in the description or a mismatch in the record. It should be resolved against the source tree before any code review is relied upon [1].

Root cause analysis

The record identifies the root cause as the truncation of frame timestamp distances to 16 bits, which yields a zero divisor for specific gap values [1]. This statement is Confirmed by the CVE record only as a description of the mechanism, not as a maintainer-verified code analysis, because the record is Awaiting Analysis [1].

Analyst assessment: the underlying error is a width mismatch. A wide quantity (a timestamp difference) is narrowed to 16 bits before being used as a divisor, and the code does not check that the result is non-zero before dividing. Existing controls fail because the narrowing silently discards high-order bits, and the division assumes a non-zero denominator. Why the code path is reachable only with specific gap multiples is inferred from the record's description.

Not established by the reviewed sources: the exact line of the vulnerable division, the design intent behind the 16-bit type, and whether the code-host commits in the references are the complete fix. The commit and pull request references may contain this information, but their contents were not part of the pack [1].

Technical mechanics

  1. The encoder receives a sequence of frames with presentation timestamps from an input source [S1, Illustrative].
  2. When encoding B-frames in the MPEG-4 Part 2 or MPEG-1/2 path, the motion estimation stage computes a timestamp distance between frames [1].
  3. The distance is stored in a 16-bit value, so any distance whose low 16 bits are zero, such as a multiple of 65536, is represented as zero [1].
  4. The estimation routine uses the value as a divisor in a scaling calculation without a prior zero check [S1, Analyst assessment].
  5. The division raises an arithmetic exception, which the operating system delivers as SIGFPE, and the process terminates [1].
Input frames (timestamps)
        |
        v
B-frame encode path (MPEG-4 Part 2 / MPEG-1/2)
        |
        v
Timestamp distance -> stored as 16-bit  [flaw: truncation]
        |
        v
Division by stored value (no zero check)  [flaw: missing guard]
        |
        v
SIGFPE -> encoder process terminates

The control that should have prevented the issue is a check that the divisor is non-zero before division, or a wide-enough type for the timestamp difference. Whether either exists in a later version is Not established by the reviewed sources [1].

Attack surface and exploitation prerequisites

PrerequisiteEvidenceSource
Network accessNot stated by the record; the CVSS vectors describe the attack vector as Local (AV:L) [1][1]
Adjacent network or physical accessNot established by the reviewed sources[1]
Local accessIndicated by AV:L in both secondary vectors; this is the scorer's assessment, not a confirmed attack path[1]
AuthenticationNone required (PR:N) per both vectors [1][1]
User interactionCVSS 3.1 records Required (UI:R); CVSS 4.0 records Passive (UI:P) [1][1]
Required configurationUse of the MPEG-4 Part 2 or MPEG-1/2 B-frame encoding path [1][1]
InputFrame timestamp gaps that are multiples of 65536 [1][1]
DependenciesNot established by the reviewed sources[1]

The attack vector and interaction values come from the secondary scorer's vector strings, and they describe how the scorer characterized the attack, not from testing [1]. The record does not describe how an attacker would deliver the input to a vulnerable encoder, such as through a file upload, a streaming service or a batch job. This is a gap in the evidence [1].

Exploitation scenarios and attack lifecycle

The record describes the input as attacker-supplied [1]. Illustrative scenario: a multi-tenant transcoding service accepts user-uploaded video and re-encodes it with an FFmpeg build at or below 9.0.2 using an affected B-frame encoder. A crafted file with timestamp gaps could terminate the encoding worker. The effect would be a failed job and possibly a restart of the worker, consistent with the availability impact in the CVSS vectors [1].

What is confirmed: the record states a crash with SIGFPE for the affected encoders [1]. What is not confirmed: any post-exploitation outcome, any chaining with other flaws, and any real-world attack. The defensive opportunities are: restrict who can submit media to encoding workers; run encoders with resource and crash isolation so a fault does not affect other jobs; and alert on repeated SIGFPE terminations in encoding services [Analyst assessment].

Impact analysis

AreaTechnically demonstrated (per record)Plausible downstream (not established)
ConfidentialityNone indicated by the CVSS vectors (C:N) [1]None established
IntegrityNone indicated by the CVSS vectors (I:N) [1]None established
AvailabilityEncoding process crash with SIGFPE; the 3.1 and 4.0 vectors score availability as High [1]Failed transcoding jobs, service interruption in pipelines that depend on the encoder [Analyst assessment]
Authentication and authorizationNot affected per the vectors (PR:N) [1]None established
Privilege boundariesNot established by the reviewed sourcesNot established
Data and privacyNot established by the reviewed sourcesNot established
Business operationsNot established by the reviewed sourcesDepends on how much media processing the organization runs through affected builds [Analyst assessment]
Regulatory or contractualNot established by the reviewed sourcesNot established

Affected products and versions

VendorProduct / componentAffected versionsPlatformFixed versionSource and qualification
FFmpeg projectFFmpeg / libavcodec motion estimationThrough 9.0.2 (affected less than or equal to 9.0.2)Not established by the reviewed sourcesNot established by the reviewed sourcesCNA-published affected range in the CVE record [1]; no vendor advisory was in the pack

The affected range is the one the CNA published [1]. The reviewed sources do not provide a complete per-branch or per-build breakdown, so whether every build at or below 9.0.2 includes the affected code path is Unknown. Distribution packages may carry patched backports; this is not established by the pack and must be checked with each distributor's advisory. No fixed version is established by the reviewed sources [1].

Exploitation and threat intelligence status

  • Confirmed in-the-wild exploitation: Not established by the reviewed sources [1, 2].
  • CISA KEV: Not listed as of 2026-11-12 [2]. This absence does not show that exploitation has not occurred [2].
  • Public proof of concept: The record references a code-host pull request, commits and a VulnCheck advisory [1]. The pack does not establish whether any of these contains a proof of concept, and their contents were not reviewed.
  • Threat actors, campaigns and sectors: Not established by the reviewed sources.
  • EPSS: 0.0016 (0.17%) probability of exploitation activity in the next 30 days, with percentile 0.0581 as of 2026-11-10 [3]. EPSS is an estimate from statistical models and is not evidence of exploitation [3].

The record is Awaiting Analysis, so NVD analysis is pending at the time of research [1]. The evidence for exploitation status is therefore thin, and a later review may change it.

Indicators of compromise

Not established by the reviewed sources. No file hashes, file names, domains, IP addresses, URLs, process command lines or log events are given for this CVE in the pack [1, 2, 3]. The SIGFPE termination named in the record is a symptom, not an indicator that can be used alone, because many faults produce it [S1, Analyst assessment]. Any indicator must be validated against local data before blocking, because indicators go stale.

Detection and exposure assessment

  1. Asset inventory: list every host, container image and application package that bundles FFmpeg or libavcodec. This is not established by the pack and must be performed locally.
  2. Version check: on a host where the ffmpeg command is installed, run ffmpeg -version (standard FFmpeg command-line tooling, not a command given by a source). Expected output includes a version string; a version at or below 9.0.2 places the build in the affected range per the CNA record [1]. Limitation: a distribution may backport fixes without changing the upstream version string, so this check alone is not proof of exposure or safety.
  3. Configuration check: identify encoder invocations that select the MPEG-4 Part 2 or MPEG-1/2 video encoders with B-frames enabled [1]. Review build scripts and job definitions in read-only mode.
  4. Authenticated vulnerability scanning: run a scanner that reports FFmpeg packages and their backport status for the operating system in use. Not established by the reviewed sources which scanners cover this CVE.
  5. Log review: search encoder worker logs and system logs for terminations with SIGFPE in the period since the record was published on 2026-11-09 [1]. Limitation: the record does not define a log format or event IDs.
  6. Exposure: determine whether untrusted parties can submit media to the affected encoders [S1, Analyst assessment].

Immediate mitigation

  1. Inventory and tag affected builds (version at or below 9.0.2) so they are known before any change. Protects against unknown exposure. Limitation: inventory does not reduce risk by itself. Verify by producing the list and reviewing it with the owners.
  2. Stop accepting untrusted media for re-encoding on affected builds, or route that work to isolated workers. Protects against attacker-supplied input reaching the vulnerable path [S1, Analyst assessment]. Side effect: processing delays. Verify by confirming that the queue no longer feeds the affected workers.
  3. Avoid the affected encoder paths where the business allows, such as switching to an encoder that the organization has tested and that is not one of the record's named paths. Limitation: this is an operational change that needs testing; the reviewed sources do not establish that the alternative is unaffected. Verify by checking encoder selection in job definitions.
  4. Run encoding jobs with per-job process limits and automatic restart so a crash affects one job only. Protects availability of the wider pipeline [Analyst assessment]. Verify with a test job in a non-production environment.
  5. Increase monitoring of encoder worker terminations and alert on SIGFPE events [1]. Verify that the alert fires on a test event in the monitoring platform.

Permanent remediation

Vendor-confirmed fix: Not established by the reviewed sources. No vendor advisory, patched release or fixed version is in the pack [1].

Recommended action (analyst assessment): Once a fixed release is published, upgrade every FFmpeg and libavcodec build to that release, or to a distributor package that the distributor identifies as containing the fix. Verify the fix by checking the version and by reviewing the commit references in the record against the source tree of the release [1]. Plan a maintenance window and keep the previous build available for rollback. Restart the encoder workers after the library is replaced, because a loaded library does not change in a running process [Analyst assessment].

Until a fix is confirmed, do not treat the commit references in the record as a fix without reviewing their content and merging status [1].

Workarounds and compensating controls

  • Isolation of encoder workers from untrusted input: reduces the chance that a crafted file reaches the affected path. Residual risk: an attacker who can submit media to a trusted queue is not stopped [Analyst assessment].
  • Process isolation and automatic restart: limits the effect of a crash to one job. Residual risk: the vulnerability remains, and repeated crafted input can continue to disrupt service [Analyst assessment].
  • Disabling the affected encoder path: removes the named route if the business can operate without it. Residual risk: the workaround depends on the encoder selection being complete; any other route to the same code is Not established by the reviewed sources.

These controls are not equivalent to a permanent fix. They reduce exposure but leave the flaw in place until a corrected build is deployed [1].

Validation and verification

  1. Confirm the installed FFmpeg and libavcodec versions on every host and image after the fix; record the output of the version command and the owner [Analyst assessment].
  2. Confirm that the fixed release or distributor package is the one installed, and that the affected encoder paths behave as expected in a controlled test with authorized sample media. Do not use crafted files outside an approved test plan.
  3. Re-run the authenticated vulnerability scan and review its backport handling for the CVE.
  4. Review worker logs and service health for at least one full operating cycle after the change, checking for SIGFPE terminations [1].
  5. Confirm that the compensating controls remain in place wherever the fix is not yet deployed.
  6. Record the evidence, owner, date and any exceptions. Do not treat a single check as proof that the system is secure.
  7. Recheck the NVD record and the CISA KEV catalog, because the record was Awaiting Analysis and its status may change [1, 2].

Incident response

If a SIGFPE termination in an encoder worker is linked to untrusted input, treat it as a possible exploitation attempt until reviewed. Steps:

  1. Triage and scope: identify the jobs, input sources and hosts involved, and the FFmpeg version on each [S1, Analyst assessment].
  2. Containment: isolate the affected worker from the input queue; do not delete the input files or logs.
  3. Evidence preservation: copy the worker logs, job definitions, input metadata and the binary hash of the FFmpeg build before changing anything. Keep the copies under the organization's evidence procedure.
  4. Investigation: review whether the same input source produced other failures and whether any other process on the host was affected. The record does not establish any post-exploitation activity, so do not assume one.
  5. Credential rotation: not indicated by the reviewed sources unless the investigation shows that the worker had access to secrets and that compromise is plausible.
  6. Eradication and patching: replace the build once a fixed version is available and verified [1].
  7. Recovery and monitoring: restore service with the isolated and monitored configuration, and watch for recurrence.
  8. Notification and reporting: follow the organization's obligations; the reviewed sources do not establish any regulatory impact.
  9. Lessons learned: record how the input reached the encoder and what control would have stopped it.

Security hardening and prevention

  • Secure development and code review (defence in depth): require review of arithmetic on externally derived values, including checks that divisors are non-zero before division, and use wide enough types for timestamp differences [Analyst assessment].
  • Input validation (defence in depth): validate timestamp continuity and reject or normalize implausible gaps before they reach the encoder [Analyst assessment]. This is a design recommendation, not a vendor control.
  • Least privilege and isolation: run encoders as unprivileged users in containers or sandboxes with resource limits [Analyst assessment].
  • Attack-surface reduction: disable codecs and encoder paths that a service does not use.
  • Patch and vulnerability management: track FFmpeg releases and distributor advisories, and set a deadline for applying fixes to encoding services.
  • Logging and monitoring: log encoder terminations with the job identifier and input source, and alert on repeated events [1].
  • Regression coverage: add a test with a synthetic timestamp sequence in the fixed build's test suite to confirm that the division is protected. This test should be designed by the organization and run in a non-production environment.

Risk assessment

  • Technical severity: The secondary scores are 6.8 MEDIUM (CVSS 4.0) and 5.5 MEDIUM (CVSS 3.1), and both describe an availability impact [1]. These are scores, not a complete risk rating.
  • Exposure and asset criticality: depends on whether the organization runs FFmpeg at or below 9.0.2 on services that accept untrusted media. Not established by the pack.
  • Prerequisites and attacker opportunity: the vectors indicate no authentication and local access, with some user-interaction difference between versions [1]. How an attacker reaches the input is not established.
  • Evidence of exploitation: none established; not in KEV as of 2026-11-12 [2]; EPSS 0.0016 [3].
  • Potential business impact: encoding job failures and interruption of media pipelines [Analyst assessment].
  • Existing controls and residual risk: Unknown; depends on the organization's input handling and isolation.
  • Recommended priority (organization-specific assumption: the organization runs FFmpeg at or below 9.0.2 on services that accept outside media): high priority for inventory and input isolation now, and prompt patching once a fixed release is published. This rating is an analyst assessment and is not the CVSS score.

Conclusion

CVE-2026-125232 is a divide-by-zero flaw in FFmpeg's B-frame motion estimation, caused by a 16-bit truncation of timestamp distances, with a crash as the reported impact [1]. Teams that operate FFmpeg at or below 9.0.2 on services that handle untrusted media should act first by inventorying affected builds and isolating the encoder paths from untrusted input [1]. The permanent fix is a vendor-confirmed release or distributor package, which the reviewed sources do not identify [1]. Closing the issue requires the vendor advisory and fixed version, a completed NVD analysis, verified installed versions, and evidence that the affected paths are protected in the deployed build [1, 2].

Remediation checklist

  1. Inventory every FFmpeg and libavcodec build on hosts, container images and packages, and record each version; treat anything at or below 9.0.2 as in scope until a distributor or vendor fix is confirmed [1].
  2. Identify encoding jobs that use the MPEG-4 Part 2 or MPEG-1/2 encoders with B-frames enabled, and record the input source for each job [1].
  3. Stop routing untrusted media to affected encoder workers, or move that work to isolated workers; verify by checking the queue configuration [S1, Analyst assessment].
  4. Run encoder workers under unprivileged accounts with per-job resource limits and automatic restart; verify with a test job in a non-production environment [Analyst assessment].
  5. Create an alert for SIGFPE terminations of encoder worker processes and verify it fires on a test event [1].
  6. Monitor the NVD record and the vendor or distributor advisories for a fixed version; do not treat the listed commit references as a fix until their content is reviewed [1].
  7. Once a fix is published, upgrade affected builds or install the distributor package that contains it, then restart encoder workers and confirm the installed version with ffmpeg -version [S1, Analyst assessment].
  8. Re-run the authenticated vulnerability scan and review its handling of distribution backports, then record the owner, date and any exceptions [Analyst assessment].
  9. Recheck the CISA KEV catalog and the EPSS score after the record is analysed, since the current status is provisional [1, 2, 3].

Evidence gaps

  • Vendor security advisory or release notes: none in the pack; needed to confirm the fix and the fixed version [1].
  • Fixed version or patched release: not established; needed from the FFmpeg project or a distributor advisory [1].
  • Complete affected range and per-distribution backport status: only the CNA's through 9.0.2 statement is available; needed from vendor or distributor advisories [1].
  • Root cause confirmed by maintainers: the record gives the mechanism but the record is Awaiting Analysis; needed from the commit and pull request content or NVD analysis [1].
  • Content of the commit and pull request references and the VulnCheck advisory: listed but not reviewed in the pack; needed to confirm the code change and any proof-of-concept content [1].
  • Attack vector and delivery path: the vectors indicate local access, but the pack does not describe how untrusted input would reach an encoder; needed from a technical analysis [1].
  • Exploitation evidence: none established; KEV absence does not prove no exploitation [2].
  • Indicators of compromise: none given; needed from a vendor, CERT or incident response report if one exists [1, 2].
  • NVD analysis and official scores: both scores are from a secondary scorer and the record is Awaiting Analysis; needed from NVD analysis [1].

References

  1. CVE-2026-125232 record. NIST National Vulnerability Database (NVD), 2026-11-10. https://nvd.nist.gov/vuln/detail/CVE-2026-125232. Accessed 2026-11-12. CVE identity, official description, record status and dates, CVSS 4.0 and 3.1 scores, vectors and secondary scorer, CWE-369 mapping, CNA affected range through 9.0.2, referenced commit and pull request identifiers, and the file path discrepancy between the description and a reference.
  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 from the CISA KEV catalog as of 2026-11-12 and the caveat that this does not show absence of exploitation.
  3. EPSS score for CVE-2026-125232. FIRST, 2026-11-10. https://api.first.org/data/v1/epss?cve=CVE-2026-125232. Accessed 2026-11-12. EPSS estimate of 0.0016 (0.17%) with percentile 0.0581 as of 2026-11-10, and the caveat that EPSS is 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 a division by zero vulnerability in estimate_motion_b() in libavcodec/motion_est.c, caused by frame timestamp distances truncated to 16 bits. Attackers can supply input with timestamp gaps that are multiples of 65536, crashing MPEG-4 Part 2 or MPEG-1/2 B-frame encoding with SIGFPE.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

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

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

CVE-2026-125232 describes a divide-by-zero flaw (CWE-369) in FFmpeg's motion estimation code, where a frame timestamp distance is truncated to 16 bits, so a gap that is a multiple of 65536 produces a zero divisor. The record reports a crash with SIGFPE during MPEG-4 Part 2 or MPEG-1/2 B-frame encoding. The CVE Numbering Authority lists FFmpeg versions through 9.0.2 as affected. Weakness type: Divide By Zero (CWE-369).

How severe is CVE-2026-125232?

CVE-2026-125232 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-125232 being exploited?

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

FFmpeg ≤ 9.0.2.

How do I fix CVE-2026-125232?

Inventory every FFmpeg and libavcodec build on hosts, container images and packages, and record each version; treat anything at or below 9.0.2 as in scope until a distributor or vendor fix is confirmed. Identify encoding jobs that use the MPEG-4 Part 2 or MPEG-1/2 encoders with B-frames enabled, and record the input source for each job. Stop routing untrusted media to affected encoder workers, or move that work to isolated workers; verify by checking the queue configuration [S1, Analyst assessment].

Timeline & sources

References