CVE-2026-2240
Severity CVSS v4.0:
MEDIUM
Type:
CWE-119
Buffer Errors
Publication date:
09/02/2026
Last modified:
09/02/2026
Description
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.
Impact
Base Score 4.0
4.80
Severity 4.0
MEDIUM
Base Score 3.x
3.30
Severity 3.x
LOW
Base Score 2.0
1.70
Severity 2.0
LOW
References to Advisories, Solutions, and Tools
- https://github.com/janet-lang/janet/
- https://github.com/janet-lang/janet/commit/4dd08a4cdef5b1c42d9a2c19fc24412e97ef51d5
- https://github.com/janet-lang/janet/issues/1702
- https://github.com/janet-lang/janet/issues/1702#issuecomment-3790473369
- https://github.com/oneafter/0123/blob/main/ja4/repro
- https://vuldb.com/?ctiid_344979=
- https://vuldb.com/?id_344979=
- https://vuldb.com/?submit_753155=



