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.
References
| Link | Resource |
|---|---|
| https://github.com/janet-lang/janet/ | Product |
| https://github.com/janet-lang/janet/commit/4dd08a4cdef5b1c42d9a2c19fc24412e97ef51d5 | Patch |
| https://github.com/janet-lang/janet/issues/1702 | Exploit Issue Tracking |
| https://github.com/janet-lang/janet/issues/1702#issuecomment-3790473369 | Exploit Issue Tracking |
| https://github.com/oneafter/0123/blob/main/ja4/repro | Exploit |
| https://vuldb.com/?ctiid.344979 | Permissions Required VDB Entry |
| https://vuldb.com/?id.344979 | Third Party Advisory VDB Entry |
| https://vuldb.com/?submit.753155 | Third Party Advisory VDB Entry |
Configurations
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/ - Product | |
| References | () https://github.com/janet-lang/janet/commit/4dd08a4cdef5b1c42d9a2c19fc24412e97ef51d5 - Patch | |
| References | () https://github.com/janet-lang/janet/issues/1702 - Exploit, Issue Tracking | |
| References | () https://github.com/janet-lang/janet/issues/1702#issuecomment-3790473369 - Exploit, Issue Tracking | |
| References | () https://github.com/oneafter/0123/blob/main/ja4/repro - Exploit | |
| References | () https://vuldb.com/?ctiid.344979 - Permissions Required, VDB Entry | |
| References | () https://vuldb.com/?id.344979 - Third Party Advisory, VDB Entry | |
| References | () https://vuldb.com/?submit.753155 - Third Party Advisory, VDB Entry | |
| Summary |
|
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
