{
  "id": "cve-2026-125212",
  "title": "AISLE-indexed FFmpeg video encoders heap overflow when resolution grows mid-stream",
  "product": "VideoToolbox and Intel Quick Sync encoders (`videotoolboxenc.c`, `qsvenc.c`)",
  "ai_system": "AISLE AI-native engine (specific model/version not disclosed)",
  "organization": "AISLE Research and FFmpeg maintainers",
  "summary": "Both encoders could reuse undersized frame buffers when an input stream’s resolution increased mid-stream without rescaling, allowing a copy past the allocated VideoToolbox pixel buffer or QSV frame buffer. The two CVE identifiers are grouped in one case because the primary fix is the same general encoder-dimension check and AISLE’s report is credited for both encoder paths.",
  "ai_role": "AISLE’s individual pages for CVE-2026-125212 and CVE-2026-125235 both say “Discovered by AISLE” and credit Joshua Rogers (AISLE Research) as finder. The FFmpeg patch says the report described VideoToolbox and QSV encoders, cites both AISLE IDs, and says the issue replicated under ASAN. One shared fix rejects frames whose dimensions differ from encoder context; the two CVEs are conservatively grouped as one AI finding, not counted separately. Exact model/work split is unknown.",
  "disclosure_date": "2026-11-02",
  "ai_attribution_date": "2026-11-09",
  "classification": "disclosure",
  "classification_note": "The official CVE record(s) give CVE-2026-125212: datePublic 2026-11-02; CVE-2026-125235: datePublic 2026-11-02. AISLE published the individual AI-discovery pages/index attribution November 9, 2026. AISLE’s individual pages for CVE-2026-125212 and CVE-2026-125235 both say “Discovered by AISLE” and credit Joshua Rogers (AISLE Research) as finder. The FFmpeg patch says the report described VideoToolbox and QSV encoders, cites both AISLE IDs, and says the issue replicated under ASAN. One shared fix rejects frames whose dimensions differ from encoder context; the two CVEs are conservatively grouped as one AI finding, not counted separately. Exact model/work split is unknown.",
  "cves": [
    "CVE-2026-125212",
    "CVE-2026-125235"
  ],
  "source_url": "https://aisle.com/cve-discoveries/cve-2026-125212",
  "ai_source_url": "https://aisle.com/cve-discoveries/?page=2",
  "remediation": "fix documented",
  "remediation_note": "FFmpeg commit 9b99973 rejects frames whose dimensions do not match the encoder context; this shared fix maps to both listed encoder CVEs. Affected-version scope follows the CNA record; distributor release status is not generalized.",
  "advisory_url": "https://github.com/FFmpeg/FFmpeg/commit/9b99973b2bbecee0b7e1e57035b95498b42f54a6",
  "checked_date": "2026-11-15",
  "cvss": [
    {
      "cve": "CVE-2026-125212",
      "version": "4.0",
      "score": 7.3,
      "vector": "CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "source_url": "https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/125xxx/CVE-2026-125212.json",
      "source_name": "VulnCheck (CNA; CVE Program record)",
      "checked_date": "2026-11-16"
    },
    {
      "cve": "CVE-2026-125212",
      "version": "3.1",
      "score": 7,
      "vector": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "source_url": "https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/125xxx/CVE-2026-125212.json",
      "source_name": "VulnCheck (CNA; CVE Program record)",
      "checked_date": "2026-11-16"
    },
    {
      "cve": "CVE-2026-125235",
      "version": "4.0",
      "score": 7.3,
      "vector": "CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "source_url": "https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/125xxx/CVE-2026-125235.json",
      "source_name": "VulnCheck (CNA; CVE Program record)",
      "checked_date": "2026-11-16"
    },
    {
      "cve": "CVE-2026-125235",
      "version": "3.1",
      "score": 7,
      "vector": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "source_url": "https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/125xxx/CVE-2026-125235.json",
      "source_name": "VulnCheck (CNA; CVE Program record)",
      "checked_date": "2026-11-16"
    }
  ],
  "impacts": [
    {
      "cves": [
        "CVE-2026-125212",
        "CVE-2026-125235"
      ],
      "consequences": [
        "other",
        "denial of service"
      ],
      "conditions": "FFmpeg through 9.0.2 contains a heap buffer overflow vulnerability in libavcodec/videotoolboxenc.c that copies frames larger than encoder dimensions into undersized CVPixelBuffers. Attackers can supply crafted input whose resolution grows mid-stream, transcoded with VideoToolbox encoders without rescaling, to crash the application or corrupt memory. Heap-based Buffer Overflow FFmpeg through 9.0.2 contains a heap overflow vulnerability in libavcodec/qsvenc.c that allows attackers to corrupt memory by reusing an undersized pooled QSVFrame buffer when input dimensions increase. Attackers can supply crafted input whose resolution grows mid-stream, transcoded with Intel Quick Sync encoders without rescaling, to crash the application or corrupt heap memory. Heap-based Buffer Overflow",
      "exploitation": "The cited source does not state whether this issue was exploited in the wild.",
      "source_url": "https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/125xxx/CVE-2026-125212.json",
      "checked_date": "2026-11-16"
    }
  ]
}
