{
  "id": "cve-2026-125222",
  "title": "AISLE-indexed Hap decoder frame-size integer overflow leading to heap buffer overflow",
  "product": "FFmpeg Hap decoder (`libavcodec/hapdec.c:hap_parse_frame_header`)",
  "ai_system": "AISLE AI-native engine (specific model/version not disclosed)",
  "organization": "AISLE Research and FFmpeg maintainers",
  "summary": "On 32-bit builds, a crafted Hap frame with oversized Snappy length prefixes can wrap `tex_size`; decompression can then write beyond the allocated texture buffer.",
  "ai_role": "AISLE’s individual page says “Discovered by AISLE”; the official CVE record credits Joshua Rogers (AISLE Research) as finder. FFmpeg’s upstream patch addresses the Hap decoder integer-overflow path. No specific model/version is disclosed.",
  "disclosure_date": "2026-11-03",
  "ai_attribution_date": "2026-11-09",
  "classification": "disclosure",
  "classification_note": "The official CVE record(s) give CVE-2026-125222: datePublic 2026-11-03. AISLE published the individual AI-discovery pages/index attribution November 9, 2026. AISLE’s individual page says “Discovered by AISLE”; the official CVE record credits Joshua Rogers (AISLE Research) as finder. FFmpeg’s upstream patch addresses the Hap decoder integer-overflow path. No specific model/version is disclosed.",
  "cves": [
    "CVE-2026-125222"
  ],
  "source_url": "https://aisle.com/cve-discoveries/cve-2026-125222",
  "ai_source_url": "https://aisle.com/cve-discoveries/cve-2026-125222",
  "remediation": "fix documented",
  "remediation_note": "FFmpeg commit 62c308e fixes the `hap_parse_frame_header()` size arithmetic. Affected-version scope follows the CNA record; distributor release status is not generalized.",
  "advisory_url": "https://github.com/FFmpeg/FFmpeg/commit/62c308e0416bb701447817fe6f0bff074d206215",
  "checked_date": "2026-11-15",
  "cvss": [
    {
      "cve": "CVE-2026-125222",
      "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-125222.json",
      "source_name": "VulnCheck (CNA; CVE Program record)",
      "checked_date": "2026-11-16"
    },
    {
      "cve": "CVE-2026-125222",
      "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-125222.json",
      "source_name": "VulnCheck (CNA; CVE Program record)",
      "checked_date": "2026-11-16"
    }
  ],
  "impacts": [
    {
      "cves": [
        "CVE-2026-125222"
      ],
      "consequences": [
        "denial of service",
        "code execution"
      ],
      "conditions": "The CNA description states: 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.",
      "exploitation": "Exploitation in the wild is not established by the cited description.",
      "source_url": "https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/125xxx/CVE-2026-125222.json",
      "checked_date": "2026-11-16"
    }
  ]
}
