AI Science Tracker

AISLE-indexed FFmpeg video encoders heap overflow when resolution grows mid-stream

VideoToolbox and Intel Quick Sync encoders (`videotoolboxenc.c`, `qsvenc.c`) · AI involvement attributed to AISLE AI-native engine (specific model/version not disclosed)

Finding and attribution

Both encoders could reuse undersized frame buffers when an input stream’s resolution increased mid-stream without rescaling, allowing a copy past the allocated VideoToolbox pixel buffer or QSV frame buffer. The two CVE identifiers are grouped in one case because the primary fix is the same general encoder-dimension check and AISLE’s report is credited for both encoder paths.

Product: VideoToolbox and Intel Quick Sync encoders (`videotoolboxenc.c`, `qsvenc.c`). AI system: AISLE AI-native engine (specific model/version not disclosed). Team / organization: AISLE Research and FFmpeg maintainers.

CVE identifiers: CVE-2026-125212, CVE-2026-125235.

AI and human contribution (source account): AISLE’s individual pages for CVE-2026-125212 and CVE-2026-125235 both say “Discovered by AISLE” and credit Joshua Rogers (AISLE Research) as finder. The FFmpeg patch says the report described VideoToolbox and QSV encoders, cites both AISLE IDs, and says the issue replicated under ASAN. One shared fix rejects frames whose dimensions differ from encoder context; the two CVEs are conservatively grouped as one AI finding, not counted separately. Exact model/work split is unknown.

Human involvement is only described where the source account establishes it; unknown involvement does not mean none. Vendor confirmation of a flaw does not confirm every claim about AI contribution.

Discovery context: The official CVE record(s) give CVE-2026-125212: datePublic 2026-11-02; CVE-2026-125235: datePublic 2026-11-02. AISLE published the individual AI-discovery pages/index attribution November 9, 2026. AISLE’s individual pages for CVE-2026-125212 and CVE-2026-125235 both say “Discovered by AISLE” and credit Joshua Rogers (AISLE Research) as finder. The FFmpeg patch says the report described VideoToolbox and QSV encoders, cites both AISLE IDs, and says the issue replicated under ASAN. One shared fix rejects frames whose dimensions differ from encoder context; the two CVEs are conservatively grouped as one AI finding, not counted separately. Exact model/work split is unknown.

Remediation status: fix documented. FFmpeg commit 9b99973 rejects frames whose dimensions do not match the encoder context; this shared fix maps to both listed encoder CVEs. Affected-version scope follows the CNA record; distributor release status is not generalized.

A source-documented fix does not establish installed patches or current safety. Source checking does not independently reproduce the finding or establish observed exploitation.

Disclosed 2 Nov 2026. AI attribution dated 9 Nov 2026. Sources checked 15 Nov 2026; these are separate dates, not a live installation check.

Recorded CVSS: High · highest recorded score 7.3. Documented technical effects: other, denial of service.

Severity, consequences and exploitation evidence

Case grouping uses the highest recorded CVSS score, with its version-specific severity band. It is descriptive, not a combined or editorial risk index. All recorded assessments remain below; scores from different versions and sources may disagree. CVSS specifications define version-specific scoring and severity bands.

CVE-2026-125212, CVE-2026-125235: other, denial of service.
Prerequisites / affected scope: FFmpeg through 9.0.2 contains a heap buffer overflow vulnerability in libavcodec/videotoolboxenc.c that copies frames larger than encoder dimensions into undersized CVPixelBuffers. Attackers can supply crafted input whose resolution grows mid-stream, transcoded with VideoToolbox encoders without rescaling, to crash the application or corrupt memory. Heap-based Buffer Overflow FFmpeg through 9.0.2 contains a heap overflow vulnerability in libavcodec/qsvenc.c that allows attackers to corrupt memory by reusing an undersized pooled QSVFrame buffer when input dimensions increase. Attackers can supply crafted input whose resolution grows mid-stream, transcoded with Intel Quick Sync encoders without rescaling, to crash the application or corrupt heap memory. Heap-based Buffer Overflow.
Exploitation evidence: The cited source does not state whether this issue was exploited in the wild.. Impact source · checked 16 Nov 2026.

Documented fix: FFmpeg commit 9b99973 rejects frames whose dimensions do not match the encoder context; this shared fix maps to both listed encoder CVEs. Affected-version scope follows the CNA record; distributor release status is not generalized.

Original evidence

Download this source record (JSON)

Open this case in the interactive tracker · Browse all static security cases