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

Home › CVE › Vulnerabilities

CVE-2026-125185 — 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 Film Grain Scaling Division by Zero (CVE-2026-125185) Lets Crafted HEVC/VVC Streams Crash the Decoder

CVECVE-2026-125185
Vendor and productFFmpeg
PublishedNovember 12, 2026 08:40 UTC
Research cut-offNovember 12, 2026 07:21 UTC
UpdatedNovember 25, 2026 15:21 UTC
Sources reviewed3: NVD record (last modified 2026-11-10); CISA KEV catalog; FIRST EPSS (2026-11-10)

Update — November 25, 2026

Updates come from the CVE's records (NVD, CISA, GitHub, FIRST) as they change, newest first. The article below is as it was published on November 12, 2026.

Executive summary

CVE-2026-125185 is a divide-by-zero weakness (CWE-369) in FFmpeg's AFGS1 film grain parsing, where scaling points that share the same x value are accepted and later used as a divisor [1]. The record carries a CVSS 4.0 base score of 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 a CVSS 3.1 base score of 5.5 (Medium) with vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H; both were scored by VulnCheck as a secondary scorer, and the NVD record is still Awaiting Analysis [1]. The CVE record lists FFmpeg versions through 9.0.2 as affected, and no fixed version is published in the reviewed sources [1]. Per the record, an attacker who supplies a crafted HEVC or VVC bitstream can crash the decoder; no confidentiality or integrity impact is recorded [1]. The flaw is not in the CISA KEV catalog as of 2026-11-12, which does not show that it has not been exploited [2], and the FIRST EPSS estimate is 0.0016 (0.17%) [3]. The most important immediate action is to inventory FFmpeg and libavcodec builds at or below 9.0.2 that decode untrusted HEVC or VVC input, and isolate or restart those decoders until a build that demonstrably contains the referenced upstream fix is deployed [1].

Key points

  • CVE-2026-125185 is a divide-by-zero (CWE-369) in FFmpeg's AFGS1 film grain parsing, where repeated scaling-point x values are accepted [1].
  • Scores: CVSS 4.0 6.8 Medium (AV:L, PR:N, UI:P, VA:H) and CVSS 3.1 5.5 Medium (AV:L, PR:N, UI:R, A:H), both secondary by VulnCheck [1].
  • Affected: FFmpeg through 9.0.2 per the CVE record; no fixed version is published in the reviewed sources [1].
  • Impact recorded is a decoder crash (availability); no confidentiality or integrity impact is recorded [1].
  • Not in CISA KEV as of 2026-11-12 [2]; EPSS 0.0016 (0.17%) [3]; no confirmed exploitation in the pack.

Vulnerability identification

AttributeValueSource
CVE IDCVE-2026-125185[1]
VendorFFmpeg project[1]
ProductFFmpeg, with the libavcodec library it bundles[1]
ComponentFilm grain handling for AFGS1 payloads carried in T.35 SEI messages; functions named in the record are ffaomparsefilmgrainsets() and generatescaling() (spelling as published)[1]
Affected platformNot established by the reviewed sources beyond the FFmpeg project[1]
Published2026-11-09T19:16:54[1]
Last modified2026-11-10T21:46:41[1]
Record statusAwaiting Analysis[1]
CWECWE-369 (Divide By Zero)[1]
CVSS 4.06.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; scorer disclosure@vulncheck.com (Secondary)[1]
CVSS 3.15.5 Medium; CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H; scorer disclosure@vulncheck.com (Secondary)[1]
Related identifiers in the recordFFmpeg pull request 25572; commit b8daf520dd03f6139aa053acb768f3c4594599d9; a VulnCheck advisory for FFmpeg through 9.0.2[1]
CISA KEVNot listed as of 2026-11-12[2]
EPSS0.0016 (0.17%), percentile 0.0573, dated 2026-11-10[3]

CWE-369 describes a weakness in which an operation divides by a value that can be zero and the code does not guard against that case, so the division traps or yields an undefined result (Analyst assessment, general CWE meaning). Both CVSS scores are secondary scores; NVD has not yet published its own analysis in the reviewed record [1]. The two vectors differ on user interaction: the 4.0 vector sets UI:P (passive) and the 3.1 vector sets UI:R (required) [1]. The reviewed sources do not explain this difference, so the scorer's rationale is Not established by the reviewed sources.

Technical background

FFmpeg is an open-source multimedia framework. Its libavcodec library decodes compressed video, including HEVC (High Efficiency Video Coding) and VVC (Versatile Video Coding) bitstreams [1]. Both codecs can carry SEI (Supplemental Enhancement Information) messages, which are metadata attached to the coded video. The record says the flawed path is reached through T.35 SEI messages, which carry payloads identified by an ITU-T T.35 country and provider code, and that these payloads can contain AFGS1 film grain parameters [1]. Film grain synthesis adds simulated grain noise on output, and its parameters describe how noise strength maps to pixel brightness; that mapping is defined by a list of scaling points, each with an x value (the brightness level) and a y value (the scaling strength) [Analyst assessment; the record names scaling points and generatescaling() but does not describe the mapping].

Terms used below: a trust boundary is the point where data from a less-trusted source (here, a media file from outside the organization) enters a more-trusted component; a divisor is the value a division operation uses as its denominator. The AFGS1 specification itself is not in the reviewed sources, so its exact field layout is Not established by the reviewed sources.

Vulnerability description

The violated property is availability: the record describes a crash of the decoder, not a memory or data disclosure [1]. The flawed component is the AFGS1 film grain parser in libavcodec, which accepts a list of scaling points in which consecutive x values do not increase, and the later generation routine divides by the difference between such values [1].

An attacker who can get a crafted HEVC or VVC bitstream to a vulnerable decoder can cause the decoder to crash [1]. The conditions that make this matter are: the decoder processes the attacker-supplied stream; the stream carries the T.35 SEI payload with the crafted scaling points; and the application path reaches film grain generation [Analyst assessment, based on the record's description of the parser and generator]. The record does not establish code execution, memory corruption, information disclosure, or persistence. Nothing in the reviewed sources shows that the crash can be steered to any other effect, and the record's CVSS 4.0 vector sets the confidentiality, integrity and subsequent-system impacts to None [1]. The crash mechanism (for example a hardware trap that terminates the process) is described only as a crash [1]; the precise signal or exit path is Not established by the reviewed sources.

Root cause analysis

Confirmed (from the CVE record): the parser does not reject AFGS1 scaling points whose x values repeat, and the generation routine then divides by a difference that can be zero [1].

Analyst assessment: the root cause is missing input validation on the ordering of scaling-point x values at parse time, with no guard in the generation routine against a zero divisor. This is why the flaw persists: the division is correct for the data the function expects, so it appears valid unless the parser has already enforced strictly increasing x values. A defense at only one of the two places (parser or generator) would stop this specific input, and the record does not say which one the upstream change adds.

Not disclosed by the reviewed sources: the exact code lines, the upstream change content, and whether the same pattern occurs in other film grain or scaling code paths. The record references libavcodec/aom_film_grain_template.c at the 9.0.2 tag and commit b8daf520dd03f6139aa053acb768f3c4594599d9 [1]; the commit's diff is not in the pack, so its role as the fix is unconfirmed. The function name ffaomparsefilmgrainsets() is spelled as in the record, and whether this spelling matches the source tree must be checked.

Technical mechanics

The following flow is Illustrative, reconstructed from the record's description of the parser and generator; the code-level sequence is not confirmed by the sources.

1. Container or raw stream supplies an HEVC or VVC bitstream (untrusted boundary).
2. Decoder parses NAL units and reaches SEI messages.
3. T.35 SEI payload is identified and handed to the AFGS1 film grain parser.
4. Parser reads the list of scaling points (x, y pairs).
5. Missing check: consecutive x values that are equal are accepted.
6. Film grain generation (generatescaling) computes slopes between consecutive points,
   dividing by the x difference.
7. Difference is zero -> division by zero -> decoder process terminates.
8. Control that should have prevented this: validation at step 4 that x values are
   strictly increasing, rejecting the payload before it reaches step 6.

Authentication and authorization checks do not apply to this path, because the record lists no privilege requirement (PR:N in both vectors) [1]. The precondition is that the decoder accepts the attacker's bitstream as input, so the input-handling boundary is the place where the control belongs.

Attack surface and exploitation prerequisites

PrerequisiteStatusSource
Network accessNot established; both vectors set AV:L (local)[1]
Adjacent networkNot applicable per the AV:L value; not separately established[1]
Local accessVector-indicated (AV:L); the scorer's rationale is Not established by the reviewed sources[1]
Physical accessNot established[1]
AuthenticationNone required (PR:N)[1]
Privilege levelNo privilege required (PR:N)[1]
User interaction4.0 vector: passive (UI:P); 3.1 vector: required (UI:R); the two scorers' readings are not reconciled in the pack[1]
Required configurationDecoding of HEVC or VVC input whose SEI carries AFGS1 film grain; default enablement Not established by the reviewed sources[1]
Attacker positionCan supply a bitstream to the decoder; how that bitstream is delivered (upload, file share, stream) is Not established[1]
DependenciesVersions through 9.0.2 as published; other builds Not established[1]

The CVSS vectors describe attack vector as local, which may understate delivery through a file-processing service. Because the vector alone does not show whether a deployment reaches the path, exploitability in a given environment must be tested against that deployment's decoding configuration rather than inferred from the vector.

Exploitation scenarios and attack lifecycle

No exploitation chain is documented in the reviewed sources. Illustrative scenario: a service that transcodes user-uploaded video with a bundled FFmpeg build receives a crafted HEVC file. The decoder process terminates during film grain processing, and a supervisor restarts it. Repeated submissions cause repeated outages of that pipeline. The attacker's starting position is an ability to submit files; no authentication is needed per the record [1]. Post-exploitation outcomes beyond the crash are not established.

Defensive opportunities: restrict which services can decode untrusted HEVC or VVC input; isolate decoding in a sandboxed or separately supervised process so a crash does not take down other work; log decoder exit events per job so repeated crashes from one source are visible; and rate-limit or quarantine inputs that trigger crashes.

Impact analysis

AreaTechnically demonstrated (per record)Plausible downstream consequence (Analyst assessment)Source
ConfidentialityNone (C:N / VC:N / C:N)Not expected from the record; not established[1]
IntegrityNone (I:N / VI:N)Not expected from the record; not established[1]
AvailabilityHigh (A:H in 3.1; VA:H in 4.0)Interruption of decoding jobs or media services that use the affected library[1]
Authentication and authorizationNot affected per the vectorsNone identified[1]
Privilege boundariesSubsequent-system impacts recorded as None (SC:N / SI:N / SA:N)None identified in the reviewed sources[1]
Data and privacyNot establishedNot established by the reviewed sources[1]
Business operationsNot establishedOutage of media processing pipelines where decoding is exposed to untrusted inputAnalyst assessment
Regulatory or contractualNot establishedNot established by the reviewed sources[1]

Affected products and versions

VendorProduct or componentAffected versionsPlatformFixed versionSource and qualification
FFmpegFFmpeg / libavcodecThrough 9.0.2 (published as affected less than or equal to 9.0.2)Not establishedNot established by the reviewed sourcesVendor-published range in the CVE record [1]

The record lists the 9.0.2 tag as a reference, but whether every build labeled 9.0.2 or earlier is affected is Not established by the reviewed sources. Distribution packages that backport patches may differ from upstream numbering, and no distribution advisory is in the pack, so downstream status is Not established. No fixed version is published in the reviewed sources, so no fixed version is stated here.

Exploitation and threat intelligence status

ItemStatusSource and date
Confirmed exploitation in the wildNot established by the reviewed sourcesNone in pack
CISA KEV listingNot listed as of 2026-11-12; this does not show the flaw is unexploited[2]
EPSS0.0016 (0.17%), percentile 0.0573, 2026-11-10; a statistical estimate, not evidence of exploitation[3]
Public proof of conceptNot established; the record cites a VulnCheck advisory, whose content is not in the pack[1]
Threat actors, campaigns, sectorsNot established by the reviewed sourcesNone in pack

The absence of public exploitation evidence in the pack is not proof that exploitation has not occurred. Distinguishing the categories: the record demonstrates a theoretical crash condition described by the scorer and the CNA-published description; no source documents confirmed exploitation in the wild.

Indicators of compromise

No indicators of compromise are given by the reviewed sources: no file hashes, file names, domains, IP addresses, URLs for payloads, process names, log events or network patterns are provided [1, 2, 3]. Any indicator derived from a sample would be Analyst assessment and must be validated before blocking, because indicators go stale quickly. Operators can track decoder-crash events per job as a local signal, but a specific event ID or field is Not established by the reviewed sources.

Detection and exposure assessment

  1. Asset inventory: identify hosts, containers and images that contain an FFmpeg binary or the libavcodec library, including bundled copies inside applications. A version check on the binary is not proof of exploitability; it only shows whether the build falls in the published affected range [1].
  2. Binary version check (read-only, standard tooling): run ffmpeg -version on each host where the binary is on the PATH. Prerequisite: the ffmpeg executable is installed. Expected output: a first line beginning with the text ffmpeg version followed by the build identifier. Compare that identifier with the published range through 9.0.2 [1]. Limitation: a build-string match does not show whether a distribution has backported a fix.
  3. Library check on Debian-based systems (read-only): run dpkg -l with a filter for libavcodec. Prerequisite: the dpkg package manager. Expected output: installed package names and versions. Limitation: applications that embed their own libavcodec will not appear here.
  4. Library check on RPM-based systems (read-only): run rpm -q ffmpeg-libs or query the relevant package name for the distribution. Prerequisite: the rpm package manager and the package name used by that distribution, which is Not established by the reviewed sources and must be confirmed locally.
  5. Configuration and feature exposure: identify services that decode HEVC or VVC from untrusted sources. Whether film grain is applied in those services is Not established by the reviewed sources and must be checked in each application's configuration.
  6. Telemetry: review decoder process exit events, crash dumps and supervisor restart counts for the affected services over the period since 2026-11-09 (the record publication date) [1]. Event IDs and field names are Not established by the reviewed sources.

Immediate mitigation

  1. Restrict untrusted HEVC and VVC decoding to isolated worker processes with a supervisor that restarts them. Protects availability of the wider service from a single crashing input. Limitation: does not stop the crash itself; a repeated crafted input still causes restarts. Side effects: added latency and resource overhead. Verification: confirm a crashing test input (from an authorized test corpus, not a crafted sample) terminates only the worker, not the parent service. Source: Analyst assessment derived from the record's crash description [1].
  2. Route untrusted media through a dedicated decoding host or container with its own resource limits and no sensitive co-located workloads. Protects other workloads on the same host. Limitation: does not patch the decoder. Verification: confirm placement with the orchestrator's inventory. Source: Analyst assessment.
  3. Reduce exposure by pausing public ingestion of HEVC or VVC files to services that decode them, where the business allows. Protects against remote repeated crashes. Side effects: service unavailability for users. Verification: confirm ingestion routes are disabled in the gateway or application configuration. Source: Analyst assessment.
  4. Increase monitoring on decoder crash events, with an alert on repeated exits from the same source or job pattern. Protects detection of sustained attempts. Limitation: no indicators are published, so the alert threshold must be set locally. Verification: trigger a benign test restart in staging and confirm the alert fires. Source: Analyst assessment.
  5. Inventory and label affected hosts so that the patch owner can prioritize them. Verification: the inventory list is reviewed and signed off by the owner.

The reviewed sources do not describe a vendor-supported configuration option that disables the AFGS1 path, so no such setting is recommended here; whether one exists is Not established.

Permanent remediation

Vendor-confirmed fix: Not established by the reviewed sources. The record references pull request 25572 and commit b8daf520dd03f6139aa053acb768f3c4594599d9 [1], but the pack does not confirm that either is the fix or which release first includes it.

Recommended steps (Analyst assessment):

  1. Obtain the upstream FFmpeg source tree that contains the referenced commit. Verify the commit is in the history of the release you deploy. Read-only check: git -C <clone> merge-base --is-ancestor b8daf520dd03f6139aa053acb768f3c4594599d9 HEAD. Prerequisite: a clone of the FFmpeg repository and the release commit checked out. Expected output: exit status 0 if the commit is an ancestor of HEAD, nonzero otherwise. Limitation: presence of the commit shows inclusion, not that the build is patched against this specific input.
  2. Upgrade to a build from a release or distribution advisory that you can confirm includes that commit. Confirm the release version and the distribution advisory identifier, which are not in the pack.
  3. Rebuild and redeploy container images and applications that embed libavcodec, because a host package update does not change embedded copies.
  4. Validate the change using the steps below before closing the item.

Upgrade prerequisites and rollback considerations (backup of current binaries or images, maintenance window, and restart requirements) are Not established by the reviewed sources; apply the organization's standard change process.

Workarounds and compensating controls

The measures in the Immediate mitigation section are compensating controls: they limit the effect of a crash but leave the flaw in place. Their residual risk is that a crafted input still triggers the defect and repeated crashes remain possible. They are not equivalent to a permanent fix, which removes the divide-by-zero path [Analyst assessment]. A workaround that disables film grain processing or the T.35 SEI path is not documented in the reviewed sources and must not be assumed to exist.

Validation and verification

  1. Confirm the installed version or build on every inventoried host and container with ffmpeg -version and the package query used for each platform [1].
  2. Confirm the build contains the referenced commit using the read-only ancestor check in Permanent remediation.
  3. Confirm the affected service no longer exits on the authorized regression input supplied by your test team, run only in a staging environment. Do not use a crafted sample from unverified sources.
  4. Re-run authenticated vulnerability scanning on the inventory and check that the scanner's CVE-2026-125185 finding resolves. A scanner result alone is not proof that the system is secure.
  5. Review decoder exit events and restart counts for the 24 hours after the change and confirm they are not elevated.
  6. Confirm compensating controls remain in place wherever the patched build is not yet deployed.
  7. Record the evidence (version output, commit check, test result, scanner report), the owner, the date and any exceptions. Do not record the system as secure based on a single check.

Incident response

If decoder crashes are linked to untrusted input:

  1. Triage and scope: identify the services, hosts and time window with unexplained decoder exits since 2026-11-09 [1].
  2. Containment: isolate or pause the affected ingestion route; keep the supervisor in place so crashes remain contained.
  3. Evidence preservation: retain logs, crash dumps and copies of the submitted input files in a read-only store. Do not delete files or reimage hosts before collection, because this would destroy evidence.
  4. Investigation: correlate source addresses, account identifiers and submission timestamps with crash events. No indicators are published in the pack, so any indicator is an Analyst assessment to be validated locally.
  5. Credentials: rotate secrets only if other evidence shows compromise; the record does not show credential exposure [1].
  6. Eradication and patching: deploy a build confirmed to contain the referenced fix, following the permanent remediation steps.
  7. Recovery: restore full decoding, then monitor for the period defined in validation.
  8. Notification and reporting: obligations depend on the organization's jurisdiction and contracts; Not established by the reviewed sources.
  9. Lessons learned: record how the untrusted input reached the decoder and whether isolation contained the impact.

Security hardening and prevention

Specific to this flaw:

  1. Validate film grain scaling-point lists at parse time, requiring strictly increasing x values before the list is stored, and reject the payload otherwise. Verification: a unit test that submits a repeated x value and expects a rejection (Analyst assessment; the upstream test suite's coverage is Not established).
  2. Add a guard in the generation routine so that a zero difference cannot reach the division (defense in depth, Analyst assessment).

Broader defense-in-depth measures (labeled as such):

  1. Fuzz the SEI and film grain parsers with coverage-guided fuzzing in continuous integration.
  2. Run media decoders in isolated, resource-limited processes that restart on failure.
  3. Log decoder exits with the source job identifier so that repeated crashes are attributable.
  4. Keep a current software bill of materials that lists every embedded libavcodec copy, so that patches reach them.

Risk assessment

Technical severity: Medium on both published scores (CVSS 4.0 6.8; CVSS 3.1 5.5), with availability as the only recorded impact [1].

Exposure: depends on whether services decode untrusted HEVC or VVC input with AFGS1 film grain, which is Not established by the reviewed sources.

Attacker opportunity: no authentication is required [1]; the public EPSS estimate is low at 0.0016 [3]; the CISA KEV catalog does not list the CVE as of 2026-11-12 [2], which is not evidence of no exploitation.

Business impact: interruption of decoding pipelines and related services. Confidentiality and integrity impacts are not recorded [1].

Existing controls and residual risk: unknown for each deployment; isolation reduces effect but does not remove the defect.

Recommended priority (Analyst assessment, not a CVSS score): high priority for internet-facing or user-upload decoding services that run an affected build; standard priority for internal or controlled media pipelines. The reasoning is that the record shows a reachable crash condition without authentication, while the scores and EPSS indicate moderate severity and low predicted exploitation volume. This organization-specific rating assumes that services decoding untrusted HEVC or VVC input exist and that the affected range applies; it is not the CVSS score.

Conclusion

The core flaw is a divide-by-zero in FFmpeg's AFGS1 film grain handling, where scaling points with repeated x values are not rejected and are later used as a divisor [1]. Operators of FFmpeg through 9.0.2 that decode untrusted HEVC or VVC input should act first: isolate those decoders and identify every embedded build [1]. The permanent fix is a build confirmed to contain the upstream change referenced as commit b8daf520dd03f6139aa053acb768f3c4594599d9, but the fixed version is not established in the pack [1]. The evidence needed to close the issue includes: the NVD analysis and a vendor or distribution advisory naming the fixed version; the diff for the referenced commit; verification that deployed builds contain it; and passing post-change validation in each affected service.

Remediation checklist

  1. Inventory every host, container and application image with an FFmpeg binary or embedded libavcodec at or below 9.0.2, using ffmpeg -version and the distribution package query [1].
  2. Identify which services decode untrusted HEVC or VVC input and whether they apply AFGS1 film grain; confirm in each application's configuration, since this is not established by the pack [1].
  3. Isolate untrusted HEVC and VVC decoding in supervised worker processes that restart on crash, so one crash does not take down the wider service (Analyst assessment) [1].
  4. Pause public ingestion of HEVC or VVC uploads to affected services where the business allows, until a patched build is deployed (Analyst assessment) [1].
  5. Add alerting on repeated decoder exits, grouped by source or job, and verify the alert in staging with a benign test restart (Analyst assessment) [1].
  6. Obtain the upstream FFmpeg tree and confirm commit b8daf520dd03f6139aa053acb768f3c4594599d9 is an ancestor of the release you deploy, using git merge-base --is-ancestor [1].
  7. Upgrade to a release or distribution build confirmed to include that commit; rebuild container images and applications that embed libavcodec, not only the host package [1].
  8. After deployment, re-run ffmpeg -version and the package query, run an authenticated scan, and check decoder exit counts for 24 hours; record evidence, owner and date [1].
  9. Track the NVD record for the NIST analysis and the fixed version, and update the inventory when a vendor or distribution advisory is published [1].

Evidence gaps

  • Fixed version: no vendor or distribution source in the pack names the release that first contains the fix; confirm via the FFmpeg release notes or a distribution advisory [1].
  • Fix content: the diff for commit b8daf520dd03f6139aa053acb768f3c4594599d9 and pull request 25572 are not in the pack; obtain them from the upstream repository to confirm the change addresses this input [1].
  • Complete affected range: only 'through 9.0.2' is published; whether builds from later development trees or distribution backports are affected needs the vendor's or distribution's statement [1].
  • NVD analysis: the record is Awaiting Analysis with only secondary VulnCheck scores; NVD's own CVSS and CWE assessment is needed to confirm the scores and the CWE mapping [1].
  • Scoring discrepancy: CVSS 4.0 uses UI:P and CVSS 3.1 uses UI:R; the scorer's rationale is not in the pack [1].
  • Root cause in code: the exact function logic, the missing check's location, and whether similar paths exist are not disclosed; the function name spelling in the record must be checked against the source tree [1].
  • Exploitation evidence: no confirmed in-the-wild exploitation, public proof-of-concept content or threat actor attribution is in the pack; the VulnCheck advisory's content would need review [1][2][3].
  • Indicators of compromise: none are provided; any sample-derived indicators would need validation from an incident or threat intelligence source.
  • Default configuration: whether AFGS1 film grain processing is enabled by default in common FFmpeg builds and applications is not established by the reviewed sources.
  • AFGS1 specification: the format details needed to construct test cases safely are not in the pack.

References

  1. CVE-2026-125185 record. NIST National Vulnerability Database (NVD), 2026-11-10. https://nvd.nist.gov/vuln/detail/CVE-2026-125185. Accessed 2026-11-12. CVE identity, record status and dates, description of the AFGS1 scaling-point division by zero and crash, CVSS 4.0 and 3.1 scores and vectors with secondary scorer, CWE-369, affected range through 9.0.2, referenced pull request, commit, tag and VulnCheck advisory, and the absence of a published fixe
  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. Statement that CVE-2026-125185 is not listed in the CISA KEV catalog as of 2026-11-12, and that this does not show it has not been exploited.
  3. EPSS score for CVE-2026-125185. FIRST, 2026-11-10. https://api.first.org/data/v1/epss?cve=CVE-2026-125185. Accessed 2026-11-12. EPSS estimate of 0.0016 (0.17%) with percentile 0.0573 dated 2026-11-10, and the note that EPSS is a statistical estimate rather than 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 ff_aom_parse_film_grain_sets() that fails to reject AFGS1 scaling points with repeated x values. Attackers can supply crafted HEVC or VVC files with zero-increment scaling points in T.35 SEI messages, causing generate_scaling() to divide by zero and crash the decoder.

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-125185?

CVE-2026-125185 is a divide-by-zero weakness (CWE-369) in FFmpeg's AFGS1 film grain parsing, where scaling points that share the same x value are accepted and later used as a divisor. Weakness type: Divide By Zero (CWE-369).

How severe is CVE-2026-125185?

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

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

FFmpeg ≤ 9.0.2.

How do I fix CVE-2026-125185?

Inventory every host, container and application image with an FFmpeg binary or embedded libavcodec at or below 9.0.2, using ffmpeg -version and the distribution package query. Identify which services decode untrusted HEVC or VVC input and whether they apply AFGS1 film grain; confirm in each application's configuration, since this is not established by the pack. Isolate untrusted HEVC and VVC decoding in supervised worker processes that restart on crash, so one crash does not take down the wider service (Analyst assessment).

Timeline & sources

References