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

Home › CVE › Vulnerabilities

CVE-2026-125222 — FFmpeg

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

One of 121 FFmpeg vulnerabilities published together by NVD.

Vulnerabilities

Research article

FFmpeg Hap frame header integer overflow (CVE-2026-125222) allows heap buffer overflow on 32-bit builds

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

Executive summary

CVE-2026-125222 is an integer overflow (CWE-190) in the Hap frame header parser of FFmpeg's libavcodec, which can lead to a heap buffer overflow on 32-bit builds and may crash the application or potentially enable code execution [1]. NVD scores it CVSS 3.1 7.0 HIGH with vector CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H, and CVSS 4.0 7.3 HIGH with 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; both scores were assigned by a secondary scorer and the record is still Awaiting Analysis [1]. The vendor's CVE record states that FFmpeg through 9.0.2 is affected [1]. Exploitation requires local access, a high-complexity attack condition, and crafted Hap input processed by the vulnerable decoder, and the 32-bit build condition is stated in the record [1]. CISA's KEV catalog does not list the CVE as of 2026-11-12, which does not establish that exploitation has not occurred [2]. The FIRST EPSS estimate is 0.0015 (0.15%) with a percentile of 0.0430, a statistical estimate rather than evidence of exploitation [3]. The most important immediate action is to inventory every FFmpeg binary and library, including copies embedded in applications, that is version 9.0.2 or earlier and built for 32-bit, and to restrict processing of untrusted Hap content until a fixed release is confirmed [1][3].

Key points

  • CVE-2026-125222 is a CWE-190 integer overflow in FFmpeg's Hap frame header parser, affecting FFmpeg through 9.0.2 on 32-bit builds [1].
  • NVD lists CVSS 3.1 7.0 HIGH (primary) and CVSS 4.0 7.3 HIGH (secondary), both from VulnCheck; the record is still Awaiting Analysis [1].
  • Exploitation requires local access, no privileges, high complexity and user interaction according to the vectors; reaching the decoder is not established [1].
  • CISA KEV does not list the CVE as of 2026-11-12, and EPSS is 0.0015; neither proves absence or presence of exploitation [2][3].
  • No fixed version is published in the pack; the referenced commit and pull request must be checked for the first fixed release [1].

Vulnerability identification

FieldValueSource
CVE IDCVE-2026-125222[1]
VendorFFmpeg project[1]
Product / componentFFmpeg, libavcodec, Hap decoder (function happarseframeheader() in libavcodec/hapdec.c)[1]
Affected platform32-bit builds, as stated in the record description[1]
Published2026-11-09T19:16:59[1]
Last modified2026-11-10T21:46:30[1]
Record statusAwaiting Analysis[1]
CWECWE-190, Integer Overflow or Wraparound[1]
CVSS 3.1 (Primary)7.0 HIGH; CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H; scorer disclosure@vulncheck.com[1]
CVSS 4.0 (Secondary)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; scorer disclosure@vulncheck.com[1]
KEV statusNot listed as of 2026-11-12[2]
EPSS0.0015 (0.15%), percentile 0.0430, dated 2026-11-10[3]
Related referencesA FFmpeg pull request (pulls/25702), a FFmpeg commit (62c308e0), a tagged source line in n9.0.2 (libavcodec/hapdec.c line 215), and a VulnCheck advisory are listed in the record[1]

The two CVSS scores differ (7.0 and 7.3). Both are from the same scorer, and the record does not explain the difference beyond the vectors themselves. The primary CVSS 3.1 score is the one NVD marks as primary [1]. Because the record is Awaiting Analysis, NVD's own CVSS and CWE analysis may still change [1]. No NVD-assigned (as opposed to secondary-scorer) analysis is shown in the pack [1].

Technical background

FFmpeg is a multimedia framework whose libavcodec library contains decoders for many video and audio formats [1]. The affected code is the Hap decoder, which parses the header of each Hap video frame and then decompresses the frame's texture chunks [1]. The pack does not describe the Hap format in detail, so this article does not describe its field layout beyond what the record states.

The record states that the frame header can carry Snappy length prefixes [1]. Snappy is a compression format in which compressed data is preceded by length information; the decoder reads these lengths to size buffers and chunks [1]. Analyst assessment: a decoder that trusts these length values to size memory allocations or copy operations is a typical location for integer overflow defects.

Trust boundary: the decoder processes frame data supplied by the media file or stream. Any file or stream that an application opens may therefore be untrusted input to libavcodec, even when the application itself is trusted [1]. The record describes the decompression work as being performed by a worker thread (decompresschunksthread()) that writes into a texture buffer (texbuf) [1].

Vulnerability description

The record describes an integer overflow in happarseframeheader() that can lead to a heap buffer overflow on 32-bit builds of FFmpeg through 9.0.2 [1]. A crafted Hap frame with Snappy length prefixes can make a computed texture size wrap around, so the decoder writes beyond the bounds of the texture buffer [1]. The record states that this can crash the application and may allow code execution [1].

Security property violated: memory safety (integrity of heap memory and availability of the process) [1]. The record does not state confidentiality impact, though the CVSS 3.1 and 4.0 vectors score confidentiality as high [1].

What the record establishes: the overflow, the heap overwrite, the 32-bit condition, the affected version range, and the possibility of crash or code execution [1].

What the record does not establish: a working exploit, a reproduction procedure, the exact size of the overflow, whether 64-bit builds are unaffected, whether the write is attacker-controlled in content, or whether any specific application or operating system is exposed [1]. Those points are therefore not established by the reviewed sources.

Root cause analysis

The record identifies the defect class as CWE-190, integer overflow or wraparound, meaning arithmetic on a size value exceeds the range of its integer type and wraps to a smaller value [1]. Label: Confirmed (CWE classification in NVD record).

Analyst assessment: on a 32-bit build, the native integer used for size calculations is narrower, so a sum or product built from attacker-supplied length prefixes can wrap to a small value. A subsequent allocation based on the wrapped value can then be smaller than the data later written into it, which produces a heap overflow. This is consistent with the record's description of texsize wrapping and the write outside texbuf [1]. The pack does not contain the patched code, so the specific missing check is not confirmed.

Why existing controls may fail: the decoder accepts length values from the frame header and performs size arithmetic before proving the result is within bounds. The record's references include a commit and a pull request, but the pack does not describe their content, so the exact fix is not established by the reviewed sources [1].

Technical mechanics

  1. A user or application opens a media file or stream that contains Hap-encoded video frames [1].
  2. libavcodec passes each frame to the Hap decoder, which calls happarseframeheader() to read the frame header, including the Snappy length prefixes [1].
  3. The parser combines the length values with the texture dimensions to compute the texture size (texsize) [1].
  4. On 32-bit builds, the arithmetic can wrap, so texsize becomes smaller than the true required size [1].
  5. The decoder allocates the texture buffer (texbuf) using the wrapped value [S1, analyst assessment on sizing].
  6. decompresschunksthread() decompresses chunks and writes output according to the unwrapped size, going past the end of texbuf on the heap [1].
  7. The heap overwrite may corrupt adjacent memory, causing a crash, and the record states that code execution is potentially possible [1].

Missing control: a bounds check on the computed size, and an overflow-safe multiplication or addition, before allocation and before the chunk writes. This is an analyst assessment of what the fix would need to do; the pack does not confirm the implemented fix [1].

Illustrative flow (not a verified trace):

Frame data (untrusted) -> happarseframeheader() -> texsize arithmetic (32-bit wrap)
  -> small texbuf allocation -> decompresschunksthread() writes full size -> heap overflow

Attack surface and exploitation prerequisites

PrerequisiteStatusSource
Network accessNot required per AV:L in both vectors; the attack vector is local[1]
Adjacent networkNot indicated by the vectors[1]
Local accessIndicated by AV:L in both CVSS vectors[1]
Physical accessNot established by the reviewed sources[1]
Authentication / privilegesPR:N in both vectors (no privileges required)[1]
User interactionUI:R in CVSS 3.1 (requires user action); UI:P in CVSS 4.0 (passive user interaction); the record description implies the victim must process crafted content[1]
Attack complexityAC:H in both vectors (high complexity)[1]
Attack requirements (4.0)AT:P in CVSS 4.0 (present), not further described in the pack[1]
Required configuration32-bit FFmpeg build; Hap decoding path reached[1]
Attacker positionMust supply or cause the processing of crafted Hap content on the target[1]

The vectors indicate that exploitation is local and needs user interaction, but they do not prove that any specific application reaches the Hap decoder. Whether a given application or service decodes Hap content, or accepts it from untrusted sources, is not established by the reviewed sources and must be checked in each environment.

Exploitation scenarios and attack lifecycle

No exploitation in the wild is documented in the pack [2, 3]. The scenarios below are illustrative and derived from the record's stated preconditions [1].

Illustrative scenario 1: a user opens a crafted Hap video file received by email or download in a desktop application that embeds a 32-bit FFmpeg library. Result: crash of the application; possible memory corruption that the record says may allow code execution [1].

Illustrative scenario 2: a media-processing service on a 32-bit host transcodes uploaded files, and a crafted Hap file is processed without isolation. Result: process crash and potential service disruption. Defensive opportunities: run transcoding in sandboxed workers, limit accepted codecs, and monitor for process crash loops.

Illustrative scenario 3: a local user or process places crafted content where a privileged application decodes it. The record does not establish whether such privilege escalation is possible; this is hypothetical.

For each scenario, the defensive chokepoints are: restrict which file types are decoded, isolate decoding processes, and detect unexpected process crashes in media applications.

Impact analysis

AreaAssessmentBasis
ConfidentialityScored high in both vectors; no confidentiality impact described in the record narrative[1]
IntegrityScored high in both vectors; heap overwrite described[1]
AvailabilityCrash of the application described[1]
Code executionDescribed as potential, not demonstrated[1]
Authentication / authorizationNot established by the reviewed sources[1]
Privilege boundariesNot established by the reviewed sources[1]
Data and privacyNot established; depends on what data the host process holds[1]
Business operationsDepends on how the affected application uses FFmpegAnalyst assessment
Regulatory / contractualNot established by the reviewed sources[1]

Technically demonstrated impact: none is demonstrated in the pack; the record describes the overflow mechanism. Plausible consequences (crash, memory corruption, potential code execution) are described in the record as possibilities [1].

Affected products and versions

VendorProduct / componentAffected versionsPlatformFixed versionSource and confidence
FFmpeglibavcodec Hap decoderThrough 9.0.2 (CVE record: affected ≤ 9.0.2)32-bit builds (per record description)Not established by the reviewed sources[1]; the vendor-published range is in the CVE record

Known exclusions: none stated in the pack. The pack does not state whether 64-bit builds are affected, nor whether versions after 9.0.2 are fixed. The record's references include the n9.0.2 source tag, but the pack does not contain the vendor's own advisory or release note for this issue [1].

Downstream products that embed FFmpeg may have their own version ranges and are not covered by the pack.

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 pack states this is not evidence of absence [2].
  • Public proof of concept: not established by the reviewed sources; the record references a VulnCheck advisory, whose content is not in the pack [1].
  • Threat actors, campaigns or sectors: not established by the reviewed sources.
  • EPSS: 0.0015 (0.15%), percentile 0.0430, dated 2026-11-10. EPSS is a statistical model estimate of exploitation activity in the next 30 days, not evidence of exploitation [3].

The absence of public evidence is not proof that exploitation has not occurred [2].

Indicators of compromise

No indicators of compromise are provided in the reviewed sources. Not established by the reviewed sources. Indicators should be developed from local telemetry only after validation, and any indicators published later will require validation before blocking because they go stale.

Detection and exposure assessment

  1. Inventory: list every host and application package that contains an FFmpeg library or binary, including bundled copies inside desktop or server applications. Analyst assessment: package managers may not show bundled copies.
  2. Version check: on systems where the ffmpeg command is installed, run the standard version command and record the output. Prerequisites: shell access on the host. Expected output: a version banner. Limitation: the banner shows the build version, not whether the Hap decoder is enabled or reached; the version check is not proof of exploitability.
  3. Architecture check: confirm whether the installed binary or library is a 32-bit build, using the operating system's standard file or architecture tooling on the binary. Limitation: the tool choice depends on the operating system; the pack does not give a command.
  4. Feature check: determine whether the build includes the Hap decoder and whether applications in the environment accept Hap content. Not established by the reviewed sources; the pack does not describe the configuration flags.
  5. Log review: look for crash reports or abnormal termination of media applications or transcoding workers. Not established by the reviewed sources for specific event IDs.
  6. Authenticated vulnerability scanning: use an authenticated scanner that inspects installed packages; confirm results against the version inventory. The pack does not name a scanner check for this CVE.

Immediate mitigation

  1. Restrict processing of untrusted Hap content. What it protects against: the crafted-frame vector described in [1]. Limitation: the application must still decode other inputs. Side effect: some media may not play. Verification: confirm that the application's input policy rejects or does not decode Hap files, by test with a non-malicious sample in a test environment. Source: analyst recommendation derived from the stated trigger [1].
  2. Isolate decoding in a restricted process or container for applications that must process untrusted media. What it protects against: memory corruption affecting the main process. Limitation: does not prevent a crash of the worker. Verification: confirm the decoder runs in the isolated context. Source: analyst recommendation.
  3. Prioritize 32-bit FFmpeg deployments for inventory and scheduling, since the record ties the flaw to 32-bit builds [1].
  4. Increase monitoring of media application crashes. Verification: alerts exist and are tested. Source: analyst recommendation.

The pack does not establish a vendor-published workaround, configuration setting, or WAF rule for this CVE.

Permanent remediation

Vendor-confirmed fix: not established by the reviewed sources. The record lists a commit and a pull request, but the pack does not state that they fix the issue, nor provide a fixed release number [1].

Recommended steps (analyst recommendation):

  1. Track the FFmpeg project's release announcements and the referenced commit (62c308e0) and pull request (25702) to determine the first release that includes the fix [1].
  2. Upgrade each affected FFmpeg build to a release confirmed to include the fix, then re-test. Upgrade prerequisites and rollback steps depend on the packaging method and must be confirmed from the vendor or distributor.
  3. For bundled copies, obtain updated application builds from the software vendor, since replacing a library inside an application may break compatibility.
  4. Restart services and applications that load the library after the update, so the old code is unloaded.

The pack does not state whether a restart is required beyond the general process-reload principle above, nor any post-update configuration change.

Workarounds and compensating controls

  • Disabling Hap decoding or excluding untrusted Hap content reduces exposure but is not equivalent to a fix, since the defect remains in the library.
  • Process isolation limits blast radius but does not remove the overflow.
  • Residual risk: a memory-corruption defect in a library processing untrusted input remains until a fixed build is deployed [1].

The specific build option or runtime setting that excludes the Hap decoder is not established by the reviewed sources.

Validation and verification

  1. Confirm the installed version or build is later than 9.0.2 and matches a release confirmed to include the fix; the fix release is not established by the pack [1].
  2. Confirm architecture and that no 32-bit vulnerable build remains in the inventory, including bundled copies.
  3. Confirm the Hap input restriction or isolation is applied and active in each application that processes media.
  4. Re-run the authenticated scanner and compare with the inventory.
  5. Review crash logs for the validated period and confirm no new abnormal terminations.
  6. Record evidence, owner, date and any exceptions. Never conclude a system is secure from a single check.

Incident response

If crashes consistent with this defect are observed, or a crafted Hap file is suspected to have been processed:

  1. Triage and scope: identify the application, host, user and file source for each crash. Preserve the crafted file and logs without altering them.
  2. Containment: isolate the affected host from sensitive resources and stop processing of the file source.
  3. Evidence preservation: capture crash dumps, application logs and the file hash before any cleanup.
  4. Investigation: review process creation and network activity around the crash; the pack gives no specific indicators.
  5. Credential rotation: only where the evidence indicates code execution or credential exposure; the pack does not establish either.
  6. Eradication and patching: upgrade or replace the affected build as described in the remediation section.
  7. Recovery and monitoring: return the host to service after validation and monitor for recurrence.
  8. Notification and reporting: follow the organization's incident response plan and applicable obligations; not established by the reviewed sources.
  9. Lessons learned: record how the untrusted input reached the decoder.

Security hardening and prevention

  • Secure development (defence-in-depth, broader measure): validate that size arithmetic derived from untrusted length fields cannot overflow before allocation or copy, and test with 32-bit builds. Source: analyst recommendation; the vendor fix is not described in the pack.
  • Input restriction: limit media decoders in applications to the formats they need.
  • Process isolation: run media decoding in sandboxed or unprivileged processes.
  • Patch management: include bundled libraries in the software inventory and patch cycle.
  • Logging and monitoring: alert on crashes of media processing components.
  • Regression testing: add test cases with crafted length values for 32-bit builds once the fix is known.

Risk assessment

Technical severity: the vendor-supplied CVSS 3.1 and 4.0 scores are high, both from a secondary scorer [1]. These scores are not an organization-specific risk rating.

Exposure and asset criticality: depends on whether 32-bit FFmpeg builds with Hap decoding are deployed and accept untrusted content; not established by the pack.

Exploit prerequisites: local access, no privileges, high complexity, and user interaction according to the vectors [1].

Evidence of exploitation: none confirmed; not in KEV as of 2026-11-12 [2]; EPSS low at 0.15% [3].

Residual risk: until a fixed build is confirmed and deployed, the defect remains, and the record's remark about possible code execution is unverified [1].

Recommended priority (analyst assessment, assumptions: 32-bit builds are present and process untrusted Hap content): high priority for inventory and input restriction; medium priority for patching once a fixed release is confirmed, because the exploit conditions are restrictive and no exploitation evidence is reviewed. This is not the CVSS score.

Conclusion

The core flaw is an integer overflow in FFmpeg's Hap frame header parsing that can produce a heap buffer overflow on 32-bit builds through 9.0.2 [1]. Teams running FFmpeg 9.0.2 or earlier, particularly 32-bit builds and applications that process untrusted Hap media, should act first, starting with inventory and input restriction [1]. The permanent fix is a vendor release that includes the referenced commit, which the pack does not confirm. Closure requires confirmed fixed versions, scanner results, crash log review and documented evidence [1, 2, 3].

Remediation checklist

  1. Inventory every FFmpeg library and binary at version 9.0.2 or earlier, including copies bundled inside applications, and flag 32-bit builds [1].
  2. Run the standard version command (ffmpeg -version) on hosts with the binary installed and record the banner; treat it as inventory, not proof of exploitability [1].
  3. Restrict processing of untrusted Hap content in applications and pipelines until a fixed build is deployed; verify with a non-malicious test sample in a test environment [1].
  4. Run affected media processing in isolated, unprivileged processes or containers to limit impact of a crash or memory corruption [1].
  5. Track the FFmpeg project for the first release including commit 62c308e0 or pull request 25702, and record the confirmed fixed version [1].
  6. Upgrade each confirmed affected build to the fixed release, or obtain a fixed build from the software vendor for bundled copies; confirm the new version afterward [1].
  7. Restart services and applications that load the library so the updated code is in use; verify process start times after the restart.
  8. Re-run an authenticated vulnerability scan and reconcile results against the inventory; investigate any remaining 32-bit vulnerable build.
  9. Add alerting on abnormal termination of media decoding processes and review crash logs for the validation period [1].
  10. Re-review the CVE record when NVD completes analysis, since it is currently Awaiting Analysis and its scoring may change [1].

Evidence gaps

  • Vendor advisory or release note with the fixed version: missing from the pack; check the FFmpeg release announcements and the referenced commit and pull request [1].
  • Complete affected range and whether 64-bit builds are affected: only the 'through 9.0.2' statement is given [1].
  • Root cause confirmation from the patch: the pack names only the CWE and the function; the referenced commit content is not in the pack [1].
  • Exploit or proof-of-concept availability: the VulnCheck advisory is referenced but its content is not in the pack [1].
  • Exploitation in the wild: no confirmed evidence in the pack; KEV absence is not evidence of absence [2][3].
  • Indicators of compromise: none provided; they would need to come from a trusted threat intelligence or vendor source [1].
  • NVD's own CVSS and CWE analysis: the record is Awaiting Analysis and the scores are from a secondary scorer [1].
  • Whether specific applications or services decode Hap content from untrusted sources: depends on local deployments and is not established by the pack [1].
  • Configuration option to exclude the Hap decoder in builds: not established by the reviewed sources [1].

References

  1. CVE-2026-125222 record. NIST National Vulnerability Database (NVD), 2026-11-10. https://nvd.nist.gov/vuln/detail/CVE-2026-125222. Accessed 2026-11-12. CVE record description, status and dates, CWE-190 classification, CVSS 3.1 and 4.0 scores and vectors with scorers, affected range through 9.0.2, 32-bit condition, referenced commit, pull request and advisory, and the stated code path and impact.
  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, and the statement that absence from KEV is not evidence of no exploitation.
  3. EPSS score for CVE-2026-125222. FIRST, 2026-11-10. https://api.first.org/data/v1/epss?cve=CVE-2026-125222. Accessed 2026-11-12. FIRST EPSS estimate of 0.0015 with percentile 0.0430 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 through 9.0.2 contains an integer overflow vulnerability in hap_parse_frame_header() in libavcodec/hapdec.c that allows attackers to trigger a heap buffer overflow on 32-bit builds. Attackers can craft Hap video frames with Snappy length prefixes that wrap tex_size, causing decompress_chunks_thread() to write outside tex_buf and crash the application or potentially execute code.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

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

An attacker without an account can exploit this with local access if a user views or visits something, but only under specific conditions.

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

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 · CVSS 3.1 7.0 from the CNA (vulncheck.com): CVSS:3.1/AV:L/AC:H/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≤ 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-125222?

CVE-2026-125222 is an integer overflow (CWE-190) in the Hap frame header parser of FFmpeg's libavcodec, which can lead to a heap buffer overflow on 32-bit builds and may crash the application or potentially enable code execution. Weakness type: Integer Overflow or Wraparound (CWE-190).

How severe is CVE-2026-125222?

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

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

FFmpeg ≤ 9.0.2.

How do I fix CVE-2026-125222?

Inventory every FFmpeg library and binary at version 9.0.2 or earlier, including copies bundled inside applications, and flag 32-bit builds. Run the standard version command (ffmpeg -version) on hosts with the binary installed and record the banner; treat it as inventory, not proof of exploitability. Restrict processing of untrusted Hap content in applications and pipelines until a fixed build is deployed; verify with a non-malicious test sample in a test environment.

Timeline & sources

References