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

Home › CVE › Vulnerabilities

CVE-2026-125267 — FFmpeg

High · CVSS 8.5EPSS 0.2% First seen November 09, 2026

One of 121 FFmpeg vulnerabilities published together by NVD.

Vulnerabilities

Research article

FFmpeg APAC Decoder Heap Out-of-Bounds Write (CVE-2026-125267) Caused by an Unreset Bitstream Index

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

Update — November 25, 2026

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

Executive summary

CVE-2026-125267 affects FFmpeg's APAC decoder in libavcodec, where a bitstream index that is not reset lets a crafted APAC file cause an integer overflow, a bypassed reallocation check and a heap out-of-bounds write [1]. The NVD record lists CVSS 4.0 8.5 (High) with vector CVSS:4.0/AV:L/AC:L/AT:N/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.8 (High) with vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, both scored by VulnCheck as a secondary scorer [1]. The vendor's CVE record lists FFmpeg versions before 8.1.3 and the 9.0 line before 9.0.2 as affected, with 8.1.3 and 9.0.2 as the fixed releases [1]. Exploitation requires a local or user-supplied APAC file to be processed by a vulnerable build; the 4.0 vector indicates user participation [1]. The CISA KEV catalog did not list this CVE as of 2026-11-12, which does not show that it has not been exploited [2]. The FIRST EPSS estimate is 0.0014 (0.14%) for 30-day exploitation activity, a statistical estimate and not evidence of exploitation [3]. The most important immediate action is to inventory FFmpeg and any applications embedding libavcodec, identify builds older than 8.1.3 or in the 9.0 line before 9.0.2, and upgrade to a fixed release or a vendor-backported build, or stop processing untrusted APAC input until that is done [1].

Key points

  • CVE-2026-125267 is a heap out-of-bounds write in FFmpeg's APAC decoder, caused by an unreset bitstream index and an integer overflow (CWE-190) [1].
  • Secondary CVSS scores: 8.5 High (CVSS 4.0) and 7.8 High (CVSS 3.1), both scored by VulnCheck [1].
  • Vendor-published affected ranges: before 8.1.3, and 9.0 before 9.0.2; fixed in 8.1.3 and 9.0.2 [1].
  • Exploitation requires a crafted APAC file to be processed locally, with little privilege needed and some user participation [1].
  • Not in CISA KEV as of 2026-11-12 and EPSS is 0.0014; neither shows absence of exploitation [2][3].

Vulnerability identification

FieldValueSource
CVE IDCVE-2026-125267[1]
Vendor / projectFFmpeg[1]
Product / componentlibavcodec, APAC decoder (libavcodec/apac.c)[1]
Affected platformNot established by the reviewed sources beyond the FFmpeg project itself; the record does not list operating systems or distributions[1]
Published2026-11-09T20:18:13[1]
Last modified2026-11-10T21:46:31[1]
Record statusAwaiting Analysis (NVD has not completed its own analysis at the cut-off)[1]
CWECWE-190 (Integer Overflow or Wraparound)[1]
CVSS 4.08.5 High; vector CVSS:4.0/AV:L/AC:L/AT:N/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; scorer disclosure@vulncheck.com (Secondary)[1]
CVSS 3.17.8 High; vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H; scorer disclosure@vulncheck.com (Secondary)[1]
Related identifiersPull request 24432 on the FFmpeg code host; fix commit e15ddb7f9a2f9b3ab8ac305efb6f94ddc18463d0; reference to the n9.0.1 tag of the affected source file; a VulnCheck advisory page (content not extracted in the pack)[1]
KEV statusNot listed as of 2026-11-12[2]
EPSS0.0014 (0.14%), percentile 0.0314, estimate dated 2026-11-10[3]

The pack contains no primary vendor advisory, and no CVSS score from NVD itself or from the vendor. Both CVSS scores come from a secondary scorer, so they should be treated as third-party assessments [1]. The 4.0 and 3.1 scores differ in the user-interaction metric (UI:P in 4.0, UI:R in 3.1), which is discussed under the attack surface section.

Technical background

FFmpeg is an open-source multimedia framework. Its libavcodec library contains the codec implementations that decode compressed audio and video streams into raw samples or frames [1]. Each codec is a decoder module that parses a bitstream, which is a sequential byte stream whose structure is defined by the codec specification. The decoder reads fields such as headers, lengths and payload sizes, and uses them to allocate memory and copy data.

The APAC decoder, implemented in libavcodec/apac.c, is the component named by the record [1]. The pack does not describe the APAC format, its header layout or its typical use, so those details are not established by the reviewed sources.

Terms used in this article:

  • Bitstream index: an internal counter the decoder uses to track its read position or the amount of data consumed in the stream. The record describes it as growing as the file is processed [1].
  • Heap: the region of process memory used for dynamically allocated buffers. Writing past the end of a heap buffer can corrupt adjacent data or crash the process.
  • Integer overflow: a condition in which an arithmetic result exceeds the range of its integer type and wraps around, producing a value far smaller than intended. Wrapped values used as sizes can defeat bounds checks.
  • Reallocation check: the decoder logic that decides whether an output buffer must be enlarged before copying data into it.
  • memcpy: the standard C function that copies a specified number of bytes from one memory region to another. It performs no bounds checking on the destination.
  • CVSS: the Common Vulnerability Scoring System, a standard for rating technical severity. Version 4.0 and 3.1 use different metric sets.
  • KEV: the CISA Known Exploited Vulnerabilities catalog.
  • EPSS: the Exploit Prediction Scoring System, a probabilistic estimate of exploitation activity over the next 30 days [3].

Trust boundary: an APAC file is untrusted input when it originates from a remote sender, an uploaded file, an email attachment or any third-party source. The decoder must treat every length and index derived from such a file as hostile [1]. Analyst assessment: the decoder is the trust boundary crossing point in any application that opens such files.

Vulnerability description

The record states that the flaw is a heap out-of-bounds write in the APAC decoder. It is caused by a bitstream index that is not reset, so the index keeps growing. An attacker-supplied file can drive that index to a value that causes an integer overflow. The overflow allows the reallocation check to pass when the buffer should have been enlarged, and a subsequent memcpy writes beyond the heap buffer. The record says the result can be memory corruption or a crash of the application [1].

Security properties affected: integrity of process memory (the write corrupts heap contents) and availability (the crash condition). The record does not state whether code execution is achievable, and the pack provides no proof of concept or exploitation analysis, so that outcome is not established by the reviewed sources [1].

Affected component or function: the APAC decoder in libavcodec/apac.c, where the bitstream index is maintained and the reallocation and copy operations occur [1].

What an attacker can cause, according to the record: memory corruption or termination of the process that decodes the file [1]. Whether confidentiality is affected (for example, reading memory) is not stated by the record.

Conditions for the flaw to matter: the vulnerable FFmpeg or libavcodec build must be in use, and it must decode an attacker-controlled APAC file. The record does not state whether the APAC decoder is enabled by default in every build, so this is not established by the reviewed sources [1].

What the evidence does not establish: remote exploitation over a network service, automatic exploitation without file processing, the number of bitstream iterations required, the exact memory layout, and any reliable code execution path [1].

Root cause analysis

Confirmed (per the vendor CVE record): the root cause is an unreset bitstream index in the APAC decoder, which allows the index to grow across processing and eventually overflow [1].

Confirmed (per the CWE mapping): the weakness class is CWE-190, integer overflow or wraparound [1].

Analyst assessment: the likely design error is that a state variable is not reinitialized at the appropriate point, for example at the start of each decoding unit or file. Persistent state of this kind lets a value accumulate beyond what one unit legitimately requires. When the accumulated value is combined with sizes in an allocation or copy calculation, the arithmetic can wrap. The reallocation check then compares a wrapped value and accepts an undersized buffer. This is consistent with the record but is not stated in it in these terms.

Why existing controls may fail: the reallocation check is itself a bounds control, but it operates on the same arithmetic that overflowed. A check that trusts a wrapped sum cannot detect the overflow. Memcpy performs no bounds validation, so the overflowed size is applied directly.

Not established by the reviewed sources: the exact line of code, the exact arithmetic expression, the variable types, and whether the fix changes the reset behaviour, the size computation or both. The fix commit identifier and pull request identifier appear in the record but their diffs were not extracted into the pack [1]. Confirming these would require reviewing the fix commit's diff.

Technical mechanics

The following numbered flow is Illustrative, based on the record's description and the CWE class. It is not confirmed by a source step by step.

  1. The application opens an APAC file and passes it to the libavcodec APAC decoder.
  2. The decoder processes successive units of the stream. The bitstream index is intended to track position, but it is not reset in the path described by the record [1].
  3. Across units, the index increases. Its value is used in a calculation that determines whether the output buffer must be enlarged.
  4. An attacker-chosen file drives the index to a value at which the arithmetic overflows (CWE-190) [1].
  5. The wrapped value is smaller than the true requirement. The reallocation check compares this value and concludes that the existing buffer is adequate.
  6. The decoder copies data with memcpy into the undersized heap buffer, writing beyond its end [1].
  7. The heap corruption either crashes the process or alters adjacent heap data. The record does not state which outcome is typical [1].

Controls that should have prevented the issue: resetting per-unit state before processing, validating that derived sizes cannot overflow before use (for example by using checked arithmetic or bounding the index), and ensuring that the copy length never exceeds the allocated capacity. The pack does not say which of these the fix implements. Analyst assessment: the fix most likely addresses the reset and the size validation together, but this is not confirmed.

Attack surface and exploitation prerequisites

PrerequisiteAssessmentSource / basis
Network accessNot required under the CVSS 4.0 vector (AV:L) or the CVSS 3.1 vector (AV:L); the vector indicates local attack vector[1]
Adjacent networkNot indicated by either vector[1]
Local accessIndicated by AV:L in both vectors; the attacker is interpreted as needing to supply input to a local decode operation, a conclusion drawn from the vector and the record's file-based description[1]
AuthenticationNone required (PR:N in both vectors)[1]
PrivilegesNone required (PR:N in both vectors)[1]
User interaction4.0 vector UI:P (passive user participation); 3.1 vector UI:R (user must take an action). Both indicate the file must be processed, but the exact interaction is not established[1]
Attack complexityLow (AC:L in both vectors)[1]
Attacker-supplied inputAn APAC file, as described in the record[1]
Required configurationNot established by the reviewed sources; whether APAC decoding is enabled in a given build or application is not stated[1]
Environmental dependenciesNot established by the reviewed sources; no information on sandboxing, hardening flags or memory allocator behaviour[1]

The CVSS vectors suggest a local attack that requires little privilege and low complexity. However, the vector alone does not establish that an attacker can deliver a file to a target in practice. Exploitability is supported only by the record's description of a crafted file, and the pack does not include any exploit demonstration [1]. The 4.0 and 3.1 interaction values differ, so the user's role should be checked against the actual application workflow.

Exploitation scenarios and attack lifecycle

Illustrative scenario 1: a media-processing service that transcodes user-uploaded audio accepts an APAC file. The decoder processes it inside the service process. The crafted file triggers the overflow, and the service crashes, causing a denial of service. Defensive opportunities: run the decoder in a sandboxed worker, restart and alert on repeated decoder crashes, and reject unsupported formats at upload.

Illustrative scenario 2: a desktop application opens an APAC file received from email. The user opens the file, which the vendor's record describes as a file-based attack. The result depends on memory layout, which the record does not establish. Defensive opportunities: limit file opening from untrusted sources, and use endpoint controls that restrict unexpected child-process or crash behaviour.

The record does not document any chain from memory corruption to code execution, and no source documents an attack in the wild. Any further post-exploitation outcome is therefore Unknown on the basis of the pack [1][2].

Impact analysis

AreaTechnically demonstrated by the recordPlausible downstream consequence (not established)
ConfidentialityNot stated by the record; CVSS 4.0 vector sets VC:H and CVSS 3.1 sets C:H on the vulnerable system [1]Reading process memory depends on exploitation details not established
IntegrityHeap memory corruption is described; CVSS vectors set VI:H and I:H [1]Altered decoder state, corrupted output or unpredictable behaviour
AvailabilityCrash of the application is described; CVSS vectors set VA:H and A:H [1]Service interruption for transcoding or media pipelines
Authentication and authorizationNot affected per the vector (no privileges required, no authorization boundary described) [1]Not established
Privilege boundariesCVSS 3.1 scope S:U and 4.0 SC:N, SI:N, SA:N indicate no subsequent-system impact scored [1]Not established
Data and privacyNot established by the reviewed sourcesDepends on data handled by the decoding process
Business operationsNot establishedDepends on whether the decoder runs in a shared service
Regulatory or contractualNot establishedDepends on the organization's obligations

The scores are secondary and the 4.0 vector includes many unset threat and environmental metrics (X values). These do not reflect organization-specific context [1].

Affected products and versions

VendorProduct / componentAffected versionsFixed versionPlatform / deploymentSource and qualification
FFmpeglibavcodec APAC decoderBefore 8.1.3 (lower bound not stated in the CNA entry)8.1.3Not established[1] CVE record, vendor (CNA) published range
FFmpeglibavcodec APAC decoder, 9.0 lineFrom 9.0 and before 9.0.29.0.2Not established[1] CVE record, vendor (CNA) published range

Discrepancy: the record's description describes the affected 9.x line as 'before 9.0.2', while the vendor range lists 9.0 as the lower bound. Both imply that 9.0.2 is the first fixed release in that line, so the practical effect is the same, but the lower bound of the 9.x line is not further clarified. Any 9.x build that predates 9.0.2 should be treated as affected [1].

Known exclusions: the pack does not identify any build or branch explicitly excluded. The vulnerable range does not state whether versions earlier than 8.1.3 are all affected, because the CNA entry gives no lower bound; this is Unknown. The reference to the n9.0.1 tag indicates that 9.0.1 was examined in the source-code reference, but the pack does not confirm that 9.0.1 is affected in a particular build [1].

Distribution and downstream packages: the pack includes no distribution advisories, package versions or backport information. Operating-system packages or applications that embed libavcodec may carry patches without changing the upstream version string. Whether any distribution has backported the fix is Unknown on the basis of the pack.

Exploitation and threat intelligence status

  • Confirmed exploitation in the wild: not established by the reviewed sources [1][2].
  • CISA KEV: not listed as of 2026-11-12 [2]. The source notes that absence from the catalog is not evidence that the CVE has not been exploited.
  • Public proof of concept: the pack references the vendor's fix commit, a pull request, a source-code file reference and a VulnCheck advisory page. It contains no exploit repository, proof-of-concept code or exploitation write-up. Whether a public proof of concept exists is Unknown on the basis of the pack [1].
  • Threat actors, campaigns and sectors: not attributed by any source in the pack. Not established.
  • EPSS: 0.0014 (0.14%) probability of exploitation activity in the next 30 days, percentile 0.0314, dated 2026-11-10. This is a statistical estimate that the source explicitly says is not evidence of exploitation [3].
  • Record maturity: the NVD record was in Awaiting Analysis at the cut-off, so NVD's own analysis had not been completed [1].

Analyst assessment: the low EPSS value and the absence from KEV indicate no strong public signal at the cut-off. They do not indicate that the flaw is unexploited, and they should not reduce the priority of patching exposed systems that process untrusted APAC files.

Indicators of compromise

No indicators of compromise are given in the reviewed sources. The pack contains no file hashes, file names, domains, IP addresses, URLs, process command lines, or log events associated with exploitation of this CVE. Not established by the reviewed sources.

Any future indicator should be validated before blocking. Indicators for memory-corruption flaws are often limited to crash patterns and file characteristics, which change over time and can produce false positives.

Detection and exposure assessment

Inventory and version check (read-only, using the standard FFmpeg command-line tool):

  • Command: ffmpeg -version
  • Prerequisites: the ffmpeg binary is on the search path; run as a normal user; the output is the build's version and linked library versions.
  • Expected output: a version line identifying the FFmpeg release and build configuration, plus library version lines for libavcodec.
  • Interpretation: a version below 8.1.3, or a 9.0-line version below 9.0.2, is within the vendor's published affected range [1]. A version at or above the fixed release is outside that range.
  • Limitations: distribution packages may include backported fixes without changing the version string, and applications may link libavcodec privately, so the standalone binary's version does not cover embedded copies. A version check is not proof of exploitability.

Embedded libraries: identify applications and services that link libavcodec, using software composition analysis or package manager queries appropriate to the platform. The pack does not give a product-specific command for this.

Log and telemetry review: look for repeated crashes or abnormal termination of decoding workers or transcoding jobs after receiving APAC files, which the record's crash condition would produce [1]. The pack provides no specific log event IDs or fields, so the exact signature is Unknown.

Network and endpoint monitoring: the pack gives no network signature. Monitoring for unexpected file ingestion of APAC content at upload gateways is a reasonable control, but its detection value is not established by the sources.

Authenticated vulnerability scanning: the pack does not identify a scanner plugin or check for this CVE. Whether a scanner can detect it is Unknown.

Immediate mitigation

  1. Stop or restrict processing of APAC files from untrusted sources. Protects against the file-based trigger described in the record [1]. Limitation: it does not remove the vulnerable code. Side effects: some workflows may fail. Verification: confirm that the upload or ingestion policy rejects the format, for example by testing a sample of accepted types in a non-production environment.
  2. Run decoding of untrusted media in an isolated, unprivileged worker process with restricted file access. Limits the impact of memory corruption (for example, restricting what a crash or corruption can reach). This follows from the record's description of memory corruption and crash outcomes, not from a source-recommended control. Verification: confirm the worker runs under a restricted account and cannot reach sensitive data paths.
  3. Increase monitoring of decoder crashes and restart events for media workers. Helps detect exploitation attempts that produce crashes. Limitation: crashes have many causes. Verification: confirm alerts fire for abnormal decoder termination in a test.
  4. Inventory and prioritize exposed FFmpeg deployments so that internet-facing or high-volume processing hosts are upgraded first (see the detection section).

Sources: items 1 to 3 are derived from the record's description and the CWE class [1]; the pack contains no vendor-recommended interim mitigation.

Permanent remediation

Vendor-confirmed fixes: upgrade FFmpeg to 8.1.3 on the 8.x line, or to 9.0.2 on the 9.0 line [1]. Fix references in the record: pull request 24432 and commit e15ddb7f9a2f9b3ab8ac305efb6f94ddc18463d0 [1]. The pack does not contain the vendor advisory text, so the release notes and upgrade steps are not established.

Steps:

  1. Identify the installed build and its branch (see detection).
  2. Obtain the fixed release from the FFmpeg project or from your distribution's patched package. If using a distribution package, confirm that the fix is included, because the version string alone may not show it.
  3. Rebuild or redeploy applications that statically link or bundle libavcodec, since they must be updated separately.
  4. Restart decoding services after installing the new library, so that the old code is no longer loaded. Whether a restart is required is not stated by the sources, but it is required for any long-running process that already has the old library mapped.
  5. Maintenance window and rollback: take a backup of the current binaries and configuration, schedule a window for media processing services, and keep the previous package available for rollback.

Recommended hardening beyond the vendor fix: enforce per-file resource limits and sandboxing for media decoding (Analyst assessment; general defence-in-depth).

Workarounds and compensating controls

The pack identifies no vendor-supported workaround. The mitigations in the immediate section reduce exposure but are not equivalent to a fix. Rejecting APAC files depends on accurate format detection, which may be bypassed if the input is later reinterpreted by another component. Sandboxing reduces the consequences of memory corruption but does not stop the overflow. Residual risk remains while any vulnerable build decodes untrusted input. Compensating controls must be removed once the fixed release is deployed and validated.

Validation and verification

  1. Confirm the installed FFmpeg build version using ffmpeg -version and record it. Expected: 8.1.3 or later on the 8.x line, or 9.0.2 or later on the 9.0 line [1].
  2. For distribution packages, confirm the package changelog or vendor advisory shows the fix, because the version alone may not reflect a backport.
  3. For applications that bundle libavcodec, check the bundled library version and rebuild evidence.
  4. Confirm that long-running decoding services were restarted after the update, and that the process is using the new library.
  5. Confirm that upload or ingestion controls and sandboxing remain in place if they are compensating controls.
  6. Review decoder crash logs for the period after deployment, and confirm no abnormal terminations occur for APAC input in a controlled test environment. Use only test files you are authorized to process; do not use crafted exploit files.
  7. Re-run the organization's vulnerability scanner if it supports this CVE, and document any limitation of the scanner.
  8. Record evidence, the responsible owner, the date, and any exceptions. No single check demonstrates that a system is secure.

Incident response

If exploitation is suspected (for example, unexpected crashes of media workers after processing untrusted APAC files):

  1. Triage and scope: identify which hosts and services ran the affected build and received APAC input in the relevant period.
  2. Containment: isolate affected workers from sensitive networks, and stop ingestion of untrusted APAC files.
  3. Evidence preservation: preserve logs, crash dumps, uploaded files and process information before restarting services. Do not delete files that may be evidence. Follow the organization's incident response plan.
  4. Log and endpoint investigation: review decoder crash events, process restarts and unexpected child processes. The pack gives no specific event IDs or fields, so use the organization's standard telemetry.
  5. Credential or secret rotation: rotate secrets only if the evidence indicates that the process memory or accessible data may have been exposed. The pack does not establish such exposure.
  6. Eradication and patching: upgrade to 8.1.3 or 9.0.2 as applicable and redeploy affected applications [1].
  7. Recovery and monitoring: restore services, then monitor decoder crash rates for a defined period.
  8. Notification and reporting: follow applicable legal and contractual obligations. The pack does not establish any obligation.
  9. Lessons learned: record how the unpatched build was deployed and how inventory missed it.

Security hardening and prevention

Specific to this flaw:

  • Reset or bound per-unit decoder state so that bitstream indices cannot accumulate across units (Analyst assessment, consistent with the record's root cause [1]).
  • Use checked arithmetic for size calculations before allocation and copy operations, so that overflow is detected rather than wrapping (Analyst assessment, aligned with CWE-190 [1]).
  • Ensure every copy length is validated against the actual allocated capacity immediately before memcpy.
  • Add regression tests with malformed APAC inputs that exercise index growth. Use only test corpora the organization controls.

Broader defence-in-depth (labelled as such, not from the sources): run media decoding in sandboxed, unprivileged processes; apply resource limits to decoding jobs; use memory-safe parsing where practical; maintain a current software bill of materials for libavcodec-dependent products; and monitor vendor fixes for embedded libraries with an owner and a service-level target for patch deployment.

Risk assessment

Technical severity: the secondary CVSS 4.0 score is 8.5 and the CVSS 3.1 score is 7.8, both High [1]. These reflect the vector values only and are not organization-specific.

Exposure and asset criticality: depend on whether the organization runs FFmpeg or libavcodec on systems that open APAC files from untrusted sources. Not established by the pack.

Exploit prerequisites and attacker opportunity: local attack vector, no privileges, low complexity, with some user participation [1]. The delivery path for a crafted file is an organization-specific question.

Evidence of exploitation: none in the pack. Not in KEV at the cut-off [2]. EPSS 0.0014 [3].

Potential business impact: crash or corruption of media processing, with confidentiality and integrity impact not characterized by the record [1].

Existing controls and residual risk: unknown for the organization. Until a fixed build is deployed, residual risk remains for any vulnerable build that processes untrusted APAC input.

Recommended remediation priority (Analyst assessment, not a numerical score): high for internet-facing or multi-tenant media processing and for hosts that open files from external sources; moderate for internal, controlled workflows; with evidence of the upgrade recorded for all instances. The priority reflects the High CVSS scores and the uncertainty about exploitation rather than a confirmed threat.

Conclusion

The core flaw is a heap out-of-bounds write in FFmpeg's APAC decoder, caused by an unreset bitstream index that lets an integer overflow defeat a reallocation check [1]. Owners of FFmpeg and libavcodec deployments, especially media processing services and applications that open untrusted files, should act. The most urgent mitigation is to stop processing untrusted APAC files and isolate decoding workers. The permanent fix is to upgrade to 8.1.3 or 9.0.2 and redeploy embedded copies [1]. Closure requires evidence of installed fixed versions across all instances, confirmation of restarted services, verification that compensating controls are either retained or removed as appropriate, and documentation of any distribution backports. Exploitation in the wild is not established by the reviewed sources, and this must be re-checked against KEV and vendor updates as the record is analysed [2][3].

Remediation checklist

  1. Inventory every host and container running FFmpeg or libavcodec by running ffmpeg -version and by querying applications that bundle libavcodec; flag builds before 8.1.3 and 9.0 builds before 9.0.2 [1].
  2. Restrict or reject APAC files from untrusted sources at upload and ingestion points until the fixed build is deployed; verify with a test in a non-production environment [1].
  3. Isolate media decoding workers in restricted, unprivileged processes with limited file access, and verify the restrictions are active [1].
  4. Upgrade FFmpeg to 8.1.3 on the 8.x line or to 9.0.2 on the 9.0 line, or install a distribution package confirmed to include the fix [1].
  5. Rebuild or redeploy applications that bundle libavcodec, since they must be updated separately [1].
  6. Restart decoding services after the library update so the old code is no longer loaded; record the restart times for each service.
  7. Confirm post-upgrade versions and retain evidence (owner, date, host list) for each instance; investigate any remaining exception.
  8. Monitor decoder crash and restart events for media workers for a defined period after deployment and investigate abnormal terminations [1].
  9. Track the NVD record's analysis status and the CISA KEV catalog for changes, since the record was Awaiting Analysis at the cut-off [1][2].

Evidence gaps

  • Vendor security advisory text and release notes: not in the pack; needed to confirm upgrade steps and any restart requirement. The VulnCheck advisory was referenced but its content was not extracted [1].
  • Lower bound of the pre-8.1.3 affected range: the CNA entry gives no lower bound; needed to confirm which older builds are affected [1].
  • Discrepancy in the 9.x range wording between the record description and the CNA range; needs vendor clarification [1].
  • Root cause at code level (exact line, expression, variable types): the fix commit and pull request diffs were not extracted into the pack [1].
  • Distribution and backport status: no distribution advisories or package versions were provided; needed to determine whether packaged versions contain the fix [1].
  • Exploitation in the wild, public proof of concept and threat actor attribution: not established by the pack; needed from threat intelligence and exploit repository reviews [2][3].
  • Exploitation outcome beyond crash and memory corruption, including confidentiality impact and code execution feasibility: not established by the record [1].
  • Indicators of compromise, log event fields and detection signatures: none provided; needed from vendor or responsible disclosure analysis [1].
  • NVD's own CVSS analysis: the record was Awaiting Analysis and both scores are from a secondary scorer; needed to confirm the official scoring [1].

References

  1. CVE-2026-125267 record. NIST National Vulnerability Database (NVD), 2026-11-10. https://nvd.nist.gov/vuln/detail/CVE-2026-125267. Accessed 2026-11-12. CVE record description, record status and dates, CVSS 4.0 and 3.1 scores, vectors and secondary scorer, CWE-190 mapping, vendor (CNA) affected and fixed version ranges, reference identifiers for the pull request, fix commit and tagged source file, and the statements on the APAC decoder, bitstream in
  2. Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-12. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-12. Absence of CVE-2026-125267 from the CISA KEV catalog as of 2026-11-12, and the catalog's note that absence is not evidence of non-exploitation.
  3. EPSS score for CVE-2026-125267. FIRST, 2026-11-10. https://api.first.org/data/v1/epss?cve=CVE-2026-125267. Accessed 2026-11-12. FIRST EPSS estimate of 0.0014 (0.14%) with percentile 0.0314 for 30-day exploitation activity, dated 2026-11-10, and the statement 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 before 8.1.3 and 9.x before 9.0.2 contains a heap out-of-bounds write vulnerability in the APAC decoder in libavcodec/apac.c caused by an unreset bitstream index. Attackers can supply a crafted APAC file whose growing bitstream_index triggers an integer overflow, bypassing the reallocation check so memcpy() corrupts heap memory or crashes the application.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

High · 8.5 CVSS 4.0 base score from the CNA (vulncheck.com)

An attacker without an account can exploit this with local access if a user views or visits something.

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

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

Weakness

  • CWE-190: Integer Overflow or Wraparound

Affected and fixed versions

ProductAffected versionsFixed in
FFmpeg< 8.1.38.1.3
≥ 9.0, < 9.0.29.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-125267?

CVE-2026-125267 affects FFmpeg's APAC decoder in libavcodec, where a bitstream index that is not reset lets a crafted APAC file cause an integer overflow, a bypassed reallocation check and a heap out-of-bounds write. Weakness type: Integer Overflow or Wraparound (CWE-190).

How severe is CVE-2026-125267?

CVE-2026-125267 has a CVSS 4.0 base score of 8.5 (high), 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-125267 being exploited?

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

FFmpeg < 8.1.3 (fixed in 8.1.3); FFmpeg ≥ 9.0, < 9.0.2 (fixed in 9.0.2).

How do I fix CVE-2026-125267?

Inventory every host and container running FFmpeg or libavcodec by running ffmpeg -version and by querying applications that bundle libavcodec; flag builds before 8.1.3 and 9.0 builds before 9.0.2. Restrict or reject APAC files from untrusted sources at upload and ingestion points until the fixed build is deployed; verify with a test in a non-production environment. Isolate media decoding workers in restricted, unprivileged processes with limited file access, and verify the restrictions are active.

Timeline & sources

References