CVE-2024-31578

NameCVE-2024-31578
DescriptionFFmpeg version n6.1.1 was discovered to contain a heap use-after-free via the av_hwframe_ctx_init function.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3928-1, ELA-1125-1, ELA-1222-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ffmpeg (PTS)stretch (security)7:3.2.18-0+deb9u1vulnerable
stretch (lts), stretch7:3.2.19-0+deb9u5fixed
buster, buster (lts)7:4.1.11-0+deb10u2fixed
buster (security)7:4.1.11-0+deb10u1vulnerable
bullseye7:4.3.7-0+deb11u1vulnerable
bullseye (security)7:4.3.8-0+deb11u1fixed
bookworm (security), bookworm7:5.1.6-0+deb12u1vulnerable
sid, trixie7:7.1-3fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ffmpegsourceexperimental7:7.0-1
ffmpegsourcestretch7:3.2.19-0+deb9u5ELA-1222-1
ffmpegsourcebuster7:4.1.11-0+deb10u2ELA-1222-1
ffmpegsourcebullseye7:4.3.8-0+deb11u1DLA-3928-1
ffmpegsource(unstable)7:7.0.1-3

Notes

[bookworm] - ffmpeg <postponed> (Pick up when fixed in 5.1.x)
[buster] - ffmpeg <postponed> (Pick up when fixed in 4.3.x)
Fixed by https://github.com/ffmpeg/ffmpeg/commit/3bb00c0a420c3ce83c6fafee30270d69622ccad7 (n7.0)

Search for package or bug name: Reporting problems