SecurityContext

CVE-2026-125222: FFmpeg - Integer Overflow

  • Cve: CVE-2026-125222
  • Name: FFmpeg - Integer Overflow
  • Description: FFmpeg through 9.0.2 contains an integer overflow vulnerability in hap_parse_frame_header() in libavcodec/hapdec.c that allows attackers to trigger a heap buffer overflow on 32-bit builds. Attackers can craft Hap video frames with Snappy length prefixes that wrap tex_size, causing decompress_chunks_thread() to write outside tex_buf and crash the application or potentially execute code.
  • Impact: Attackers can cause a heap buffer overflow, leading to application crash or potential arbitrary code execution.
  • Remediation: Update to the latest version of FFmpeg.
  • Vulnerability type: integer_overflow
  • Vulnerability impact: denial_of_service, remote_code_execution
  • Requirement type: none
  • Labels source: securitycontext
  • Severity: high
  • Cvss score: 7
  • Cvss vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Epss score: 0.00151
  • Epss percentile: 0.042
  • Assignee: [email protected]
  • Published at: 2026-11-09T19:16:59Z
  • Age in days: 15
  • Modified at: 2026-11-13T13:18:15Z
  • References total: 5
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-125222
  • Nvd status: undergoing_analysis
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-190Integer Overflow or Wraparound

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25702
https://github.com/FFmpeg/FFmpeg
https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/hapdec.c#L215
https://github.com/FFmpeg/FFmpeg/commit/62c308e0416bb701447817fe6f0bff074d206215
https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-heap-buffer-overflow-via-hap-parse-frame-header

Products

ProductAffectedPlatform boundSourcesUrl
ffmpeg:ffmpeg<= 9.0.2nocna/v1/products/ffmpeg/ffmpeg

Projects

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

Index

  • Repositories: 661
  • Repositories high signal: 366
  • Checked, none or zero: packages

Exploitation

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