{
  "id": "cve-2025-62494",
  "title": "Big Sleep finds type confusion in QuickJS string addition",
  "product": "QuickJS",
  "ai_system": "Google Big Sleep",
  "organization": "Google and QuickJS",
  "summary": "The QuickJS string-addition path can assume the right-hand primitive conversion remains a string even when coercion changes the operand type. The QuickJS upstream changelog lists release 2025-09-13 as the next release; no exploit claim is made.",
  "ai_role": "The Google-assigned CVE record credits Google Big Sleep as finder and references the individual Google Issue Tracker report (CVE-2025-62494). The sources do not specify human review steps.",
  "disclosure_date": "2025-10-16",
  "ai_attribution_date": "2025-10-16",
  "classification": "disclosure",
  "classification_note": "The public Google-assigned CVE record attributes the finder and lists versions before 2025-09-13 as affected; no exploitation claim is made.",
  "cves": [
    "CVE-2025-62494"
  ],
  "source_url": "https://www.cve.org/CVERecord?id=CVE-2025-62494",
  "ai_source_url": "https://www.cve.org/CVERecord?id=CVE-2025-62494",
  "remediation": "fix documented",
  "remediation_note": "Google CNA record identifies versions earlier than QuickJS 2025-09-13 as affected; the upstream changelog confirms that release date. The changelog itself only summarizes miscellaneous bug fixes, so no specific commit is identified here.",
  "advisory_url": "https://bellard.org/quickjs/Changelog",
  "checked_date": "2026-11-14",
  "cvss": [
    {
      "cve": "CVE-2025-62494",
      "version": "4.0",
      "score": 7.1,
      "vector": "CVSS:4.0/AV:A/AC:H/AT:P/PR:L/UI:P/VC:H/VI:H/VA:L/SC:H/SI:H/SA:L",
      "source_url": "https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2025/62xxx/CVE-2025-62494.json",
      "source_name": "Google (CNA; CVE Program record)",
      "checked_date": "2026-11-16",
      "scenarios": [
        "GENERAL"
      ]
    }
  ],
  "impacts": [
    {
      "cves": [
        "CVE-2025-62494"
      ],
      "consequences": [
        "code execution"
      ],
      "conditions": "The CNA description states: A type confusion vulnerability exists in the handling of the string addition (+) operation within the QuickJS engine. * The code first checks if the left-hand operand is a string. * It then attempts to convert the right-hand operand to a primitive value using JS_ToPrimitiveFree. This conversion can trigger a callback (e.g., toString or valueOf). * During this callback, an attacker can modify the type of the left-hand operand in memory, changing it from a string to a different type (e.g., an object or an array). * The code then proceeds to call JS_ConcatStringInPlace, which still treats the modified left-hand value as a string. This mismatch between the assumed type (string) and the actual type allows an attacker to control the data structure being processed by the concatenation logic, resulting in a type confusion condition. This can lead to out-of-bounds memory access, potentially resulting in memory corruption and arbitrary code execution in the context of the QuickJS runtime.",
      "exploitation": "Exploitation in the wild is not established by the cited description.",
      "source_url": "https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2025/62xxx/CVE-2025-62494.json",
      "checked_date": "2026-11-16"
    }
  ]
}
