{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "2.8.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "245b4190453a47e76814227facba320531cf0c51"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "c40fcf6319cf5e03cf39e4295e553045e695c22c"
            },
            {
              "fixed": "245b4190453a47e76814227facba320531cf0c51"
            }
          ],
          "repo": "https://github.com/tasemulators/fceux",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-122"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142492.json"
  },
  "details": "FCEUX through 2.8.0 contains a heap buffer overflow vulnerability in ApplyIPS() in src/file.cpp that allows attackers to write out of bounds by supplying a crafted IPS patch file with a zero-length RLE record. Attackers can distribute a ROM with a malicious sidecar .ips file that is auto-applied on open, writing 65536 chosen bytes at a chosen offset to corrupt heap memory and potentially execute code.",
  "id": "CVE-2026-142492",
  "modified": "2026-12-02T21:45:40.192670916Z",
  "published": "2026-12-02T17:42:36.404Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142492.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/TASEmulators/fceux"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/TASEmulators/fceux/blob/v2.8.0/src/file.cpp#L99-L124"
    },
    {
      "type": "FIX",
      "url": "https://github.com/TASEmulators/fceux/commit/245b4190453a47e76814227facba320531cf0c51"
    },
    {
      "type": "FIX",
      "url": "https://github.com/TASEmulators/fceux/pull/863"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142492"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/fceux-through-2.8.0-heap-buffer-overflow-via-ips-rle-record-in-applyips"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "FCEUX through 2.8.0 Heap Buffer Overflow via IPS RLE Record in ApplyIPS()"
}