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

Home › CVE › Vulnerabilities

CVE-2026-125246 — FFmpeg

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

One of 121 FFmpeg vulnerabilities published together by NVD.

Vulnerabilities

Research article

FFmpeg up to 9.0.2: miscounted 0xFF bytes in JPEG scan headers cause assertion-abort denial of service (CVE-2026-125246)

CVECVE-2026-125246
Vendor and productFFmpeg
PublishedNovember 12, 2026 07:21 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-125246 is a denial-of-service flaw in FFmpeg up to and including 9.0.2, in the cbsjpegassemblefragment() routine, where 0xFF stuffing bytes in a JPEG scan header are counted incorrectly, leading to an assertion abort [1]. NVD's secondary scorer rates it CVSS 4.0 5.7 MEDIUM with vector CVSS:4.0/AV:L/AC:H/AT:P/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 4.7 MEDIUM with vector CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H [1]. The record is still Awaiting Analysis, and the only affected range is the CNA's statement of up to and including 9.0.2, with no fixed version published in the pack [1]. The exploitation conditions are a crafted JPEG or MJPEG stream reaching a CBS-based processing path, and the vector indicates local access with no privileges required [1]. The impact is limited to availability: the vectors score confidentiality and integrity as none [1]. The CVE is not in the CISA KEV catalog as of 2026-11-12, which does not prove that it has not been exploited [2]. The EPSS estimate is 0.16% with a 0.0477 percentile [3]. The most important immediate action is to inventory FFmpeg builds at 9.0.2 or earlier and restrict untrusted JPEG and MJPEG input from reaching them until a vendor fix is verified [1].

Key points

  • CVE-2026-125246 is a denial-of-service flaw in FFmpeg up to and including 9.0.2, in cbsjpegassemblefragment(), caused by miscounting 0xFF stuffing bytes in JPEG scan headers [1].
  • Secondary scores: CVSS 4.0 5.7 MEDIUM (CVSS:4.0/AV:L/AC:H/AT:P/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 4.7 MEDIUM (CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H) [1].
  • The record is Awaiting Analysis and no fixed version or vendor advisory is in the pack [1].
  • Not listed in CISA KEV as of 2026-11-12, which does not rule out exploitation [2]; EPSS is 0.16% with percentile 0.0477 [3].
  • Immediate action: inventory FFmpeg builds at or before 9.0.2 and restrict untrusted JPEG and MJPEG input from reaching them until a verified fix is installed [1].

Vulnerability identification

The table below lists the identifiers, scores and status recorded in the pack. Where a field is not in the sources, it is marked as such.

FieldValue
CVE IDCVE-2026-125246 [1]
Vendor and productFFmpeg; the CVE record names FFmpeg as the affected product, and the CNA entry lists it as affected up to and including 9.0.2 [1]
Componentcbsjpegassemblefragment() in the CBS JPEG path, referenced in the file libavcodec/cbs_jpeg.c [1]
Affected platformNot established by the reviewed sources beyond the product and version range
Published2026-11-09T19:17:03 [1]
Last modified2026-11-10T21:46:42 [1]
Record statusAwaiting Analysis at the time of the NVD record [1]
CWECWE-617 (Reachable Assertion) as mapped by NVD [1]
CVSS 4.05.7 MEDIUM; CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X; scored by disclosure@vulncheck.com as Secondary [1]
CVSS 3.14.7 MEDIUM; CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H; scored by disclosure@vulncheck.com as Secondary [1]
Vendor CVSSNot published in the pack
CISA KEVNot listed as of 2026-11-12 [2]
EPSS0.0016 (0.16%), percentile 0.0477, dated 2026-11-10 [3]
Related identifiersThe reference list includes a pull request on the FFmpeg code host, the FFmpeg repository, the cbs_jpeg.c source reference for the 9.0.2 release, a commit, and a VulnCheck advisory [1]. No vendor advisory identifier, bug tracker entry or patch identifier is in the pack.

The two CVSS scores come from the same secondary scorer, and the record carries no vendor or CNA-assigned CVSS score in the pack [1]. The CVSS 4.0 vector has every Threat, Environmental and Supplemental metric set to X (not defined), so it reflects only the base metrics [1]. The CVSS 3.1 score is 4.7 and the CVSS 4.0 score is 5.7; both are MEDIUM, but they are different scoring systems and are not directly comparable [1].

Technical background

FFmpeg is an open-source multimedia framework. Its libavcodec library decodes and encodes compressed audio and video. Within libavcodec, the Coded Bitstream Framework (CBS, a generic library for reading and writing codec bitstream syntax) provides codec-specific helpers, and the JPEG helper in cbs_jpeg.c is the component named by the record [1]. A bitstream filter is a component that rewrites the packets of a stream without fully decoding it. The record states that CBS-based bitstream filters reach the flaw when they process a crafted stream [1]. The pack does not name the specific filters involved.

Background on the JPEG format (general knowledge, not from the pack): a JPEG file is a sequence of marker segments. A Start of Scan (SOS) segment begins the entropy-coded image data. Inside entropy-coded data, a literal 0xFF byte is followed by a stuffing byte 0x00 so that it cannot be mistaken for a marker. The record says the flaw involves miscounting these 0xFF stuffing bytes in the scan header [1]. Trust boundary: the bitstream supplied to FFmpeg is untrusted input, and the CBS parser and assembly code must validate its structure before it is used to build output [1].

Vulnerability description

The record describes a denial-of-service condition in FFmpeg up to and including 9.0.2 [1]. The flawed function is cbsjpegassemblefragment(), which is said to count 0xFF stuffing bytes in JPEG scan headers incorrectly [1]. A crafted JPEG or MJPEG stream with 0xFF bytes in the scan header can cause an assertion (avassert0) to fire and abort the process when CBS-based bitstream filters process it [1].

Security property violated: availability. The record describes a process abort, not memory corruption, data disclosure or code execution [1]. The vectors also score confidentiality and integrity as none [1].

What an attacker can cause: termination of the FFmpeg process handling the crafted input, which is a denial of service for whatever relies on that process [1]. What the record does not establish: code execution, memory disclosure, privilege escalation, persistence, or any effect beyond the aborting process [1]. Whether a crash in a worker process affects a larger service depends on the deployment, which the pack does not describe.

Conditions for the flaw to matter: the input must be a JPEG or MJPEG stream that carries 0xFF bytes in its scan header, and it must reach a CBS-based processing path in FFmpeg [1]. The record does not state whether ordinary, non-crafted JPEG files take this path under normal use.

Root cause analysis

Confirmed: the record attributes the defect to the miscounting of 0xFF stuffing bytes in JPEG scan headers within cbsjpegassemblefragment() [1]. The reference list points to the cbs_jpeg.c source at the 9.0.2 tag and to a commit and pull request, but the pack does not state what the commit changed [1].

Analyst assessment: the root cause appears to be an arithmetic or counting error in the code that computes the size of the assembled scan data, which then trips an internal assertion when the computed value and the actual data disagree. The CWE-617 mapping (Reachable Assertion) is consistent with a case where an assertion that should be unreachable for valid input is reached by attacker-controlled input [1]. This is inference from the CWE mapping and the description, not a confirmed explanation.

Why existing controls may fail: the assertion is a developer consistency check rather than input validation. It catches the inconsistency after the counting error has already occurred, so the flawed count is not rejected in a graceful error path. The pack does not describe the specific code change or the review process that missed it.

Not established by the reviewed sources: the exact line of logic that miscounts, the precise condition that triggers the mismatch, and whether the miscount also affects non-assertion builds.

Technical mechanics

The following is an illustrative flow based on the record's description. The steps beyond the record's statements are analyst assessment and are labelled as such.

  1. FFmpeg receives a JPEG or MJPEG stream, from a file or a stream source, as untrusted input [1].
  2. A CBS-based bitstream filter or helper parses the JPEG structure, including the scan header [1].
  3. Within the scan header, 0xFF bytes are present, and the stuffing bytes that follow them must be counted correctly [1].
  4. The function cbsjpegassemblefragment() computes a count that does not match the actual 0xFF stuffing bytes in the scan header [1].
  5. A subsequent consistency assertion (avassert0 in the record) detects the mismatch and aborts the process [1]. Analyst assessment: because the assertion is not a recoverable error path, the process terminates rather than returning an error.
  6. The security control that should have prevented this is input validation at the parsing boundary, which should reject or safely handle malformed scan headers before they reach the assembly step. The pack does not state whether any such check exists or is bypassed [1].

Preconditions and environmental dependencies: an FFmpeg build at or before 9.0.2, a code path that uses CBS JPEG assembly, and input that reaches it [1]. The pack does not state whether default builds or specific configurations include the affected path.

Attack surface and exploitation prerequisites

DimensionStatus and source
Network accessNot the access vector in the scoring: AV:L is recorded in both vectors [1]
Adjacent networkNot scored; AV:L does not indicate adjacent access [1]
Local accessIndicated by AV:L in both CVSS vectors [1]
Physical accessNot established by the reviewed sources
AuthenticationPR:N in both vectors, meaning no privileges required [1]
User interactionUI:P in the CVSS 4.0 vector (passive user involvement) and UI:R in the CVSS 3.1 vector (user interaction required) [1]
Attack requirementsAT:P in the CVSS 4.0 vector, meaning the attack depends on deployment conditions [1]
Required configurationA CBS-based processing path reached by the crafted input; specific configuration not established by the reviewed sources [1]
Attacker positionMust supply the crafted stream to the FFmpeg process [1]

The scoring indicates local access, but the description says an attacker supplies a crafted stream [1]. These are consistent only if the attacker can place the file where the local process reads it, or if a local service passes network-supplied media to FFmpeg. The pack does not state which applies, so the reachable attack surface in any given deployment is unknown. The vectors do not prove that an exploit is practical; they describe the scorer's assessment of the conditions [1].

Exploitation scenarios and attack lifecycle

Illustrative scenario A: a local user or process supplies a crafted JPEG or MJPEG file to an FFmpeg command that uses a CBS-based filter, causing the process to abort. The impact is a failed job. Defensive opportunities: restrict which processes can receive untrusted media, monitor for repeated abnormal terminations, and run conversion jobs under supervision with restart limits.

Illustrative scenario B: a service that decodes or transcodes user-uploaded media passes uploads to FFmpeg. A crafted upload could repeatedly abort worker processes, degrading availability. The pack does not describe any such service or confirm that this scenario occurs. Defensive opportunities: validate uploads before they reach FFmpeg, limit concurrency, and alert on worker crash rates.

Not documented by any source in the pack: exploitation in the wild, chaining with other flaws, or any post-exploitation outcome beyond process termination [1][2].

Impact analysis

AreaTechnically demonstrated by the recordPlausible downstream consequence (analyst assessment)
ConfidentialityNone scored [1]None expected from the described abort
IntegrityNone scored [1]None expected from the described abort
AvailabilityHigh impact on the affected component per VA:H and A:H [1]Interruption of transcoding or media jobs; service degradation if a shared worker is repeatedly aborted
Authentication and authorizationNot affected per the vectors (PR:N, SC/SI/SA none) [1]None established
Privilege boundariesNot described in the record [1]None established
Data and privacyNot described in the record [1]None established
Business operationsNot described in the recordDepends on whether FFmpeg runs in a production media path
Regulatory or contractualNot established by the reviewed sourcesDepends on organizational contracts for availability

Affected products and versions

VendorProduct or componentAffected versionsPlatform or deploymentFixed versionSource and qualification
FFmpegFFmpeg, including the CBS JPEG path (cbsjpegassemblefragment)Up to and including 9.0.2 [1]Not established by the reviewed sourcesNot published in the packCNA-published range in the CVE record [1]; the record is Awaiting Analysis [1]

The lower bound of the affected range is not stated in the pack, so the record does not establish whether older releases are affected. Distribution packages may backport or patch the code independently, and the pack contains no distribution-specific information. Configuration-specific exposure is not established by the reviewed sources. No known exclusions are listed.

Exploitation and threat intelligence status

Confirmed exploitation in the wild: not established by the reviewed sources. The CISA KEV catalog does not list the CVE as of 2026-11-12 [2]. The catalog's absence is not evidence that exploitation has not occurred [2].

EPSS: the FIRST estimate for the probability of exploitation activity in the next 30 days is 0.0016 (0.16%) with a percentile of 0.0477, dated 2026-11-10 [3]. The EPSS documentation in the pack describes this as a statistical estimate and not evidence of exploitation [3].

Public proof of concept: the reference list includes a VulnCheck advisory and a pull request, but the pack does not state whether either contains exploit code or a proof of concept, and no source attributes threat actors or campaigns to this CVE [1]. Public exploit availability is therefore not established.

Reliability of evidence: the NVD record was Awaiting Analysis at the last modification date, so its classification and scores may change [1]. The KEV status is current as of 2026-11-12 [2]. The EPSS value is dated 2026-11-10 and will change [3].

Indicators of compromise

Not established by the reviewed sources. The pack gives no file hashes, file names, domains, IP addresses, URLs, process names, command lines, log events or network patterns for this CVE [1][2][3]. Analyst note: a process abort caused by this flaw would most likely appear as an abnormal FFmpeg process termination with an assertion message, but the exact message text is not in the pack. Any indicator derived from a future source must be validated against the environment before blocking, because indicators go stale quickly.

Detection and exposure assessment

Asset inventory: identify every host, container image and application bundle that includes FFmpeg libraries or binaries, and record the reported version of each. Distribution packages and vendored copies must be included.

Version check: the standard FFmpeg command ffmpeg -version prints the build and library versions when run with the ffmpeg binary available on the path. It is read-only. Expected output includes a version line for the ffmpeg tool and its libav libraries. Limitation: a version at or below 9.0.2 identifies a version in the affected range [1], but it does not prove the CBS JPEG path is reachable or exploitable, and a distribution build may include a backported fix that the version string does not show.

Configuration check: determine whether any workflow passes JPEG or MJPEG input through a CBS-based filter. The pack does not identify the specific filters, so the reviewer must inspect the local command lines and pipeline definitions.

Log review: search FFmpeg worker and job logs for abnormal termination events and assertion messages around JPEG or MJPEG jobs. The exact log text is not established by the reviewed sources.

Vendor detection guidance: none in the pack.

Immediate mitigation

  1. Restrict untrusted JPEG and MJPEG input from reaching FFmpeg builds at or before 9.0.2. Protects against the described input path [1]. Limitation: the pack does not identify which filters or workflows are affected, so the restriction must be broad until they are identified. Side effect: some media workflows will fail. Verification: confirm that the upstream intake rejects or quarantines JPEG and MJPEG files before they reach FFmpeg, using test files in an isolated environment. Source: this follows from the record's statement that crafted input is the trigger [1]; it is analyst recommendation, not a vendor measure.
  2. Run FFmpeg conversion jobs under process supervision with restart limits and resource limits, so that an assertion abort terminates only one job. Protects availability of the wider service. Limitation: does not prevent the abort. Verification: confirm the supervisor restarts the worker and that repeated crashes trigger an alert. Source: analyst recommendation that follows from the described process-abort behaviour [1].
  3. Limit concurrency and rate for jobs that accept externally supplied media. Reduces the effect of repeated aborts. Side effect: throughput reduction. Verification: check the job queue configuration. Source: analyst recommendation.
  4. Increase monitoring of FFmpeg termination events on hosts that process media. Limitation: no vendor or source-defined signature exists in the pack. Verification: confirm alert rules fire on test termination in an isolated environment. Source: analyst recommendation.

Permanent remediation

Vendor-confirmed fix: not established by the reviewed sources. The pack gives no fixed version, patch identifier or vendor advisory for CVE-2026-125246 [1]. The commit and pull request in the reference list may correspond to a fix, but the pack does not confirm this [1].

Required action: obtain the fixed FFmpeg release or distribution update from the FFmpeg project or your distribution's security channel once it is published, and confirm the fix covers cbsjpegassemblefragment() before closing the issue. Upgrade prerequisites, maintenance windows, rollback planning and restart requirements are not established by the reviewed sources. Standard practice applies: back up the current FFmpeg binaries and libraries, and verify the rollback path, before replacing them.

Recommended hardening beyond the fix: validate untrusted media before it reaches the transcoding stage, as described in the hardening section below. This is analyst recommendation, not vendor guidance.

Workarounds and compensating controls

No vendor workaround is in the pack. The compensating controls in the mitigation section reduce the chance that crafted input reaches FFmpeg and limit the effect of an abort, but they do not remove the defect. Their residual risk is that any path that still reaches the affected code remains exposed, and an unknown CBS-based workflow may be missed. A workaround is not equivalent to a permanent fix, because the code still contains the miscount. The fix must be validated by version and by test once it is available.

Validation and verification

After a fixed build is installed, run the following checks. Each check is necessary but not sufficient on its own.

  1. Confirm the installed version with ffmpeg -version on every host and image, and record the output. A version above 9.0.2 alone does not prove the fix is present, so cross-check against the vendor's fix notice once published.
  2. Confirm the job and pipeline configurations no longer route untrusted JPEG or MJPEG input to the affected path, or that the intake control remains in place.
  3. Run a regression test in an isolated environment with known-safe JPEG and MJPEG samples to confirm normal conversion still works. Do not use crafted or exploit files on production systems.
  4. Review FFmpeg termination events and worker restart counts for at least one full business cycle after the update, and confirm no new abnormal terminations occur.
  5. Confirm the compensating controls remain in place until the fix is verified across all hosts and images.
  6. Record the evidence: the version outputs, the owner, the date, any exceptions, and the scope of hosts covered. Do not treat any single check as proof that a system is secure.

Incident response

Triage: if abnormal FFmpeg terminations or assertion messages occur on media-processing hosts, identify the job inputs, the command lines and the time window. Scope: determine which hosts and services ran the affected jobs. Containment: isolate the affected job queue or worker pool if the terminations are repeated, without deleting the input files or logs. Evidence preservation: copy the logs, job inputs and host configuration before any changes. Log and endpoint investigation: review process termination records and the sequence of input sources. Credential or secret rotation: not indicated by the record, which describes no compromise of confidentiality or integrity [1]. Eradication and patching: apply the vendor fix once published and verified. Recovery and monitoring: restore the service and keep the alert rules in place. Notification and reporting: follow the organization's policy and any contractual availability obligations; the pack does not establish a notification requirement. Lessons learned: record how the untrusted media reached FFmpeg and whether the intake controls were sufficient. Follow the organization's incident response plan throughout, and avoid destructive actions that would erase evidence.

Security hardening and prevention

Secure development (analyst recommendation): add regression tests that feed valid and boundary-case JPEG scan headers with 0xFF stuffing into the CBS JPEG path and confirm that the byte count matches the parsed structure. Code review should check counting logic against the JPEG specification at each use of the assembly routine.

Input validation at the boundary (analyst recommendation): reject malformed JPEG and MJPEG scan headers before they reach the CBS-based path, so that inconsistent counts are reported as errors rather than assertion failures.

Least privilege and isolation (defence-in-depth, analyst recommendation): run FFmpeg for untrusted media in a separate process or container with minimal filesystem access and no network access beyond what the job requires.

Patch and vulnerability management: track FFmpeg releases and the CVE record's status, and re-score the issue when NVD completes its analysis [1].

Logging and alerting: alert on repeated FFmpeg abnormal terminations per job source.

Risk assessment

Technical severity: the secondary scores are CVSS 4.0 5.7 MEDIUM and CVSS 3.1 4.7 MEDIUM, with availability as the only impact dimension [1].

Exposure and asset criticality: depends on whether FFmpeg processes untrusted JPEG or MJPEG input in the organization. Not established by the reviewed sources.

Prerequisites and attacker opportunity: the vectors indicate local access and no privileges required, with user interaction or attack requirements depending on the vector version [1]. Whether an attacker can reach the input path is deployment-specific.

Evidence of exploitation: none confirmed in the pack; KEV does not list the CVE [2]; EPSS is 0.16% [3].

Potential business impact: interruption of media processing jobs. No confidentiality or integrity impact is described [1].

Existing controls and residual risk: none are documented in the pack for the organization. Residual risk remains until a fixed build is verified.

Recommended priority (organization-specific assessment, not a CVSS score; assumptions: FFmpeg processes untrusted media in at least one production path, and no fixed version is available yet): place the item in a medium priority tier, raise it to high if untrusted JPEG or MJPEG input reaches FFmpeg in a service with availability commitments, and track it until the vendor fix is verified. The reasoning rests on the availability-only impact in the record, the low EPSS estimate, the absence of KEV listing, and the unresolved deployment reachability [1][2][3].

Conclusion

The core flaw is a miscount of 0xFF stuffing bytes in JPEG scan headers within cbsjpegassemblefragment() in FFmpeg up to and including 9.0.2, which triggers an assertion abort in CBS-based processing [1]. Teams that run FFmpeg on untrusted media should act first: inventory affected builds and restrict untrusted JPEG and MJPEG input from reaching them [1]. The permanent fix is a vendor-published FFmpeg release or distribution update covering this function, which the pack does not yet identify [1]. Closing the issue requires the fixed version confirmed on every host and image, a regression test on known-safe samples, a review of termination logs after the update, and an updated NVD record or vendor advisory that names the fix [1].

Remediation checklist

  1. Inventory every host, container image and bundled copy of FFmpeg, and record the output of ffmpeg -version for each; flag any version at or below 9.0.2 [1].
  2. Identify every workflow that passes JPEG or MJPEG input to FFmpeg, and list which ones use CBS-based bitstream filters, since the pack does not name them [1].
  3. Restrict untrusted JPEG and MJPEG input from reaching affected FFmpeg builds at the intake stage, and verify with known-safe test files in an isolated environment [1].
  4. Run FFmpeg media jobs under a supervisor with restart and resource limits so that one assertion abort affects only one job; verify by a controlled test job in a non-production environment [1].
  5. Alert on repeated abnormal FFmpeg terminations per job source on media-processing hosts, and verify the alert fires on a controlled test [1].
  6. Monitor the NVD record and the FFmpeg project for a fixed release or vendor advisory that names cbsjpegassemblefragment(); no fixed version is published in the pack [1].
  7. When a fixed build is published, upgrade every inventoried host and image, backing up current binaries and libraries first, and confirm the new version with ffmpeg -version [1].
  8. After the upgrade, run a regression test with known-safe JPEG and MJPEG samples and review termination logs for one full business cycle [1].
  9. Keep compensating controls in place until the fix is verified across all inventoried hosts and images, and record owner, date and exceptions [1].

Evidence gaps

  • Vendor advisory or fixed version: the pack contains no vendor-published fix, patch identifier or fixed version; the FFmpeg project's release notes or the vendor advisory would settle this [1].
  • Complete affected range: only up to and including 9.0.2 is published, with no lower bound; the CVE record's full version history or the FFmpeg release history would establish it [1].
  • Record status: the NVD record is Awaiting Analysis, so NVD scoring and CWE mapping may change; the updated NVD record would settle this [1].
  • Root cause: the record names the function and the miscount but does not explain the defective logic; the upstream commit and pull request content would confirm it, and the pack does not include their content [1].
  • Deployment reachability: the pack does not show which default or common configurations reach the CBS JPEG path, so exposure in any environment is unknown; a configuration review or the vendor's documentation would settle this [1].
  • Attack vector discrepancy: the vectors score local access while the description says crafted streams are supplied; the record does not explain which real input paths exist [1].
  • Exploitation evidence: no confirmed exploitation or public proof-of-concept status is established; the VulnCheck advisory content and any exploit repository would be needed [1][2].
  • Indicators: the pack gives no file hashes, log text, process names or network patterns; a vendor advisory or the scanner vendor's detection content would be needed, and any indicators must be validated before use [1].
  • Distribution backports: the pack has no information on whether Linux distributions or other packagers have released fixes or backported patches; their security advisories would settle this.

References

  1. CVE-2026-125246 record. NIST National Vulnerability Database (NVD), 2026-11-10. https://nvd.nist.gov/vuln/detail/CVE-2026-125246. Accessed 2026-11-12. CVE identity, official description of the flaw and affected component, record status and dates, CNA-published affected version range, CVSS 4.0 and 3.1 scores, vectors and secondary scorer, CWE-617 mapping, vector-based prerequisites and impact, reference list identifiers, and the absence of a vendor
  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. Not listed in the CISA KEV catalog as of 2026-11-12, with the catalog's own caveat that absence does not prove the CVE is unexploited.
  3. EPSS score for CVE-2026-125246. FIRST, 2026-11-10. https://api.first.org/data/v1/epss?cve=CVE-2026-125246. Accessed 2026-11-12. FIRST EPSS estimate of 0.0016 (0.16%) with percentile 0.0477, dated 2026-11-10, and FIRST's note 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 denial of service vulnerability in cbs_jpeg_assemble_fragment() that miscounts 0xff stuffing bytes in JPEG scan headers. Attackers can supply a crafted JPEG/MJPEG stream with 0xff in the scan header, triggering an av_assert0 abort when CBS-based bitstream filters process it.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

Medium · 5.7 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, but only under specific conditions.

Attack from
local access (a logged-in user, or a malicious file opened on the device)
Attack complexity
high (only works under specific conditions)
Special conditions
only in some setups or conditions
Login needed
no
User action needed
yes, a user must view or visit something
Impact
high on availability, none on confidentiality and integrity
Impact on other systems
none

Vector CVSS:4.0/AV:L/AC:H/AT:P/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 4.7 from the CNA (vulncheck.com): CVSS:3.1/AV:L/AC:H/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-125246?

CVE-2026-125246 is a denial-of-service flaw in FFmpeg up to and including 9.0.2, in the cbsjpegassemblefragment() routine, where 0xFF stuffing bytes in a JPEG scan header are counted incorrectly, leading to an assertion abort. Weakness type: Reachable Assertion (CWE-617).

How severe is CVE-2026-125246?

CVE-2026-125246 has a CVSS 4.0 base score of 5.7 (medium), from the CNA (vulncheck.com). An attacker without an account can exploit this with local access if a user views or visits something, but only under specific conditions.

Is CVE-2026-125246 being exploited?

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

FFmpeg ≤ 9.0.2.

How do I fix CVE-2026-125246?

Inventory every host, container image and bundled copy of FFmpeg, and record the output of ffmpeg -version for each; flag any version at or below 9.0.2. Identify every workflow that passes JPEG or MJPEG input to FFmpeg, and list which ones use CBS-based bitstream filters, since the pack does not name them. Restrict untrusted JPEG and MJPEG input from reaching affected FFmpeg builds at the intake stage, and verify with known-safe test files in an isolated environment.

Timeline & sources

References