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.
References
Configurations

Configuration 1 (hide)

cpe:2.3:a:jsish:jsish:2.0:*:*:*:*:*:*:*

History

13 Oct 2026, 09:10

Type Values Removed Values Added
Summary
  • (es) Una confusión de tipos en jsish 2.0 permite un flujo de control incorrecto durante la ejecución del código de operación OP_NEXT. Cuando una expresión 'instanceof' utiliza un acceso a un elemento de array como operando de la izquierda dentro de un bucle for-in, la implementación de las instrucciones deja una referencia de array adicional en la pila en lugar de consumirla durante OP_INSTANCEOF. Como resultado, OP_NEXT interpreta el array como un objeto iterador y lee el puntero de función iterCmd de una estructura inválida, lo que podría causar un fallo o permitir la ejecución de código dependiendo de la disposición de la pila.

Information

Published : 2025-12-29 15:16

Updated : 2026-10-13 09:10


NVD link : CVE-2025-65570

Mitre link : CVE-2025-65570

CVE.ORG link : CVE-2025-65570


JSON object : View

Products Affected

jsish

  • jsish
CWE
CWE-843

Access of Resource Using Incompatible Type ('Type Confusion')