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

Home › CVE › Vulnerabilities

CVE-2026-125064 — FFmpeg

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

One of 121 FFmpeg vulnerabilities published together by NVD.

Vulnerabilities

Research article

FFmpeg G.726 ADPCM decoder NULL pointer dereference from unchecked initgetbits failure (CVE-2026-125064)

CVECVE-2026-125064
Vendor and productFFmpeg
PublishedNovember 12, 2026 07:12 UTC
Research cut-offNovember 12, 2026 05:56 UTC
UpdatedNovember 20, 2026 23:20 UTC
Sources reviewed3: NVD record (last modified 2026-11-10); CISA KEV catalog; FIRST EPSS (2026-11-10)

Update — November 20, 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-125064 is a NULL pointer dereference in the G.726 audio decoder function g726decodeframe() in libavcodec/g726.c of FFmpeg, classified as CWE-252 (Unchecked Return Value), because the code ignores a failure from initgetbits() when an audio packet is oversized [1]. The NVD record is still in Awaiting Analysis status, and the only scores are secondary scores from VulnCheck: CVSS 4.0 6.8 MEDIUM with vector CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X, and CVSS 3.1 5.5 MEDIUM with vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H [1]. The vendor-published affected range in the CVE record is FFmpeg through 9.0.2 [1]. The record describes a crash of the process when a crafted AVI file containing an oversized G.726 audio chunk is decoded, and it does not describe code execution or data disclosure [1]. The record's own scores describe availability impact only, and the CVSS 3.1 and 4.0 vectors both require user interaction [1]. CISA's Known Exploited Vulnerabilities catalog does not list this CVE as of 2026-11-12, which does not establish that it has not been exploited [2]. The FIRST EPSS estimate is 0.0018 (0.18%) with percentile 0.0786, a statistical estimate and not evidence of exploitation [3]. The most important immediate action for defenders is to inventory every FFmpeg build and every application that embeds libavcodec, identify builds at or below 9.0.2 that decode untrusted AVI files, and restrict or isolate that decoding path until a vendor-confirmed fixed build is identified and deployed [1][3].

Key points

  • CVE-2026-125064 is a NULL pointer dereference in FFmpeg's G.726 decoder caused by ignoring an initgetbits() failure on oversized packets, classified CWE-252 [1].
  • Secondary scores from VulnCheck are CVSS 4.0 6.8 MEDIUM and CVSS 3.1 5.5 MEDIUM, both reflecting availability impact and a local vector with user interaction [1].
  • Affected range per the CVE record is FFmpeg through 9.0.2; the fixed version is not established by the reviewed sources [1].
  • The record describes a process crash from a crafted AVI file with an oversized G.726 audio chunk, not code execution or data disclosure [1].
  • Not listed in CISA KEV as of 2026-11-12, and EPSS is 0.0018 (0.18%); neither establishes whether exploitation has or has not occurred [2][3].
  • The most urgent action is to isolate or block untrusted AVI G.726 decoding on builds through 9.0.2 until a confirmed fixed build is deployed and verified [1].

Vulnerability identification

FieldValueSource
CVE IDCVE-2026-125064[1]
Vendor / CNA contextFFmpeg project; the affected-version statement is published in the CVE record[1]
ProductFFmpeg (libavcodec library)[1]
Componentg726decodeframe() in libavcodec/g726.c (G.726 ADPCM audio decoder)[1]
Affected platformNot established by the reviewed sources beyond FFmpeg through 9.0.2[1]
Published2026-11-09T19:16:48[1]
Last modified2026-11-10T21:46:30[1]
Record statusAwaiting Analysis (NVD has not completed its analysis)[1]
CWECWE-252, Unchecked Return Value[1]
CVSS 4.06.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; scorer: VulnCheck (Secondary)[1]
CVSS 3.15.5 MEDIUM; vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H; scorer: VulnCheck (Secondary)[1]
Other CVSS versionsNot established by the reviewed sources[1]
Related advisoriesThe record references a VulnCheck advisory for this issue, a pull request on the FFmpeg code host, a commit, and the n9.0.2 source tag; their content is not in the reviewed pack[1]
KEV statusNot listed as of 2026-11-12[2]
EPSS0.0018 (0.18%), percentile 0.0786, estimate for 30 days[3]

The CWE-252 classification means the flaw is a failure to check the result of an operation whose failure matters. The record's CWE assignment and its scores come from the record as published; NVD has not yet completed its analysis, so NVD-assigned scores and any NVD CWE review are not established [1].

Technical background

FFmpeg is an open-source multimedia framework. Its libavcodec library contains the codecs that decode and encode audio and video streams. G.726 is an ITU-T speech codec that uses adaptive differential pulse-code modulation (ADPCM) to compress audio. In the record, the affected function is the frame decoder for this codec, and the input it receives comes from a container, here AVI (Audio Video Interleave), which stores audio in chunks [1].

The record states that the decoder relies on a bit-reading helper, initgetbits(), before it reads coded samples from the packet buffer [1]. Analyst assessment: a helper of this kind normally takes a buffer and a size and returns a status, and it should be checked before the decoder reads from the buffer it is meant to have set up. The reviewed sources do not provide the function's source code or its exact return convention, so this description is not confirmed.

Trust boundary: the packet is attacker-controlled when the media file comes from an untrusted source, such as a downloaded file, an email attachment, an uploaded file processed by a server-side transcoder, or a stream. The decoder is therefore a parser of untrusted data, which is why the handling of its size and error conditions matters [1].

Vulnerability description

The flaw violates the availability property: the process that decodes the crafted input terminates because of an invalid memory access. The record says the decoder ignores a failed initialization of the bit reader when the audio packet is oversized, and that this leads the decoder to read from a NULL buffer [1]. The record gives a specific trigger size of 268435392 bytes for a G.726 audio chunk inside an AVI file [1].

What an attacker can cause, according to the record: a crash of the process that decodes the file [1]. The record does not describe reading memory contents, writing memory, or executing code [1]. The CVSS 4.0 vector sets the confidentiality and integrity impacts to None and the availability impact to High, and the CVSS 3.1 vector sets confidentiality and integrity to None and availability to High [1]. These vectors are secondary scorer statements, and the record does not state that the flaw permits code execution.

Conditions for the flaw to matter: the vulnerable decoder must be reached, which requires a build at or below the affected range through 9.0.2 [1], and the input must include a G.726 audio chunk of the oversized size described in the record [1]. The record does not establish whether the flaw is reachable through other containers or other G.726 entry points.

What the reviewed sources do not establish: whether the crash can be turned into anything beyond process termination, whether the NULL dereference is the only consequence of the failed initialization, and whether the same condition affects other codecs or other FFmpeg decoders.

Root cause analysis

Confirmed (as stated in the record): the decoder does not check the outcome of initgetbits() when the audio packet is oversized, and the subsequent decoding path dereferences a NULL buffer [1]. The CWE-252 classification identifies the defect as an unchecked return value [1].

Analyst assessment: the likely design gap is that the size check for the packet and the bit-reader initialization are not connected to an error path in the frame decoder. A safe implementation would test the initialization result immediately, return an error for the frame, and never reach the sample reads. Why existing controls may fail: the code path is a fast decoding loop, and a missing error check is not caught by a type system or by a normal functional test with well-formed media files. This is analyst reasoning, not a finding in the sources.

The reviewed sources do not disclose the exact patch, the exact line changed, or the developer's own root-cause write-up. The record references a source line in the n9.0.2 tag and a commit, but the content of those references is not in the pack [1].

Technical mechanics

The following numbered flow is an illustrative reconstruction of the mechanism described in the record [1]. Steps 3 to 5 are the record's description, and the internal details are analyst assessment.

  1. The container demuxer reads an AVI file and extracts an audio chunk whose declared size is larger than the decoder's expected maximum (Reported in [1]).
  2. The G.726 frame decoder, g726decodeframe() in libavcodec/g726.c, receives the packet pointer and size [1].
  3. The decoder calls initgetbits() to set up a bit reader over the packet [1].
  4. For an oversized packet, the initialization fails, and the return value is not checked [1].
  5. The decoder proceeds to read samples through the bit reader, using a buffer that was never validly set up, which is a NULL buffer per the record [1].
  6. The invalid memory access terminates the process [1].

Validation failure: the missing control is a check of the initialization status before the decoder uses the reader (CWE-252 [1]). A correct design would reject the packet before the reads, returning an error for that frame and continuing or aborting the stream according to the application's policy.

Authentication and authorization: not applicable to this decoder, since the flaw is in data parsing [1].

Preconditions and environment: the decoder must be compiled into the process, the process must decode the crafted input, and the input must reach the G.726 decode path through the AVI container. The reviewed sources do not describe the toolchain, memory allocator behaviour, or operating system details that affect the crash.

Attack surface and exploitation prerequisites

PrerequisiteAssessmentSource
Network accessNot required by the CVSS 3.1 and 4.0 vectors, which both state a local attack vector (AV:L). Whether a file processed after network delivery is considered local is not established by the reviewed sources.[1]
Adjacent networkNot stated[1]
Local or physical accessThe vectors state local (AV:L). The attacker needs a file that the target process decodes.[1]
AuthenticationNone required (PR:N in both vectors)[1]
User interactionRequired by both vectors: UI:P in CVSS 4.0 and UI:R in CVSS 3.1[1]
Required configurationThe process must decode G.726 audio from an AVI container. The record does not state whether default builds enable this decoder.[1]
Attacker positionAn actor who can supply a file to the decoding process[1]
InterfacesThe AVI demuxer and the G.726 audio decoder in libavcodec[1]
DependenciesAffected builds through 9.0.2; the record does not establish the earliest affected version[1]

The CVSS vectors describe the scorer's view of the flaw and do not by themselves prove that a given application is reachable. A local attack vector assessment may not fit an application that decodes files fetched from remote sources, and the discrepancy should be settled by NVD analysis, which is pending [1].

Exploitation scenarios and attack lifecycle

Illustrative scenario 1: a user opens a crafted AVI file in a desktop media player built on the affected libavcodec. The player process terminates. The record supports a crash outcome only [1]. Defensive points: endpoint application control, file-type handling policy, and crash telemetry from the player.

Illustrative scenario 2: a server-side media conversion service accepts uploaded AVI files and decodes them with FFmpeg through 9.0.2. A crafted upload terminates the worker process, causing repeated service interruption. The record supports the crash, but not the service-level impact, which depends on the application's process supervision [1]. Defensive points: input validation at the upload gateway, worker isolation and restart limits, and alerting on repeated worker crashes.

The reviewed sources do not document any confirmed exploitation chain, any observed campaign, or any attacker objective beyond the described crash [1][2]. No chain beyond process termination is described as confirmed.

Impact analysis

Impact areaTechnically demonstrated by the recordPlausible downstream consequence (analyst assessment)
ConfidentialityNone according to both vectors [1]None established
IntegrityNone according to both vectors [1]None established
AvailabilityProcess crash through a NULL dereference [1]Interruption of media processing services, job failures, or repeated worker restarts
Authentication and authorizationNot affected per the record [1]Not established
Privilege boundariesNot described [1]Not established; a crash in a privileged process would matter more than in a user process
Data and privacyNot described [1]Not established
Business operationsNot described [1]Depends on whether the decoder runs in a customer-facing or batch pipeline
Regulatory or contractualNot described [1]Depends on service-level commitments; not established

Affected products and versions

VendorProduct / componentAffected versionsPlatformFixed versionSource and qualification
FFmpeglibavcodec, g726.c G.726 decoderThrough 9.0.2 (vendor-published statement in the CVE record)Not established by the reviewed sourcesNot established by the reviewed sources[1]; the statement is in the CVE record and has not been reviewed by NVD
Downstream packagers and embedding applicationsBuilds that include libavcodecNot established; the pack does not list any downstream productNot establishedNot establishedNo source in the pack

The record does not state the earliest affected version, so the lower bound is not established. Packaged builds from distributions and vendors may apply patches without changing the upstream version string; that is an analyst assessment and not confirmed by the sources, so a version check alone may not show whether a fix is present.

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 KEV entry is not evidence that the CVE has not been exploited [2].

Public proof of concept: the record references a VulnCheck advisory and a code-host pull request and commit [1]. The pack does not state whether any of these contains exploit code, and this article does not assess that. Reporting: none in the pack.

EPSS: 0.0018 (0.18%) probability of exploitation activity in the next 30 days, percentile 0.0786, dated 2026-11-10 [3]. EPSS is a statistical estimate and is not evidence of exploitation [3].

Threat actors, campaigns, targeted sectors: not established by the reviewed sources.

The absence of public evidence in the pack is not proof that exploitation has not occurred.

Indicators of compromise

Not established by the reviewed sources. The record gives a trigger characteristic, an AVI container with a G.726 audio chunk of 268435392 bytes [1]. This is a crafted-input characteristic and not a validated indicator. It may be used in a read-only scan of stored media files, but it should not be used as a blocking rule without testing, because benign files are unlikely to contain it while indicators can go stale. No file hashes, file names, domains, IP addresses, process command lines or log events are given in the pack.

Detection and exposure assessment

Asset inventory: identify every host, container image and application package that contains libavcodec from FFmpeg and whose version is through 9.0.2 [1]. Include statically linked binaries and bundled libraries, which a package manager query will not show.

Version check (read-only, standard FFmpeg tooling): run ffmpeg -version on hosts where the ffmpeg command-line tool is installed. The output includes the version string. Prerequisite: the ffmpeg binary must be the one used by the application. Limitation: a version match does not prove the vulnerable decoder is reachable, and a distribution backport may leave the version string unchanged; a version check is not proof of exploitability.

Decoder reachability: determine whether the application invokes the AVI demuxer and the G.726 audio decoder. The record does not give a configuration switch for this decoder, so the check requires reviewing the application's codec configuration and build options, which are not established by the pack [1].

Logs and telemetry: review crash reports, core dumps and process supervisor logs from media-processing workers for termination by invalid memory access, correlated with ingested AVI files. The pack does not define a specific log event or signature [1].

Authenticated scanning: use the organization's scanner with a check for FFmpeg package versions through 9.0.2. The pack does not identify a specific scanner plugin.

Immediate mitigation

  1. Restrict decoding of untrusted AVI files with G.726 audio to isolated workers. This reduces the impact of a crash to the worker. It follows from the record's description of a process crash [1]; the isolation approach itself is analyst recommendation. Verify by confirming the worker runs in a separate container or sandbox with restart policy.
  2. Block or quarantine AVI uploads at the gateway where the business does not require them. This limits the attack path. Side effects: legitimate AVI files will be rejected. Verify with a test upload to the gateway and a log entry for the rule.
  3. Remove the affected decoder from applications where G.726 audio in AVI is not needed, if the build system allows it. The method depends on the build; the pack does not provide a configuration switch [1]. Verify by confirming the codec is absent in the build configuration and by running the application's test media.
  4. Increase monitoring of worker crashes and restarts on media-processing hosts. Verify that alerts fire on a test crash in a non-production environment.
  5. Limit user exposure: for desktop deployments, route files from untrusted sources to a restricted viewer, and warn users not to open unexpected media files. The user interaction requirement in both vectors supports this measure [1].

Permanent remediation

Vendor-confirmed fix: not established by the reviewed sources. The record does not identify a fixed FFmpeg version, and the referenced commit and pull request content is not in the pack [1].

Recommended action pending a confirmed fix: track the FFmpeg project's release notes and the referenced commit, identify the first release that contains the change, and then upgrade affected builds to that release or to the build from the downstream package provider. Verify the change by inspecting the code path in the fixed release and by confirming the installed version. Recommended hardening, not vendor-confirmed: the upgrade should be accompanied by a regression test with a benign AVI and G.726 sample of the expected size range and a check that the decoder returns an error rather than crashing.

Upgrade prerequisites and rollback: the reviewed sources do not describe dependencies, restart requirements, or configuration changes. Plan a maintenance window for media-processing services, back up configuration and binaries before the upgrade, and keep the previous build for rollback.

Workarounds and compensating controls

The measures in the immediate mitigation section are compensating controls. They reduce exposure but do not correct the defect. Isolation limits the consequence of a crash to one worker but does not stop the crash. Gateway blocking removes a path for untrusted AVI input but may not cover other entry points into the same decoder, such as direct library calls from custom code. The residual risk is that any remaining path can still terminate a worker, and that the defect remains until a fixed build is installed. These controls do not replace the permanent remediation.

Validation and verification

  1. Confirm the installed FFmpeg and libavcodec build on each host, using the version command for the binary used by the application and the package manager query for the package, and record the output.
  2. Confirm that the fixed build is the one in use after the upgrade, and that no older copy of libavcodec remains in the application's library path.
  3. Confirm the G.726 decoder is absent or isolated as intended, by reviewing the build configuration or the application's codec list.
  4. In a non-production environment, run a benign AVI file containing a G.726 audio chunk through the application and confirm normal decoding. Then run an oversized-chunk test file from an authorized test corpus and confirm the worker returns an error instead of crashing. Do not create exploit payloads; use only test material approved by the organization.
  5. Re-run the authenticated scanner and confirm that the finding for the affected package is closed.
  6. Review worker crash logs for the post-change period and confirm no new termination events.
  7. Confirm the compensating controls remain in place until the fixed build is verified across all hosts.
  8. Record the evidence, owner, date and any exceptions. A single check does not establish that the system is secure.

Incident response

If a crash on a media-processing worker is linked to an AVI file from an untrusted source: triage by determining which worker, which file, and which build version processed it. Scope by searching for other processing events with the same file or source. Containment: quarantine the file and the source account, and stop routing that input type to the affected worker. Evidence preservation: keep the crashed worker's logs, core dump if produced, and a copy of the input file, stored read-only. Do not delete or overwrite these items. Log and endpoint investigation: correlate worker restarts, gateway logs, and file-handling events. Credential or secret rotation: the record does not describe credential access, so rotation is warranted only if other evidence shows that the worker had access to secrets. Eradication and patching: install the fixed build once confirmed. Recovery: restore normal worker operation and monitor for recurrence. Notification: follow the organization's reporting obligations and incident response plan; the reviewed sources do not establish any regulatory obligation for this flaw. Lessons learned: review gateway controls for media input.

Security hardening and prevention

Secure development and code review: enforce checking of return values from parsing helpers in decoder code, and add a review rule or static analysis check for unchecked return values in codec functions. Defence in depth (broader practice, not source-specific): run media decoders in unprivileged, sandboxed processes with resource and restart limits. Input validation: enforce declared chunk size limits at the container level before passing packets to a codec. Regression testing: add test cases for oversized audio chunks in each codec that handles them. Logging and monitoring: record decoder failures as explicit errors so that they are distinct from crashes. Patch and vulnerability management: track FFmpeg releases and downstream package advisories for this CVE, and set a review cycle for embedded libavcodec copies.

Risk assessment

Technical severity: the secondary scores are medium, with availability impact only, and the scorer's attack vector and user-interaction assessments are as stated in the vectors [1]. Exposure and asset criticality: depend on whether the organization runs FFmpeg for untrusted media. Exploit prerequisites: a crafted file and user interaction, or a file path into a server-side decoder [1]. Evidence of exploitation: none confirmed; not listed in KEV [2]; EPSS is low [3]. Potential business impact: availability of media-processing services. Existing controls and residual risk: depend on sandboxing and gateway controls, which are not established for any specific environment. Recommended remediation priority: higher for internet-facing or server-side media processing, where a single crafted upload may interrupt a service repeatedly; lower for isolated desktop use with restricted file sources. This prioritization is an organization-specific analyst assessment, not a CVSS score, and it assumes that internet-facing services decode uploads with affected builds, which the organization must confirm.

Conclusion

The core flaw is an unchecked bit-reader initialization result in FFmpeg's G.726 decoder that leads to a NULL dereference and a process crash, as described in the CVE record [1]. Teams that operate FFmpeg through 9.0.2 with AVI G.726 decoding enabled should act, especially where untrusted files are processed server-side. The most urgent mitigation is to isolate or block untrusted AVI input on affected decoding paths [1]. The permanent fix is a vendor-confirmed FFmpeg release or downstream build that contains the corrective change, which the reviewed sources do not yet identify [1]. Closure requires the fixed version confirmed on every host, a verified change in the decoder's error handling, a scan showing the finding resolved, and an NVD analysis or vendor advisory that confirms the affected and fixed ranges [1][2].

Remediation checklist

  1. Inventory every host, container image and bundled application that includes FFmpeg libavcodec, and record the installed version of each build against the affected range through 9.0.2 [1].
  2. Identify which applications decode AVI files with G.726 audio from untrusted sources, prioritizing internet-facing upload and conversion services [1].
  3. Move decoding of untrusted AVI input for affected builds into isolated, restart-limited worker processes, and confirm the isolation with a test crash in a non-production environment [1].
  4. Block or quarantine AVI uploads at the gateway where the business does not need them, and verify the rule with a test upload and its log entry [1].
  5. Track the FFmpeg project release notes and the commit referenced in the record, identify the first release containing the corrective change, and record it as the target version once confirmed; the pack does not provide it [1].
  6. Upgrade affected builds to the confirmed fixed release or the downstream vendor build, after backing up configuration and binaries and retaining the previous build for rollback [1].
  7. After upgrading, run ffmpeg -version and the package manager query on each host, and record the output with owner and date [1].
  8. Test the upgraded build with a benign AVI file containing G.726 audio and, using an authorized test corpus, confirm the decoder returns an error rather than crashing; do not use exploit payloads [1].
  9. Re-run the authenticated vulnerability scan and confirm the finding for the affected package is closed on every host [1].
  10. Review worker crash logs for the post-change period to confirm no new termination events on media-processing hosts [1].
  11. Keep compensating controls in place until the scan and log review confirm the fixed build everywhere, then remove only the controls that are no longer needed [1].

Evidence gaps

  • The fixed FFmpeg version and the first release containing the correction are not established; the record references a commit and pull request whose content is not in the pack, and it would be settled by the vendor release notes or NVD analysis [1].
  • The earliest affected version is not established; the record gives only the upper bound through 9.0.2 and would be settled by the vendor's full version history or NVD analysis [1].
  • Downstream vendor and distribution advisories, and their fixed build identifiers, are not in the pack; they would be settled by those vendors' security advisories [1].
  • NVD's own CVSS assessment and CWE review are pending because the record is Awaiting Analysis; these would be settled by completion of NVD analysis [1].
  • The scorer's attack vector assessment (local) is not reconciled with a file-processing application that may receive files from remote sources; NVD analysis or the VulnCheck advisory content would clarify this [1].
  • The default build configuration and whether G.726 decoding in AVI is enabled by default are not established; this would be settled by the FFmpeg build documentation and the configuration of each deployed application [1].
  • No exploitation evidence, public exploit assessment, or indicators of compromise are in the pack; the content of the VulnCheck advisory and referenced code-host items would need to be reviewed to assess public proof-of-concept availability [1][2].
  • The CISA KEV listing is a point-in-time check; re-checking the catalog after publication would show any later addition [2].

References

  1. CVE-2026-125064 record. NIST National Vulnerability Database (NVD), 2026-11-10. https://nvd.nist.gov/vuln/detail/CVE-2026-125064. Accessed 2026-11-12. CVE identity, record status and dates, official description summarized in own words, CWE-252 classification, CVSS 4.0 and 3.1 scores, vectors and VulnCheck as secondary scorer, vendor-published affected range through 9.0.2, the crash-only impact described, the 268435392-byte G.726 AVI chunk trigger
  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. CISA KEV status: not listed as of 2026-11-12, with the note that absence from the catalog is not evidence of no exploitation.
  3. EPSS score for CVE-2026-125064. FIRST, 2026-11-10. https://api.first.org/data/v1/epss?cve=CVE-2026-125064. Accessed 2026-11-12. FIRST EPSS estimate of 0.0018 (0.18%), percentile 0.0786, dated 2026-11-10, and the statement that EPSS is a statistical estimate and not evidence of exploitation.

Written with AI assistance from the 3 sources listed above, as of the research cut-off; each fact is cited to its source. Check the vendor's advisory before acting.

Summary

FFmpeg through 9.0.2 contains a NULL pointer dereference vulnerability in g726_decode_frame() in libavcodec/g726.c because it ignores init_get_bits() failure on oversized packets. Attackers can supply a crafted AVI file with a 268435392-byte G.726 audio chunk to make the decoder read from a NULL buffer, crashing the process.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

Medium · 6.8 CVSS 4.0 base score from the CNA (vulncheck.com)

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

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

Vector CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X · CVSS 3.1 5.5 from the CNA (vulncheck.com): CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Weakness

Affected and fixed versions

ProductAffected versionsFixed in
FFmpeg≤ 9.0.2—

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Patches and fixed releases

Other references

Details from NVD (public domain).

Affected

  • FFmpeg

Frequently asked questions

What is CVE-2026-125064?

CVE-2026-125064 is a NULL pointer dereference in the G.726 audio decoder function g726decodeframe() in libavcodec/g726.c of FFmpeg, classified as CWE-252 (Unchecked Return Value), because the code ignores a failure from initgetbits() when an audio packet is oversized. Weakness type: Unchecked Return Value (CWE-252).

How severe is CVE-2026-125064?

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

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

FFmpeg ≤ 9.0.2.

How do I fix CVE-2026-125064?

Inventory every host, container image and bundled application that includes FFmpeg libavcodec, and record the installed version of each build against the affected range through 9.0.2. Identify which applications decode AVI files with G.726 audio from untrusted sources, prioritizing internet-facing upload and conversion services. Move decoding of untrusted AVI input for affected builds into isolated, restart-limited worker processes, and confirm the isolation with a test crash in a non-production environment.

Timeline & sources

References