Buffer overflow in Ffmpeg

CVE-2024-7272

A vulnerability, which was classified as critical, was found in FFmpeg up to 5.1.5. This affects the function fill_audiodata of the file /libswresample/swresample.c. The manipulation leads to heap-based buffer overflow. It is possible to initiate the attack remotely. This issue was fixed in version 6.0 by 9903ba28c28ab18dc7b7b6fb8571cc8b5caae1a6 but a backport for 5.1 was forgotten. The exploit has been disclosed to the public and may be used. Upgrading to version 5.1.6 and 6.0 9903ba28c28ab18dc7b7b6fb8571cc8b5caae1a6 is able to address this issue. It is recommended to upgrade the affected component.

Vulnerability class: Buffer Overflow

EPSS: 0.012 (65.0th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L.

Affected products

  • Ffmpeg
  • N/a Ffmpeg — versions 5.1.0, 5.1.1, 5.1.2

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2024-7272?
CVE-2024-7272 is a medium-severity vulnerability in Ffmpeg, classified under Heap-based Buffer Overflow. CVSS score: 6.3/10. Published 2024-08-12.
How severe is CVE-2024-7272?
Medium severity. CVSS v3 base score is 6.3 out of 10.
Is CVE-2024-7272 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.