Advisory

DEBIAN-CVE-2022-2566

Also known as: CVE-2022-2566

Summary

The record has no summary.

Details

A heap out-of-bounds memory write exists in FFMPEG since version 5.1. The size calculation in build_open_gop_key_points() goes through all entries in the loop and adds sc->ctts_data[i].count to sc->sample_offsets_count. This can lead to an integer overflow resulting in a small allocation with av_calloc(). An attacker can cause remote code execution via a malicious mp4 file. We recommend upgrading past commit c953baa084607dd1d84c3bfcce3cf6a87c3e6e05

Severity

High Basis: CVSS v3 score 7.8, vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Dates

Published
2022-09-23 12:15 UTC
Modified
2026-11-18 06:01 UTC

Affected packages and fixes

ffmpeg

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 7:5.1.1-1 (ecosystem)

Fixed versions

7:5.1.1-1

Fix

  • Fixed version 7:5.1.1-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

ffmpeg

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 7:5.1.1-1 (ecosystem)

Fixed versions

7:5.1.1-1

Fix

  • Fixed version 7:5.1.1-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

ffmpeg

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 7:5.1.1-1 (ecosystem)

Fixed versions

7:5.1.1-1

Fix

  • Fixed version 7:5.1.1-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences