SecurityContext

CVE-2024-31581: FFmpeg - Buffer Overflow

  • Cve: CVE-2024-31581
  • Name: FFmpeg - Buffer Overflow
  • Description: FFmpeg version n6.1 was discovered to contain an improper validation of array index vulnerability in libavcodec/cbs_h266_syntax_template.c. This vulnerability allows attackers to cause undefined behavior within the application.
  • Impact: Attackers can cause undefined behavior, potentially leading to crashes or arbitrary code execution.
  • Remediation: Update to the latest version of FFmpeg where this issue is fixed.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: denial_of_service, remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.01113
  • Epss percentile: 0.66666
  • Assignee: [email protected]
  • Published at: 2024-04-17T19:15:07Z
  • Age in days: 951
  • Modified at: 2026-06-17T07:28:36Z
  • Patch available: yes
  • References total: 8
  • Products total: 2
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-31581
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-129Improper Validation of Array Index

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/ffmpeg/ffmpeg/commit/ce0c178a408d43e71085c28a47d50dc939b60196Patch
https://gist.github.com/1047524396/a7e9273e12553775826784035333cdd8Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6G7EYH2JAK5OJPVNC6AXYQ5K7YGYNCDN/Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IPETICRXUOGRIM4U3BCRTIKE3IZWCSBT/Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LE3ASLH6QF2E5OVJI5VA3JSEPJFFFMNY/Third Party Advisory
https://github.com/FFmpeg/FFmpeg/blob/n6.1.1/libavcodec/cbs_h266_syntax_template.c#L2048Product
https://lists.fedoraproject.org/archives/list/[email protected]/message/6G7EYH2JAK5OJPVNC6AXYQ5K7YGYNCDN/
https://lists.fedoraproject.org/archives/list/[email protected]/message/LE3ASLH6QF2E5OVJI5VA3JSEPJFFFMNY/

Products

ProductAffectedPlatform boundSourcesUrl
ffmpeg:ffmpeg= 6.1nonvd/v1/products/ffmpeg/ffmpeg
fedoraproject:fedora= 40, = 39, = 38nonvd/v1/products/fedoraproject/fedora

Projects

RepositoryLink kindsIndexedUrl
FFmpeg/FFmpegcommit, fixyes/v1/repositories/FFmpeg/FFmpeg

Index

  • Repositories: 10
  • Repositories high signal: 8
  • Checked, none or zero: packages

Exploitation

  • Remote: yes
  • Exposed hosts: 49161
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports