{
  "id": "CVE-2026-65705",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-65705",
  "published_at": "2026-07-23T19:00:36.133Z",
  "title": "FFmpeg 3.4 - 8.1.2 vf_floodfill Out-of-Bounds Write via filter_frame()",
  "vendor": "FFmpeg",
  "product": "FFmpeg",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "FFmpeg versions 3.4 through 8.1.2 contain an out-of-bounds write vulnerability in the vf_floodfill video filter that allows attackers to corrupt heap memory by supplying a dynamically sized video stream with filtergraph reinitialization disabled via -reinit_filter 0. When config_input() allocates the points traversal stack based on initial frame dimensions and a subsequent larger frame is processed, filter_frame() performs flood-fill neighbor pushes beyond the original allocation boundary, resulting in heap corruption and process crash with potential for code execution depending on heap layout and process hardening.",
  "cwe": "CWE-787",
  "cpes": [
    "cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "FFmpeg",
        "product": "FFmpeg",
        "ranges": [
          "\u003e= 3.4, \u003c= 8.1.2"
        ],
        "fixed_in": [
          "f186c50cf53aec20e9a29059cb22ca3f2d59201c"
        ]
      }
    ],
    "upgrade": [
      "Upgrade FFmpeg to f186c50cf53aec20e9a29059cb22ca3f2d59201c or later."
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/f186c50cf53aec20e9a29059cb22ca3f2d59201c"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
