CVE-2026-2240
A vulnerability has been found in janet-lang janet up to 1.40.1. …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/janet-lang/janet/
- github.com/janet-lang/janet/commit/4dd08a4cdef5b1c42d9a2c19fc24412e97ef51d5
- github.com/janet-lang/janet/issues/1702
- github.com/janet-lang/janet/issues/1702#issuecomment-3790473369
- github.com/oneafter/0123/blob/main/ja4/repro
- vuldb.com/?ctiid.344979
- vuldb.com/?id.344979
- vuldb.com/?submit.753155
- nvd.nist.gov/vuln/detail/CVE-2026-2240
- cve.org/CVERecord?id=CVE-2026-2240
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.