CVE-2026-2240

A vulnerability has been found in janet-lang janet up to 1.40.1. The impacted element is the function janetc_pop_funcdef of the file src/core/compile.c. Such manipulation leads to out-of-bounds read. The attack must be carried out locally. The exploit has been disclosed to the public and may be used. The name of the patch is 4dd08a4cdef5b1c42d9a2c19fc24412e97ef51d5. A patch should be applied to remediate this issue.
Configurations

Configuration 1 (hide)

cpe:2.3:a:janet-lang:janet:*:*:*:*:*:*:*:*

History

25 Feb 2026, 14:43

Type Values Removed Values Added
CPE cpe:2.3:a:janet-lang:janet:*:*:*:*:*:*:*:*
First Time Janet-lang janet
Janet-lang
References () https://github.com/janet-lang/janet/ - () https://github.com/janet-lang/janet/ - Product
References () https://github.com/janet-lang/janet/commit/4dd08a4cdef5b1c42d9a2c19fc24412e97ef51d5 - () https://github.com/janet-lang/janet/commit/4dd08a4cdef5b1c42d9a2c19fc24412e97ef51d5 - Patch
References () https://github.com/janet-lang/janet/issues/1702 - () https://github.com/janet-lang/janet/issues/1702 - Exploit, Issue Tracking
References () https://github.com/janet-lang/janet/issues/1702#issuecomment-3790473369 - () https://github.com/janet-lang/janet/issues/1702#issuecomment-3790473369 - Exploit, Issue Tracking
References () https://github.com/oneafter/0123/blob/main/ja4/repro - () https://github.com/oneafter/0123/blob/main/ja4/repro - Exploit
References () https://vuldb.com/?ctiid.344979 - () https://vuldb.com/?ctiid.344979 - Permissions Required, VDB Entry
References () https://vuldb.com/?id.344979 - () https://vuldb.com/?id.344979 - Third Party Advisory, VDB Entry
References () https://vuldb.com/?submit.753155 - () https://vuldb.com/?submit.753155 - Third Party Advisory, VDB Entry
Summary
  • (es) Se ha encontrado una vulnerabilidad en janet-lang janet hasta la versión 1.40.1. El elemento afectado es la función janetc_pop_funcdef del archivo src/core/compile.c. Dicha manipulación conduce a una lectura fuera de límites. El ataque debe llevarse a cabo localmente. El exploit ha sido divulgado al público y puede ser utilizado. El nombre del parche es 4dd08a4cdef5b1c42d9a2c19fc24412e97ef51d5. Se debería aplicar un parche para remediar este problema.

09 Feb 2026, 16:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-02-09 16:16

Updated : 2026-02-25 14:43


NVD link : CVE-2026-2240

Mitre link : CVE-2026-2240

CVE.ORG link : CVE-2026-2240


JSON object : View

Products Affected

janet-lang

  • janet
CWE
CWE-119

Improper Restriction of Operations within the Bounds of a Memory Buffer

CWE-125

Out-of-bounds Read