CVE-2026-2240: medium-severity vulnerability in janet-lang janet
janet-lang janet compile.c janetc_pop_funcdef out-of-bounds
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
13Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 4.8epss 0.2%
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.
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P
Affected products
janet-lang · janetRelated CVEs — janet-lang janet
In the same product, most dangerous first.
CVE-2026-2869MEDIUMjanet-lang janet handleattr specials.c janetc_varset out-of-boundsEPSS 0.2%CVE-2026-2241MEDIUMjanet-lang janet os.c os_strftime out-of-boundsEPSS 0.2%CVE-2026-2242MEDIUMjanet-lang janet specials.c janetc_if out-of-boundsEPSS 0.2%CVE-2026-10268MEDIUMjanet-lang janet marsh.c unmarshal_one_fiber integer overflowEPSS 0.1%CVE-2026-10267MEDIUMjanet-lang janet debug.c doframe out-of-boundsEPSS 0.1%
References
https://github.com/janet-lang/janet/https://github.com/janet-lang/janet/commit/4dd08a4cdef5b1c42d9a2c19fc24412e97ef51d5https://github.com/janet-lang/janet/issues/1702https://github.com/janet-lang/janet/issues/1702#issuecomment-3790473369https://github.com/oneafter/0123/blob/main/ja4/reprohttps://vuldb.com/?ctiid.344979https://vuldb.com/?id.344979https://vuldb.com/?submit.753155