Home › CVE › Vulnerabilities
CVE-2026-125196 — FFmpeg
One of 121 FFmpeg vulnerabilities published together by NVD.
VulnerabilitiesResearch article
FFmpeg heap buffer overflow in the liboapv APV encoder wrapper (CVE-2026-125196)
| CVE | CVE-2026-125196 |
|---|---|
| Vendor and product | FFmpeg |
| Published | November 12, 2026 08:40 UTC |
| Research cut-off | November 12, 2026 07:21 UTC |
| Updated | November 25, 2026 17:35 UTC |
| Sources reviewed | 3: NVD record (last modified 2026-11-10); CISA KEV catalog; FIRST EPSS (2026-11-10) |
Update — November 25, 2026
- NVD finished its analysis of this CVE. (NVD record)
- NVD scored it CVSS 3.1 7.8 (High): CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. (NVD record)
- A fix is now listed: code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25416.
Executive summary
CVE-2026-125196 is a heap-based buffer overflow (CWE-122) in liboapveencode() in libavcodec/liboapvenc.c of FFmpeg, as described in the CVE record [1]. The record's secondary scorer, VulnCheck, assigns CVSS 4.0 7.3 HIGH (vector CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X) and CVSS 3.1 7.0 HIGH (vector CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H) [1]. The CNA lists FFmpeg versions 8.0 through 9.0.2 as affected [1]. Exploitation requires a local attacker to supply crafted media, a user interaction, and an encode path that transcodes to APV without rescaling [1]. The CVE is not in the CISA KEV catalog as of 2026-11-12 [2], and the FIRST EPSS estimate is 0.0014 (0.14%) for the next 30 days [3]; neither is evidence of exploitation or its absence. The record is still Awaiting Analysis, and the sources do not establish a fixed FFmpeg version, so the most urgent defensive step is to inventory FFmpeg builds in the affected range that include the APV encoder and to stop transcoding untrusted media to APV until a fixed build is verified.
Key points
- CVE-2026-125196 is a heap-based buffer overflow (CWE-122) in liboapveencode() in FFmpeg, with the CNA listing versions 8.0 through 9.0.2 as affected [1].
- Secondary scorer VulnCheck rates it CVSS 4.0 7.3 HIGH and CVSS 3.1 7.0 HIGH; the record is still Awaiting Analysis [1].
- The described path needs a crafted video with a mid-stream resolution change, transcoded to APV without rescaling, and local access with user interaction [1].
- The CVE is not in CISA KEV as of 2026-11-12 [2]; EPSS is 0.0014 for 30 days [3]. Neither shows whether exploitation has occurred.
- No fixed FFmpeg version or vendor advisory is established by the reviewed sources; mitigation is the immediate priority [1].
Vulnerability identification
| Field | Value | Source |
|---|---|---|
| CVE ID | CVE-2026-125196 | [1] |
| Vendor | FFmpeg project | [1] |
| Product / component | FFmpeg; the liboapveencode() function in libavcodec/liboapvenc.c | [1] |
| Affected platform | Not established by the reviewed sources beyond FFmpeg builds that include the APV encoder wrapper | [1] |
| Published | 2026-11-09T19:16:55 | [1] |
| Last modified | 2026-11-10T21:46:33 | [1] |
| Record status | Awaiting Analysis | [1] |
| CWE | CWE-122, Heap-based Buffer Overflow | [1] |
| CVSS 4.0 | 7.3 HIGH; CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X; scored by disclosure@vulncheck.com (Secondary) | [1] |
| CVSS 3.1 | 7.0 HIGH; CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H; scored by disclosure@vulncheck.com (Secondary) | [1] |
| Related identifiers | A VulnCheck advisory, a FFmpeg pull request (code.ffmpeg.org pulls 25416), and a GitHub commit are listed as references. No bug tracker identifier or patch identifier is stated in the pack. | [1] |
All CVSS scores in the pack come from a single secondary scorer; the pack contains no NVD-generated score and no vendor score. Because the record is Awaiting Analysis, NVD's own assessment is not yet available in the reviewed sources [1]. The CVSS 4.0 vector includes threat, environmental and supplemental metric groups set to X (not defined), so it reflects the base metrics only [1].
Technical background
FFmpeg is an open-source multimedia framework whose libavcodec library provides encoders and decoders for audio and video formats [1]. An encoder converts raw decoded frames into a compressed bitstream. In this record the affected code is a wrapper around an APV encoder: the wrapper translates FFmpeg's internal frame representation into the buffers expected by an external APV encoding library, and then passes them on [1]. APV is named in the record as the target format; the sources do not describe its internal design.
Two terms matter for this issue. A heap buffer is memory allocated dynamically at runtime, and a heap buffer overflow happens when a write goes past the end of such an allocation and corrupts adjacent memory [1]. The wrapper stores pixel data in image buffer structures (described in the record as imgb plane buffers) that are sized from the encoder configuration [1]. The trust boundary here is between the media content, which is attacker-controllable input, and the encoder, which trusts that frame geometry matches what it was configured for.
Transcoding means decoding an input file and re-encoding it into another format. Rescaling means resizing frames to the dimensions the encoder was configured with. The record explicitly ties the exploit path to transcoding without rescaling [1].
Vulnerability description
The CVE record states that FFmpeg through 9.0.2 contains a heap buffer overflow in liboapveencode() that can corrupt heap memory [1]. The attacker-controlled input is a video whose resolution changes partway through the stream. When such a video is transcoded to APV and not rescaled, frames larger than the encoder was configured for lead to writes beyond the imgb plane buffers, which place attacker-chosen pixel data outside their allocation [1].
The security property violated is memory safety, specifically the integrity of heap memory. The record describes corruption of heap memory and attacker-controlled data written past buffer bounds [1]. The sources do not state whether the corruption leads to code execution, information disclosure or only a crash. Those outcomes are therefore not established by the reviewed sources.
The conditions that make the flaw matter are: the FFmpeg build includes the APV encoder wrapper; the version is within the affected range; the input media has a mid-stream resolution change; and the transcoding path targets APV without rescaling [1]. The record does not establish that the flaw can be triggered by default in every build, nor whether a remote delivery path (for example, a network service that transcodes uploads) exists in any product.
Root cause analysis
The root cause is not disclosed in the reviewed sources beyond the CWE classification and the description. The record links the vulnerable code at the 9.0.2 release tag, a pull request and a commit, but the content of those pages is not part of the pack, so the specific fix is not established by the reviewed sources [1].
Analyst assessment: the description points to a size assumption. The buffers are allocated according to the encoder's configured dimensions, while the frame dimensions coming from the decoded input are not checked against those dimensions before the copy into the plane buffers. Because resolution can change mid-stream, a frame later in the stream can exceed the original allocation. This would be consistent with CWE-122, but the specific validation point, the copy routine and the missing check have not been confirmed by a source in the pack.
Why existing controls may fail: the transcoding pipeline can accept a stream that changes resolution, and the rescaling step that would normalize frame size is optional on the path described [1]. A control that depends on the user or pipeline configuration to insert rescaling is not a sufficient memory-safety boundary on its own. Analyst assessment only.
Technical mechanics
The following numbered flow is an Illustrative conceptual model based on the record's description. It is not a confirmed trace of the code.
- The application opens an input media file and the demuxer and decoder produce successive frames [1].
- The stream's resolution changes partway through, so later frames are larger than the initial frame size [1].
- The transcoding command selects APV as the output and does not insert a rescaling step [1].
- The APV wrapper in liboapveencode() receives a frame and copies its pixel planes into imgb plane buffers sized for the configured encoder dimensions [S1, analyst assessment on the copy step].
- Because the frame is larger than the buffer, the copy writes past the end of the allocation and corrupts adjacent heap memory [1].
- The control that should have prevented this is a bounds check that compares each incoming frame's dimensions with the allocated buffer size before the copy, or a mandatory rescale to the configured size. The sources do not confirm which check is missing [1].
Input stream (resolution changes mid-stream)
|
v
Decoder -> raw frame (larger than configured size)
|
v
liboapveencode() wrapper
| (missing: frame size vs. imgb allocation check)
v
Copy into imgb plane buffers -> write past allocation -> heap corruption
Attack surface and exploitation prerequisites
| Prerequisite | Known from the record? | Detail | Source |
|---|---|---|---|
| Access vector | Yes (vector and description) | Local (AV:L in both CVSS vectors); the record describes attacker-crafted input files, so the reviewed sources do not establish a remote delivery path | [1] |
| Adjacent network / physical | Not established | Not stated in the record | [1] |
| Authentication | Yes (vector) | No privileges required (PR:N) in both vectors | [1] |
| User interaction | Yes (vector) | CVSS 4.0 UI:P (passive) and CVSS 3.1 UI:R (required); the exact interaction is not described | [1] |
| Attack complexity | Yes (vector) | High in both vectors (AC:H); the record does not explain the complexity | [1] |
| Attack requirements (CVSS 4.0) | Yes (vector) | AT:P, which the record does not explain | [1] |
| Required configuration | Partly | Build includes the APV encoder wrapper; transcoding to APV without rescaling; mid-stream resolution change in input | [1] |
| Attacker position | Partly | The attacker must supply the media file to the victim's processing; the record does not state how it is delivered | [1] |
| Environmental dependencies | Not established | Operating system, architecture, and external APV library version are not stated | [1] |
The CVSS vectors describe exploitability in general terms and do not confirm that a working exploit is practical. Whether a crafted file reliably achieves a useful outcome is not established by the reviewed sources.
Exploitation scenarios and attack lifecycle
Illustrative scenario 1: a user transcodes a media file received from an untrusted source (for example, an attachment or a file downloaded from a web page) to APV using an FFmpeg build in the affected range. The user's action is the required interaction. The defensive opportunities are to restrict transcoding of untrusted files to sandboxed workers, to block APV output for untrusted inputs, and to log transcoding jobs that change resolution mid-stream.
Illustrative scenario 2: a multi-tenant service accepts user-uploaded video and transcodes it to APV in a shared worker. The record does not identify any such product, so this is a hypothetical risk model. Defensive opportunities include running workers with least privilege, isolating them in containers or virtual machines, and restarting them after abnormal exits.
The record does not document a confirmed attack chain, a post-exploitation technique or a threat actor. Those are not established by the reviewed sources [1, 2, 3].
Impact analysis
| Area | Technically demonstrated by the sources | Plausible consequence (not demonstrated) |
|---|---|---|
| Confidentiality | Not established by the reviewed sources | Information disclosure is possible only if corrupted memory can be read back; not stated in the record [1] |
| Integrity | Heap memory corruption with attacker-controlled data written past bounds is described [1] | Data corruption in the encoder process or adjacent heap structures |
| Availability | Not established as a crash or denial of service; the record describes memory corruption [1] | Process crash or transcoding job failure in a worker |
| Authentication and authorization | Not established by the reviewed sources | None confirmed |
| Privilege boundaries | Not established by the reviewed sources | Whether code runs in a privileged context depends on the deployment; not stated |
| Data and privacy | Not established by the reviewed sources | Depends on what media or data the transcoding process handles |
| Business operations | Not established by the reviewed sources | Disruption of media pipelines that transcode to APV |
| Regulatory or contractual | Not established by the reviewed sources | Depends on the organization's obligations |
The CVSS impact metrics (high confidentiality, integrity and availability impact in both vectors) are scorer assessments, not demonstrated effects [1].
Affected products and versions
| Vendor | Product / component | Affected range (as published) | Platform | Fixed version | Source and qualification |
|---|---|---|---|---|---|
| FFmpeg | libavcodec APV encoder wrapper (liboapvenc.c, liboapveencode()) | 8.0 or later, through 9.0.2 | Builds that include the APV encoder wrapper; platform not stated | Not established by the reviewed sources | The CNA-published range in the CVE record [1]; the range is as published and has not been corroborated by a vendor advisory in the pack |
The pack contains no FFmpeg vendor advisory, release note or patch identifier. Whether versions outside the listed range are affected, and whether the 9.0.2 boundary is inclusive as published, cannot be confirmed from the pack. A version check alone does not establish that the APV wrapper is compiled into a particular build or that the vulnerable path is reachable.
Exploitation and threat intelligence status
- Confirmed exploitation in the wild: Not established by the reviewed sources.
- CISA KEV: not listed as of 2026-11-12. The catalog's absence is not evidence that the CVE has not been exploited [2].
- FIRST EPSS: 0.0014 (0.14%) estimated probability of exploitation activity in the next 30 days, percentile 0.0364, dated 2026-11-10 [3]. EPSS is a statistical estimate and does not indicate observed exploitation [3].
- Public proof of concept: The pack lists a VulnCheck advisory among the references [1], but the pack does not establish whether it contains exploit code or detail that would enable exploitation. No public exploit repository entry is identified in the pack.
- Threat actors, campaigns and sectors: Not established by the reviewed sources.
The status is current only as of the research cut-off. The record is Awaiting Analysis, so NVD may later change the scores, classification or affected range [1].
Indicators of compromise
The reviewed sources provide no file hashes, file names, domains, IP addresses, URLs for malicious content, process names, command lines or log event identifiers related to this CVE. No indicators are given, and none are invented here. Indicators for memory-corruption issues in media tools are typically limited to crashes of transcoding processes and unusual input files, but no source in the pack confirms that pattern for this CVE. Any indicator, once supplied by a trusted source, must be validated against your own telemetry before blocking, because indicators go stale quickly.
Detection and exposure assessment
Step 1: Asset inventory. Identify every host, container image and worker that runs FFmpeg, and record the FFmpeg version and whether it was built with the APV encoder. The record's range is 8.0 through 9.0.2 [1].
Step 2: Version check (read-only). On each system, run the following command, which is the standard version output of FFmpeg:
ffmpeg -version
Prerequisite: FFmpeg is on the PATH. Expected output: a version line and a build configuration line. Limitation: the version string does not show whether the APV wrapper is compiled in unless the build configuration reveals it, and it does not show whether the vulnerable path is reachable.
Step 3: Encoder presence (read-only). List the encoders available in the build with the standard option below and look for an APV-related encoder entry. The exact encoder identifier is not established by the reviewed sources, so search for APV in the output rather than a fixed name:
ffmpeg -encoders
Prerequisite: the same FFmpeg binary as in Step 2. Expected output: a list of encoders, with the APV encoder present if this build includes it. Limitation: presence of an encoder is not proof of exploitability.
Step 4: Workflow review. Identify pipelines that transcode untrusted input to APV without a rescaling step, since the record ties exploitation to that path [1]. Review job definitions and command-line arguments for the output format and any scale filter. Analyst assessment on the method; the record defines the condition.
Step 5: Telemetry. Review logs of transcoding workers for crashes or abnormal terminations of FFmpeg processes, and for jobs that target APV output. The sources do not provide specific log event IDs for this CVE, so use the logs of your own pipeline and treat any hits as leads for investigation, not proof of exploitation.
Authenticated vulnerability scanners may not detect this CVE until a plugin or signature covers it. The pack does not identify a scanner check, so a scanner result of no finding is not evidence of absence.
Immediate mitigation
- Stop transcoding untrusted media to APV in affected builds. This removes the record's described path [1]. Verification: the pipeline configuration no longer selects the APV output for external inputs, and a test job for that path fails or is rejected. Side effect: loss of APV output for those workflows. This measure follows from the record's conditions; it is not a vendor instruction in the pack.
- Insert a mandatory rescale or normalization step to fixed dimensions before any APV encoding, so frames cannot exceed the configured size. The record says exploitation requires transcoding without rescaling [1]. Verification: run the pipeline on a test file with a mid-stream resolution change in a non-production environment and confirm the output dimensions are constant. Limitation: the rescale must be placed before the encoder call and must be applied to every stream. Whether this fully blocks the path is not established by a vendor source.
- Run untrusted transcoding jobs in isolated workers with least privilege, such as unprivileged containers without access to secrets or production networks. Verification: confirm the worker's identity and mounts with the container runtime's inspection command. Limitation: isolation limits the impact of memory corruption but does not prevent it.
- Increase monitoring of transcoding workers for crashes and unusual job patterns, as described in Step 5 of the detection section. Verification: confirm that alerts fire on a controlled test job that crashes a non-production worker.
- Restrict who can submit files to the affected pipeline. Verification: review access control lists for the upload or job queue.
Permanent remediation
The pack does not give a vendor-confirmed fixed version, a patch identifier or upgrade instructions. The permanent fix is therefore Not established by the reviewed sources. Required actions:
- Obtain the FFmpeg fix from the FFmpeg project's official repository or release channel, and confirm the fixed version and the commit that addresses the APV wrapper. The record links a pull request and a commit [1], but their content is not in the pack. Verification: read the commit diff for changes to liboapvenc.c and confirm that frame dimensions are checked against buffer sizes.
- Upgrade to a release that contains the fix once the FFmpeg project publishes one. Verification: run the version command from the detection section and confirm the new version is outside the published range [1].
- Rebuild any FFmpeg binaries or container images that embed the library, because a system package update does not change a statically built binary. Verification: check the build provenance of each binary.
- Restart transcoding services after the update so that long-running worker processes load the new library. Restart requirements for the specific deployment are not documented in the pack.
- Maintain a rollback plan: keep the previous binary or image until the new build passes the validation tests in the validation section.
Recommended hardening, not vendor-confirmed: rescaling inputs to fixed dimensions and validating frame geometry at the encoder boundary, as described in the prevention section.
Workarounds and compensating controls
If a fix is not available or deployment is delayed, the compensating controls are the mitigations in the immediate mitigation section: stopping APV output for untrusted inputs, forcing a rescale before encoding, isolating workers and monitoring them. Their residual risk is that a malicious input may still reach the encoder through a path that the rescale or the workflow restriction does not cover. A workaround is not equivalent to a permanent fix, because the defect remains in the code. Verify compensating controls on a schedule and remove them only after the fixed version is validated.
Validation and verification
- Record the installed FFmpeg version using ffmpeg -version and confirm it is outside the range 8.0 through 9.0.2 [1].
- Confirm that the build used by each pipeline is the one you tested. Check the binary path and the container image digest.
- Confirm the configuration: APV output is blocked for untrusted inputs, or a mandatory rescale precedes the encoder.
- Run a controlled test in a non-production environment with a mid-stream resolution change, and confirm that the job completes without crashes and produces constant-dimension output. Use only benign, authorized test media. Do not use exploit material.
- Re-check with the scanner or vendor tool that covers this CVE, if one exists, and record the result. A clean scan alone does not prove the system is secure.
- Review worker logs for crashes after the change over a defined period.
- Record evidence, owner, date and any exceptions, and keep the compensating controls in place until items 1 to 6 are complete.
No single check establishes that a system is secure.
Incident response
If exploitation is suspected, follow the organization's incident response plan.
- Triage and scope: identify transcoding jobs that targeted APV from untrusted sources on affected builds, using the workflow review and job logs.
- Containment: isolate affected workers from production networks and secrets, without deleting them.
- Evidence preservation: keep the input files, job logs, FFmpeg binaries and crash artifacts. Do not overwrite or wipe the worker's disk or memory before collection.
- Log and endpoint investigation: review process crash records and any unexpected child processes spawned by the transcoding workers. No source in the pack gives specific indicators, so base the search on your own baseline.
- Credential rotation: rotate any secret the worker could access, if the investigation shows the worker was compromised or the evidence warrants it.
- Eradication and patching: apply the fixed build once available and remove any tampered binaries.
- Recovery and monitoring: restore service from a verified build and monitor for recurrence for a defined period.
- Notification and reporting: apply the obligations that apply to your organization. The pack does not establish any regulatory requirement.
- Lessons learned: record how untrusted media reached the encoder and which control should have stopped it.
Security hardening and prevention
Longer-term measures for this flaw:
- Validate frame geometry at the encoder boundary: compare each incoming frame's width and height with the allocation size before copying pixel planes, and reject or rescale frames that do not match. This is the direct control the record's description points to [S1, analyst assessment on the exact check].
- Make rescaling to fixed dimensions a mandatory step before any encoder that uses fixed-size buffers, rather than an optional workflow setting.
- Add regression tests for mid-stream resolution changes to the encoder test suite, using benign generated media.
- Run media transcoding of untrusted input in sandboxed, least-privilege workers (defence-in-depth, broader than this CVE).
- Track the upstream FFmpeg releases and apply fixed versions through your normal patch process, with a defined time target for critical media components (defence-in-depth).
- Enable logging of transcoding job parameters and worker crashes so that anomalies are visible (defence-in-depth).
Risk assessment
Technical severity: the secondary scorer rates the issue HIGH (CVSS 4.0 7.3; CVSS 3.1 7.0) [1]. These scores are not an organization-specific rating.
Exposure: depends on whether your systems include FFmpeg builds in the range with the APV encoder and whether those builds transcode untrusted input. The pack does not establish how common this combination is.
Exploit prerequisites: local access, no privileges, a user interaction, and a non-rescaled APV transcoding path with a mid-stream resolution change [1]. Those conditions limit opportunity compared with a remote, unauthenticated flaw.
Evidence of exploitation: none established. Not in KEV [2]; EPSS 0.0014 [3].
Business impact: Not established by the reviewed sources. It depends on what runs the transcoding and what data it handles.
Existing controls: unknown for your environment.
Organization-specific assumptions for a priority recommendation (Analyst assessment): if untrusted media is transcoded to APV in affected builds, treat the issue as high priority for containment now, because the exploit path is described and no fixed version is confirmed. If no affected build exists in your estate, record that result with evidence and monitor the record for changes. This recommendation is not a numerical score.
Conclusion
CVE-2026-125196 is a heap buffer overflow in the APV encoder wrapper of FFmpeg through 9.0.2 that the CNA range places from 8.0 onwards [1]. The core flaw is that frames larger than the configured encoder size can write past heap buffers when transcoding to APV without rescaling [1]. Platform and build owners who transcode untrusted media should act first: stop APV output for untrusted inputs or force a rescale, and isolate the workers. The permanent fix requires a vendor-confirmed fixed version, which the reviewed sources do not establish. Closing the issue needs the fixed FFmpeg version, a confirmed fix commit, updated NVD analysis, post-upgrade version and configuration evidence, and a clean retest in a non-production environment [1, 2, 3].
Remediation checklist
- Inventory every host, container and worker running FFmpeg, and record the output of the version command ffmpeg -version against the range 8.0 through 9.0.2 [1].
- Identify transcoding pipelines that produce APV output from untrusted input, and block that output for untrusted sources until a fix is verified [1].
- Insert a mandatory rescale to fixed dimensions before any APV encoding step, then verify with a non-production test that output dimensions stay constant for a mid-stream resolution change [1].
- Move untrusted transcoding into sandboxed, least-privilege workers without production network access or secrets, and verify the worker's permissions with the container runtime's inspection command.
- Enable alerting on FFmpeg worker crashes and abnormal exits, and verify the alert on a controlled test job in a non-production worker.
- Obtain the official FFmpeg fix (confirm the commit and fixed version from the project's repository), since the record links a pull request and a commit [1].
- Rebuild FFmpeg binaries and container images that embed the library with the fixed source, and check the build provenance of each artifact.
- Deploy the rebuilt binaries, restart transcoding services, and confirm with ffmpeg -version that the running version is outside 8.0 through 9.0.2 [1].
- Re-test with benign, authorized media in a non-production environment, confirm no crashes and constant output dimensions, and record the evidence, owner and date.
- Keep the compensating controls in place until the fixed version is validated, then remove exceptions and record the closure evidence.
- Monitor NVD record CVE-2026-125196 for analysis updates, changed scores or a corrected affected range, since the record is Awaiting Analysis [1].
Evidence gaps
- Root cause: the record does not describe the exact code defect; the pull request and commit it links are not in the pack. Settle with the FFmpeg commit diff for liboapvenc.c [1].
- Fixed version: no vendor-confirmed fixed release is in the pack. Settle with an FFmpeg release note or official advisory naming the fixed version [1].
- Complete affected range: the CNA range is 8.0 through 9.0.2 as published, with no corroborating vendor advisory. Settle with the FFmpeg project's advisory and NVD's analysis [1].
- NVD analysis: the record is Awaiting Analysis, so NVD's own CVSS and CWE assessment is not available. Settle when the record status changes [1].
- Exploitation evidence: no confirmed in-the-wild exploitation is established; not in KEV [2]; EPSS is a statistical estimate only [3]. Settle with threat intelligence reports or KEV addition.
- Public proof of concept: it is not established whether the VulnCheck advisory contains exploit detail. Settle by reviewing the advisory's content under your own policy [1].
- Indicators of compromise: none are given in the pack. Settle with vendor or incident responder indicators that are validated against your telemetry.
- Impact beyond crash or memory corruption: whether the flaw enables code execution, information disclosure or denial of service is not stated. Settle with a vendor analysis or an authorized technical analysis.
- Platform and build specifics: operating systems, architectures and the external APV library version are not stated. Settle with the FFmpeg build configuration and vendor documentation.
- Remote exposure: whether any product or service exposes this path to untrusted remote input is not established. Settle by reviewing vendor documentation and your own pipelines.
References
- CVE-2026-125196 record. NIST National Vulnerability Database (NVD), 2026-11-10. https://nvd.nist.gov/vuln/detail/CVE-2026-125196. 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-125196. FIRST, 2026-11-10. https://api.first.org/data/v1/epss?cve=CVE-2026-125196. Accessed 2026-11-12.
Summary
FFmpeg through 9.0.2 contains a heap buffer overflow vulnerability in liboapve_encode() in libavcodec/liboapvenc.c that allows attackers to corrupt heap memory by supplying frames larger than the configured encoder dimensions. Attackers can craft videos whose resolution changes mid-stream so that transcoding to APV without rescaling writes attacker-controlled pixel data past the imgb plane buffers.
Severity breakdown
High · 7.3
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 confidentiality, integrity and availability
- Impact on other systems
- none
Weakness
- CWE-122: Heap-based Buffer Overflow
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| FFmpeg | ≥ 8.0, ≤ 9.0.2 | — |
References by type
Patches and fixed releases
- code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25416
- github.com/FFmpeg/FFmpeg/commit/87cdb6cd6a8d1ec201cb82b30e64d5f946939e23
Other references
Affected
- FFmpeg
Frequently asked questions
What is CVE-2026-125196?
CVE-2026-125196 is a heap-based buffer overflow (CWE-122) in liboapveencode() in libavcodec/liboapvenc.c of FFmpeg, as described in the CVE record. Weakness type: Heap-based Buffer Overflow (CWE-122).
How severe is CVE-2026-125196?
CVE-2026-125196 has a CVSS 4.0 base score of 7.3 (high), 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-125196 being exploited?
Not as far as is known: CVE-2026-125196 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-125196?
FFmpeg ≥ 8.0, ≤ 9.0.2.
How do I fix CVE-2026-125196?
Inventory every host, container and worker running FFmpeg, and record the output of the version command ffmpeg -version against the range 8.0 through 9.0.2. Identify transcoding pipelines that produce APV output from untrusted input, and block that output for untrusted sources until a fix is verified. Insert a mandatory rescale to fixed dimensions before any APV encoding step, then verify with a non-production test that output dimensions stay constant for a mid-stream resolution change.