Description
FFmpeg before 9.0 has a signed integer overflow in libavformat/mov.c. In mov_read_ispe(), uint32_t width/height values from a crafted HEIF ispe box are stored into signed int fields without bounds checking, allowing values exceeding INT_MAX to become negative. In read_image_grid(), accumulating these values causes signed integer overflow (undefined behavior per C17 section 6.5), which on x86 wraps to a small positive value, bypassing downstream validity checks.
Published: 2026-09-23
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Signed integer overflow
Action: Patch
AI Analysis

Impact

The vulnerability is a signed integer overflow in the media format parser of FFmpeg before version 9.0. During the parsing of a HEIF ispe box, 32‑bit unsigned width and height values are copied into signed integer fields without proper bounds checking. Large values that exceed INT_MAX become negative, and when these are accumulated in later processing, the signed addition overflows. On x86‑64 processors the overflow wraps to a small positive number, bypassing subsequent validity checks and allowing an attacker to manipulate the parsing process. The weakness is classified as CWE‑190, reflecting improper integer conversion. This flaw could be exploited to cause a crash or, depending on FFmpeg's downstream usage, to inject malformed data that may lead to further control‑flow violations.

Affected Systems

FFmpeg, the open‑source multimedia framework, is affected by this issue in all releases preceding 9.0. The vendor's fix is available in commit 059eb2e853, which updates mov.c to correctly validate sizes before they are stored. Systems that frequently process HEIF or other media files using FFmpeg must therefore consider the impact of this integer overflow on the integrity of parsing procedures.

Risk and Exploitability

The CVSS score of 6.9 indicates a moderate severity; the EPSS score is not available, and the vulnerability is not listed in CISA's KEV catalog. The flaw is exploitable when an attacker can provide a crafted HEIF file to the FFmpeg library, which is typical for local user input or for services that decode media from untrusted sources. Although no publicly disclosed exploit currently exists, the overflow leads to undefined behavior that could be leveraged to crash the application or potentially produce arbitrary memory writes, especially on platforms with less defensive overflow handling.

Generated by OpenCVE AI on September 23, 2026 at 15:48 UTC.

Remediation

Vendor Solution

Update to FFmpeg commit 059eb2e853 or later.


OpenCVE Recommended Actions

  • Upgrade FFmpeg to commit 059eb2e853 or any later release (≥9.0).
  • If an immediate upgrade is not possible, avoid processing HEIF or other untrusted media with FFmpeg until the patch is applied.
  • Add additional checks in any application logic that calls FFmpeg to verify that image dimensions are within expected bounds before invoking decoding functions.

Generated by OpenCVE AI on September 23, 2026 at 15:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 26 Sep 2026 23:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 24 Sep 2026 00:15:00 +0000

Type Values Removed Values Added
Title Signed Integer Overflow in FFmpeg HEIF Parser Leading to Unsafe Integer Handling ffmpeg: FFmpeg: Data corruption and information disclosure via signed integer overflow in HEIF processing
References
Metrics threat_severity

None

threat_severity

Moderate


Wed, 23 Sep 2026 16:15:00 +0000

Type Values Removed Values Added
Title Signed Integer Overflow in FFmpeg HEIF Parser Leading to Unsafe Integer Handling

Wed, 23 Sep 2026 14:30:00 +0000

Type Values Removed Values Added
Description FFmpeg before 9.0 has a signed integer overflow in libavformat/mov.c. In mov_read_ispe(), uint32_t width/height values from a crafted HEIF ispe box are stored into signed int fields without bounds checking, allowing values exceeding INT_MAX to become negative. In read_image_grid(), accumulating these values causes signed integer overflow (undefined behavior per C17 section 6.5), which on x86 wraps to a small positive value, bypassing downstream validity checks.
First Time appeared Ffmpeg
Ffmpeg ffmpeg
Weaknesses CWE-190
CPEs cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*
Vendors & Products Ffmpeg
Ffmpeg ffmpeg
References
Metrics cvssV3_1

{'score': 6.9, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L'}


cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-09-26T22:51:22.006Z

Reserved: 2026-09-23T14:18:54.578Z

Link: CVE-2026-96611

cve-icon Vulnrichment

Updated: 2026-09-26T22:49:07.487Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-09-23T15:17:34.160

Modified: 2026-09-26T23:16:42.097

Link: CVE-2026-96611

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-23T14:18:54Z

Links: CVE-2026-96611 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-23T16:00:08Z

Weaknesses
  • CWE-190

    Integer Overflow or Wraparound