A vulnerability was found in janet-lang janet up to 1.40.1 and classified as problematic. The impacted element is the function
janetc_pop_funcdef of the file src/core/compile.c. Such manipulation leads to out-of-bounds read.
This vulnerability is listed as CVE-2026-2240. The attack must be carried out locally. In addition, an exploit is available.
A patch should be applied to remediate this issue.