Home › CVE › Vulnerabilities
CVE-2026-125216 — FFmpeg
One of 121 FFmpeg vulnerabilities published together by NVD.
VulnerabilitiesResearch article
FFmpeg DPX encoder NULL pointer dereference (CVE-2026-125216) causes denial of service via 12-bit RGB input
| CVE | CVE-2026-125216 |
|---|---|
| Vendor and product | FFmpeg |
| Published | November 12, 2026 07:11 UTC |
| Research cut-off | November 12, 2026 05:56 UTC |
| Sources reviewed | 3: NVD record (last modified 2026-11-10); CISA KEV catalog; FIRST EPSS (2026-11-10) |
Executive summary
CVE-2026-125216 is a NULL pointer dereference in the DPX encoder of FFmpeg (libavcodec/dpxenc.c) that can crash the process, producing denial of service [1]. Secondary scorer VulnCheck rated it CVSS 3.1 5.5 MEDIUM (vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H) and CVSS 4.0 6.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) [1]. The CVE record lists FFmpeg through 9.0.2 as affected, and the reviewed sources do not show a fixed version [1]. Exploitation requires an attacker-supplied 12-bit RGB image, such as a JPEG 2000 file, to be transcoded to DPX output so the RGB48 path is selected [1]. The CVE is not in the CISA KEV catalog as of 2026-11-12, which is not evidence of non-exploitation [2]. The FIRST EPSS estimate is 0.0016 (0.17%) with percentile 0.0573, a statistical estimate and not evidence of exploitation [3]. The NVD record is still Awaiting Analysis, so NVD's own scoring is pending [1]. The most important immediate action is to inventory FFmpeg builds and stop routing untrusted 12-bit RGB inputs to DPX output, or isolate that conversion, until a vendor-confirmed fix is verified [1].
Key points
- CVE-2026-125216 is a NULL pointer dereference (CWE-476) in the FFmpeg DPX encoder that the record links to 12-bit RGB input, causing denial of service [1].
- Scores are CVSS 3.1 5.5 MEDIUM and CVSS 4.0 6.8 MEDIUM, both from a secondary scorer, with NVD analysis still pending [1].
- FFmpeg through 9.0.2 is listed as affected; no fixed version or vendor advisory is in the reviewed sources [1].
- The CVE is not in the CISA KEV catalog as of 2026-11-12, which does not rule out exploitation [2].
- EPSS is 0.0016 (0.17%), a statistical estimate and not evidence of exploitation [3].
- Immediate actions are inventory, restricting untrusted 12-bit RGB to DPX conversion, and isolating conversion workers [1].
Vulnerability identification
| Attribute | Value | Source |
|---|---|---|
| CVE ID | CVE-2026-125216 | [1] |
| Vendor / CNA-published product | FFmpeg | [1] |
| Component | libavcodec, DPX encoder source file dpxenc.c | [1] |
| Affected platform | Not established by the reviewed sources beyond the FFmpeg project itself | [1] |
| Published | 2026-11-09T19:16:58 | [1] |
| Last modified | 2026-11-10T21:46:30 | [1] |
| Record status | Awaiting Analysis | [1] |
| CWE | CWE-476, NULL Pointer Dereference | [1] |
| CVSS 4.0 | 6.8 MEDIUM, CVSS:4.0 vector as listed in the executive summary; scored by disclosure@vulncheck.com (Secondary) | [1] |
| CVSS 3.1 | 5.5 MEDIUM, CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H; scored by disclosure@vulncheck.com (Secondary) | [1] |
| KEV status | Not listed as of 2026-11-12 | [2] |
| EPSS | 0.0016 (0.17%), percentile 0.0573, dated 2026-11-10 | [3] |
CWE-476 means the software dereferences a pointer that has the value NULL, so the process attempts an invalid memory access and typically terminates [1]. The record's CWE classification is the only one in the pack. Both CVSS scores were produced by a secondary scorer rather than NIST, and NVD's own analysis is not yet present [1]. The CVSS 4.0 vector contains many Modified (M-prefixed) and supplemental metrics set to X (not defined), so it reflects the base metrics only [1]. The record's reference list includes a pull request, a commit, a line-anchored view of the source file at the 9.0.2 tag, and a VulnCheck advisory, but the reviewed sources provide only the URLs and no extracted content for them [1]. No vendor advisory, GitHub Security Advisory or related CVE identifier is included in the pack [1, 2].
Technical background
FFmpeg is an open-source multimedia framework. Its libavcodec library contains the codecs that decode and encode audio and video streams. DPX (Digital Picture Exchange) is an image format used in film and post-production workflows, and the DPX encoder converts decoded frames into that format. The affected file, libavcodec/dpxenc.c, is therefore the code that writes DPX output [1].
RGB48 is a pixel layout with three colour channels at 16 bits each in the decoded representation, while the bits-per-raw-sample field records how many of those bits carry real picture data. A 12-bit RGB source therefore carries 12 meaningful bits per channel. The encoder uses this field to choose a specific conversion routine, here encodegbrp12(), which handles planar green, blue and red data at 12 bits [1]. Planar means each colour channel is stored in its own plane (buffer), so the routine must correctly obtain a pointer to every plane before reading pixel data.
Trust boundary: the image data is untrusted input that arrives from a file or stream, while the bits-per-raw-sample value is derived from the input's properties. The security question is whether the encoder validates the derived values before selecting a routine that assumes its planes are allocated [S1, analyst assessment].
Vulnerability description
The CVE record states that FFmpeg through 9.0.2 contains a NULL pointer dereference in the DPX encoder that allows an attacker to crash the process by supplying an unvalidated bits-per-raw-sample value for RGB48 input [1]. The record gives a concrete path: a 12-bit RGB image, such as a JPEG 2000 file, transcoded to DPX selects the 12-bit routine, which dereferences NULL plane pointers [1].
Security property violated: availability. The record describes a crash and denial of service and does not describe memory disclosure, memory corruption, code execution or privilege change [1]. What the vulnerability does not establish, based on the evidence: the record does not claim code execution, information disclosure or integrity loss, and the CVSS 3.1 and 4.0 vectors set confidentiality and integrity impacts to none, with only availability impact high [1].
Conditions for relevance: the affected FFmpeg build must be at or below 9.0.2 according to the record, the process must receive a 12-bit RGB source and be asked to write DPX output, and the process must reach the encoder code path [1]. The record does not state whether a default build is affected or whether a particular configuration or codec option is required, so that is not established by the reviewed sources.
Root cause analysis
Confirmed (from the CVE record): the flaw is a NULL pointer dereference in libavcodec/dpxenc.c, and the record attributes it to an unvalidated bits-per-raw-sample value for RGB48 input [1].
Analyst assessment: the likely design error is that the encoder selects a 12-bit conversion routine based on the input's declared bit depth without confirming that the plane pointers required by that routine have been set up for that depth. The record's description of NULL plane pointers implies that allocation or assignment for the chosen path was skipped or bypassed, which is consistent with a missing validation or dispatch check [1]. This is an inference from the description, not a confirmed code-level explanation.
Why existing controls may fail: a NULL dereference in C code is not caught by the language runtime. Unless the encoder checks pointers before use or validates that the bit depth combination is supported, the fault occurs at runtime [analyst assessment].
Not established by the reviewed sources: the exact line of code, the commit that introduced the flaw, and whether the referenced commit corrects it. The record lists a commit and pull request, but their content was not provided [1].
Technical mechanics
- The FFmpeg process receives an input image whose pixel format is RGB at high bit depth, such as a 12-bit RGB image carried in a JPEG 2000 container [1].
- The decoder produces frames with a declared bits-per-raw-sample value of 12 for the RGB48 pixel layout [S1, analyst assessment on the mapping].
- The user or pipeline requests DPX output, so the DPX encoder in libavcodec/dpxenc.c handles the frames [1].
- The encoder uses the bits-per-raw-sample value to select the encodegbrp12() routine [1].
- Per the record, the routine reads plane pointers that are NULL for this path, because the value was not validated before selection [S1, analyst assessment on the exact cause].
- The dereference causes a fault, and the process terminates or is aborted, producing denial of service [1].
Security control that should have prevented this: validation of the bit-depth and pixel-format combination before dispatching to the routine, and a NULL check or assured allocation of the plane pointers before use. Whether either control exists in the affected code is not established by the reviewed sources [analyst assessment].
Illustrative only: a conversion service that accepts user uploads and writes DPX would be exposed at the point where the upload's pixel properties reach the encoder, and an unhandled crash would end that worker process.
Attack surface and exploitation prerequisites
| Prerequisite | Assessment | Source |
|---|---|---|
| Network access | Not stated in the record; the CVSS 3.1 and 4.0 vectors set attack vector to Local (AV:L) | [1] |
| Adjacent-network access | Not indicated by the vectors | [1] |
| Local access | Indicated by AV:L in both vectors | [1] |
| Physical access | Not indicated | [1] |
| Authentication | None required per PR:N in both vectors | [1] |
| Privileges | None required per PR:N | [1] |
| User interaction | Required per UI:R (CVSS 3.1) and UI:P (CVSS 4.0), so the vectors describe user involvement | [1] |
| Required configuration | DPX output must be selected for 12-bit RGB input; the record does not state a configuration option, so this is taken from the description | [1] |
| Reachable interface | The FFmpeg command-line tool or any application that embeds the libavcodec encoder and accepts untrusted images | [S1, analyst assessment] |
| Environmental dependencies | Affected build must be at or below 9.0.2 per the record; distribution builds may differ and are not reviewed | [1] |
The vectors indicate local attack vector with user interaction, but the description describes supplying an image to a transcoding path. Whether a network-facing service that transcodes uploads would be reachable is not established by the reviewed sources. Exploitability should not be inferred from the vector alone. The record has no proof-of-concept content, and S1 does not state how the vector was derived [1].
Exploitation scenarios and attack lifecycle
Illustrative scenario A (local user): a user with ordinary file access converts an untrusted 12-bit RGB image to DPX on a workstation, causing the FFmpeg process to crash. Impact is limited to that process and the user's own work. Defensive opportunity: restrict conversion of untrusted files to isolated accounts and detect abnormal termination.
Illustrative scenario B (service pipeline): an online media service accepts uploaded images and runs FFmpeg to produce DPX files for downstream post-production. An attacker submits crafted 12-bit RGB images repeatedly, causing repeated worker crashes and degraded service. Impact is availability only, as the record describes. Defensive opportunity: validate input properties before conversion, run each job in a supervised worker with rate limits, and alert on repeated crashes [analyst assessment].
No source documents an exploitation chain, post-exploitation activity, or threat actor usage. The record describes only a crash [1, 2].
Impact analysis
| Area | Technically demonstrated (per record) | Plausible downstream consequence (analyst assessment) |
|---|---|---|
| Confidentiality | None stated; CVSS sets C:N in both vectors | Not expected from the described fault |
| Integrity | None stated; CVSS sets I:N in both vectors | Not expected from the described fault |
| Availability | High, per A:H and VA:H; process crash described | Failed conversion jobs, queue backlog and service interruption in pipelines |
| Authentication and authorization | Not affected per the record | None identified |
| Privilege boundaries | Not stated | Not established by the reviewed sources |
| Data and privacy | Not stated | Not established; a crash may leave partial output files, which should be checked in the affected workflow |
| Business operations | Not stated | Missed deliveries in media production workflows that depend on DPX output |
| Regulatory or contractual | Not stated | Only where contracts specify availability service levels |
Affected products and versions
| Vendor | Product / component | Affected versions | Platform | Fixed version | Source and qualification |
|---|---|---|---|---|---|
| FFmpeg | libavcodec DPX encoder (dpxenc.c) | Through 9.0.2 (record states affected at or below 9.0.2) | Not stated | Not established by the reviewed sources | [1]; vendor-published range from the CVE record, not confirmed by a vendor advisory in the pack |
The record gives a single upper bound and no lower bound, so the earliest affected version is not established by the reviewed sources. Distribution packages, static builds, and applications that embed libavcodec may carry different code and versions, and none are reviewed [1]. The listed commit is associated with the record but its effect on the version range is not described [1].
Exploitation and threat intelligence status
Confirmed exploitation in the wild: not established by the reviewed sources. The CISA KEV catalog did not list the CVE as of 2026-11-12, but the catalog check is not evidence that exploitation has not occurred [2].
Public proof of concept: not established by the reviewed sources. The record references a VulnCheck advisory and a pull request, but their content was not provided, so it cannot be said whether public technical detail or test material exists [1].
EPSS: 0.0016 (0.17%) estimated probability of exploitation activity in the next 30 days, with percentile 0.0573, dated 2026-11-10. This is a statistical model estimate and does not confirm exploitation [3].
Threat actors, campaigns and sectors: not established by the reviewed sources. The absence of public evidence is not proof that exploitation has not occurred.
Source reliability: the record is Awaiting Analysis, and both CVSS scores are from a secondary scorer; the KEV and EPSS data were current as of their stated dates [1, 2, 3].
Indicators of compromise
Not established by the reviewed sources. The pack contains no file hashes, file names, domains, IP addresses, URLs, process command lines or log events related to exploitation of this CVE [1, 2, 3]. Analyst note: a practical signal would be abnormal termination of FFmpeg processes with a memory access fault, but no source ties a specific log format or exit signature to this flaw, so it should be treated as a monitoring idea and not as an indicator. Indicators go stale and must be validated against local telemetry before any blocking decision.
Detection and exposure assessment
- Asset inventory: list every host, container image and application bundle that includes FFmpeg or libavcodec, including static and vendor-built binaries. Prerequisite: access to the image and host inventory. Limitation: libraries embedded in other applications will not appear in a PATH search [analyst assessment].
- Version check on systems with FFmpeg on PATH: run the command ffmpeg -version in a shell. Expected output includes a version banner with the FFmpeg version and the build's library versions. Limitation: a version at or below 9.0.2 indicates the record's stated range applies, but it is not proof of exploitability, and distribution builds may backport fixes that a version string does not show [S1, analyst assessment].
- Pipeline review: identify any job, script or service that runs FFmpeg with DPX as the output format and accepts external input. Prerequisite: configuration and source review. Expected result: a list of exposed workflows [analyst assessment].
- Authenticated vulnerability scanning: no scanner plugin or check identifier for this CVE is in the pack, so the scanner's coverage is not established [1].
- Log and telemetry review: look for FFmpeg processes terminated by a fault signal, and for job failures correlated with DPX conversion of external inputs. Limitation: the record does not define a log signature [S1, analyst assessment].
- Endpoint and network monitoring: no network pattern is documented, so network detection is not established by the reviewed sources.
Immediate mitigation
- Restrict conversion of untrusted inputs to DPX output. Protects against the described trigger. Limitation: it may break legitimate DPX workflows. Operational side effect: delayed or rejected jobs. Verification: review the job definitions and command lines to confirm no external input reaches DPX output without review. Basis: follows from the record's description of the trigger [S1, analyst assessment].
- Isolate conversion workers. Run FFmpeg in a separate, resource-limited worker process or container that is restarted automatically after failure, so a crash affects one job. Limitation: it contains availability impact but does not remove the flaw. Verification: confirm the crash of a single worker does not stop the queue, by reviewing the supervisor configuration. Basis: analyst assessment following from the described availability impact [1].
- Validate input properties before conversion. Reject or route for review any input whose decoded pixel format is 12-bit RGB when DPX output is requested, using the input analysis output of the probe tool. Limitation: the record does not confirm which pixel-format checks would prevent the path, so the check must be tested against the local build before deployment. Verification: confirm the rule with the pipeline's own test files that the team is authorized to use [analyst assessment].
- Remove public exposure of conversion endpoints that accept untrusted media until a fixed version is deployed, and limit authenticated users. Basis: analyst assessment.
- Increase monitoring of worker crashes and queue depth, with alerts on repeated failures from the same source. Basis: analyst assessment.
Permanent remediation
Vendor-confirmed fix: not established by the reviewed sources. The pack contains no FFmpeg advisory, release note or fixed version [1, 2].
The record lists a commit and a pull request, both in the FFmpeg project's repositories [1]. Whether either is the fix, and which release includes it, is not established by the reviewed sources, so no version number can be given as the remediation target.
Recommended action: when the FFmpeg project or the distribution publishes a fixed version or backport for the DPX encoder, upgrade every inventoried installation to that version, or rebuild from a source tree that contains the fix, and confirm the installed build contains the correction using the release notes. Prerequisites: test the build against a copy of the production conversion workload. Backup and rollback: keep the previous binary or container image until the new build has passed the workload test. Restart: the affected worker processes must be restarted to load the new binary [analyst assessment]. Post-update configuration changes: none documented in the reviewed sources.
Workarounds and compensating controls
Supported vendor workaround: not established by the reviewed sources.
Compensating controls: the mitigations above reduce exposure but do not correct the NULL dereference. Input restriction and process isolation limit the impact of a crash, and monitoring shortens detection time. Their residual risk is that a crafted input could still reach the flawed code path if validation is incomplete, and that isolation only limits blast radius [analyst assessment]. A workaround is not equivalent to a permanent fix until the fixed build is deployed and verified.
Validation and verification
- Confirm the installed version or build: run ffmpeg -version on each host and container, and record the output with the host name and date.
- Confirm the fixed build: compare the installed version with the version named in the vendor or distribution fix once published, and check the build's source revision if the package provides one. Not possible until a fix is identified [1].
- Confirm the DPX conversion workflows: verify the job definitions no longer route untrusted 12-bit RGB inputs to DPX output, or that the isolation and validation controls are in place.
- Re-run the vendor or scanner check: no check is in the pack, so use the organization's approved scanner once coverage is confirmed.
- Review logs and service health: confirm worker crashes have stopped or are contained, and that queue processing is normal over a defined period.
- Confirm compensating controls remain where needed until the fixed build is deployed everywhere.
- Record evidence, owner, date and any exceptions. A single check does not establish that a system is secure.
Incident response
If repeated or unexplained crashes of FFmpeg conversion processes are seen, treat them as an incident to investigate: triage the affected services and hosts, determine whether the crashed jobs received external 12-bit RGB inputs, and preserve the worker logs, job inputs and output files without deleting them. Containment: isolate the affected conversion service from untrusted submissions. Eradication: patch to a verified fixed build once available. Recovery: restore queue processing and monitor crash rates. Credential rotation: not indicated by the record, since no confidentiality or integrity impact is described [1]. Notification: follow the organization's obligations and contract terms if service levels are breached. Follow the organization's incident response plan; no source documents an attack chain requiring other actions.
Security hardening and prevention
Secure development (defence-in-depth, broader than this flaw): add pixel-format and bit-depth validation at every dispatch point in the encoder, require NULL checks or guaranteed allocation before plane access, and add regression tests for 12-bit RGB inputs to each output format. The record does not state whether such controls exist in the affected code, so these are recommended to the FFmpeg project and downstream maintainers [analyst assessment].
Input handling: treat all media files from outside the trust boundary as untrusted and validate their decoded properties before conversion. Isolation: run conversion in sandboxed, resource-limited workers that restart after failure. Monitoring: alert on worker termination by fault signal. Patch management: maintain an inventory of FFmpeg builds and their versions, including embedded copies, so future fixes can be deployed quickly.
Risk assessment
Technical severity: the record shows a crash-based denial of service with no confidentiality or integrity impact. Scores are 5.5 MEDIUM under CVSS 3.1 and 6.8 MEDIUM under CVSS 4.0, both from a secondary scorer, and NVD analysis is pending [1].
Exposure and asset criticality: depends on whether the organization runs FFmpeg for untrusted media conversion, which is not established by the reviewed sources. Internal-only workflows that handle trusted media present less risk [analyst assessment].
Exploit prerequisites and opportunity: the vectors indicate local access and user interaction, while the description suggests a file-based trigger. Exploitability in service pipelines is not established [1].
Evidence of exploitation: none confirmed. KEV did not list the CVE as of 2026-11-12, and EPSS is 0.0016 [2, 3].
Business impact: availability disruption to conversion pipelines, with consequences depending on workflow criticality [analyst assessment].
Existing controls and residual risk: unknown without the organization's inputs. Residual risk remains until a verified fixed build is deployed.
Recommended priority (analyst assessment, not a CVSS score): inventory and version-check now, then restrict untrusted DPX conversion for any internet-facing or multi-tenant service, and schedule the upgrade once a fix is published. Assumptions: FFmpeg is present in the environment and processes external media. This priority is not the CVSS score.
Conclusion
CVE-2026-125216 is a NULL pointer dereference in the FFmpeg DPX encoder that the record links to an unvalidated bits-per-raw-sample value for 12-bit RGB input, causing denial of service [1]. Teams that operate FFmpeg with untrusted media, or that embed libavcodec, should act first: inventory the builds, restrict DPX conversion of untrusted 12-bit RGB inputs, and isolate workers [S1, analyst assessment]. The permanent fix is a vendor-confirmed FFmpeg or distribution build containing the correction, which is not yet identified in the reviewed sources [1]. Closing the issue requires the fixed version identified, evidence that every inventoried installation runs it, verification that the workflow controls are in place, and a clean monitoring period [analyst assessment].
Remediation checklist
- Inventory every FFmpeg installation, container image and embedded libavcodec copy, and run ffmpeg -version on each host to record the version, since the record lists FFmpeg through 9.0.2 as affected [1].
- Identify pipelines, jobs and services that accept external images and request DPX output, and review their command lines to confirm which inputs reach the encoder [1].
- Restrict routing of untrusted 12-bit RGB inputs to DPX output, or require review first, and verify the job definitions reflect this change [S1, analyst assessment].
- Run FFmpeg conversions in isolated, resource-limited workers that restart after failure, and verify that one crashed job does not halt the queue [analyst assessment].
- Add alerts for FFmpeg worker termination by fault signal and for repeated failures from the same submission source, and verify the alerts fire in the monitoring system [analyst assessment].
- Remove public or multi-tenant exposure of conversion endpoints that accept untrusted media until a fixed build is deployed, and verify through the gateway configuration [analyst assessment].
- Track the FFmpeg project and your distribution for a fix to the DPX encoder; the record lists a commit and pull request, but whether they are the fix is not established [1].
- When a fixed build is published, upgrade every inventoried installation, restart the affected workers, and verify the installed build against the release notes [analyst assessment].
- Keep the previous binary or image until the new build passes a test with a copy of the production workload, to support rollback [analyst assessment].
- Re-check the NVD record for completed analysis and revised scores, and update the risk rating when they change [1].
- Record the evidence, owner, date and any exceptions for each host, and keep compensating controls in place until the fixed version is confirmed everywhere [analyst assessment].
Evidence gaps
- Vendor advisory or release note from FFmpeg identifying a fix, a fixed version, and the release that includes it; needed to define the permanent remediation target [1].
- Complete affected version range, including the earliest affected version and whether distribution builds differ; the record gives only an upper bound of 9.0.2 [1].
- Confirmation of the root cause at code level, including whether the referenced commit corrects the flaw; the record lists it but the content was not provided [1].
- NVD's own CVSS analysis and CWE review, which are pending because the record is Awaiting Analysis [1].
- Content of the VulnCheck advisory and the pull request referenced in the record, needed to confirm the trigger and any fix details [1].
- Confirmation of whether a default or common configuration reaches the affected code path, and whether a network-facing service is reachable; the vectors indicate local access and user interaction [1].
- Evidence of exploitation in the wild, threat actor attribution and public proof-of-concept availability; none is in the reviewed sources [2, 3].
- Indicators of compromise or log signatures tied to this flaw; none are in the reviewed sources [1, 2, 3].
- Distribution advisories for packaged FFmpeg builds, which may backport fixes and change the version check result; none are in the reviewed sources [1].
References
- CVE-2026-125216 record. NIST National Vulnerability Database (NVD), 2026-11-10. https://nvd.nist.gov/vuln/detail/CVE-2026-125216. Accessed 2026-11-12.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-12. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-12.
- EPSS score for CVE-2026-125216. FIRST, 2026-11-10. https://api.first.org/data/v1/epss?cve=CVE-2026-125216. Accessed 2026-11-12.
Summary
FFmpeg through 9.0.2 contains a NULL pointer dereference vulnerability in libavcodec/dpxenc.c that allows attackers to crash the process via unvalidated bits_per_raw_sample for RGB48 input. Attackers can supply a 12-bit RGB image, such as JPEG 2000, that when transcoded to DPX selects encode_gbrp12() and dereferences NULL plane pointers, causing denial of service.
Severity breakdown
Medium · 6.8
An attacker without an account can exploit this with local access if a user views or visits something.
- Attack from
- local access (a logged-in user, or a malicious file opened on the device)
- Attack complexity
- low (no special conditions)
- Special conditions
- none
- Login needed
- no
- User action needed
- yes, a user must view or visit something
- Impact
- high on availability, none on confidentiality and integrity
- Impact on other systems
- none
Weakness
- CWE-476: NULL Pointer Dereference
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| FFmpeg | ≤ 9.0.2 | — |
References by type
Patches and fixed releases
Other references
Affected
- FFmpeg
Frequently asked questions
What is CVE-2026-125216?
CVE-2026-125216 is a NULL pointer dereference in the DPX encoder of FFmpeg (libavcodec/dpxenc.c) that can crash the process, producing denial of service. Weakness type: NULL Pointer Dereference (CWE-476).
How severe is CVE-2026-125216?
CVE-2026-125216 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-125216 being exploited?
Not as far as is known: CVE-2026-125216 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-125216?
FFmpeg ≤ 9.0.2.
How do I fix CVE-2026-125216?
Inventory every FFmpeg installation, container image and embedded libavcodec copy, and run ffmpeg -version on each host to record the version, since the record lists FFmpeg through 9.0.2 as affected. Identify pipelines, jobs and services that accept external images and request DPX output, and review their command lines to confirm which inputs reach the encoder. Restrict routing of untrusted 12-bit RGB inputs to DPX output, or require review first, and verify the job definitions reflect this change [S1, analyst assessment].