Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2025-65570

A type confusion in jsish 2.0 allows incorrect control flow during execution of the OP_NEXT opcode. When an “instanceof” expression uses an array element access as the left-hand operand inside a for-in loop, the instructions implementation leaves an additional array reference on the stack rather than consuming it during OP_INSTANCEOF. As a result, OP_NEXT interprets the array as an iterator object and reads the iterCmd function pointer from an invalid structure, potentially causing a crash or enabling code execution depending on heap layout.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-65570
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 22:59 UTC · Revision 1

Source evidence

CVE-2025-65570

core-osv · Original source

Published 29 Dec 2025, 00:00 UTC

A type confusion in jsish 2.0 allows incorrect control flow during execution of the OP_NEXT opcode. When an “instanceof” expression uses an array element access as the left-hand operand inside a for-in loop, the instructions implementation leaves an additional array reference on the stack rather than consuming it during OP_INSTANCEOF. As a result, OP_NEXT interprets the array as an iterator object and reads the iterCmd function pointer from an invalid structure, potentially causing a crash or enabling code execution depending on heap layout.

osv:CVE-2025-65570
Complete source record
{
  "id": "59069009ece207506b77a5c2270ee39676cb40fd3aa4384cd3279cced88526d2",
  "url": "https://osv.dev/vulnerability/CVE-2025-65570",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2025-65570",
    "summary": "A type confusion in jsish 2.0 allows incorrect control flow during execution of the OP_NEXT opcode. When an “instanceof” expression uses an array element access as the left-hand operand inside a for-in loop, the instructions implementation leaves an additional array reference on the stack rather than consuming it during OP_INSTANCEOF. As a result, OP_NEXT interprets the array as an iterator object and reads the iterCmd function pointer from an invalid structure, potentially causing a crash or enabling code execution depending on heap layout.",
    "evidence": "osv:CVE-2025-65570",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2025-65570",
      "aliases": [
        "CVE-2025-65570"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/pcmacdon/jsish",
              "type": "GIT",
              "events": [
                {
                  "introduced": "8154b7673827f8707065ff61306b8dad89571be3"
                },
                {
                  "last_affected": "8154b7673827f8707065ff61306b8dad89571be3"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:jsish:jsish:2.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.0"
                      },
                      {
                        "last_affected": "2.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-65570.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:40.173631228Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/65xxx/CVE-2025-65570.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-65570",
        "https://blog.mcsky.ro/writeups/2025/11/15/inline8-writeup.html"
      ],
      "provider_metadata": {
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/65xxx/CVE-2025-65570.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-65570",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 507792,
  "published_at": "2025-12-29T00:00:00+00:00"
}