CVE-2026-2240
janet-lang janet compile.c janetc_pop_funcdef out-of-bounds
CVSS Score
3.3
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-125 CWE-119 |
| Vendor | janet-lang |
| Product | janet |
| Published | Feb 9, 2026 |
| Last Updated | Feb 23, 2026 |
Stay Ahead of the Next One
Get instant alerts for janet-lang janet
Be the first to know when new low vulnerabilities affecting janet-lang janet are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
Affected Versions
janet-lang / janet
1.40.0 1.40.1
References
vuldb.com: https://vuldb.com/?id.344979 vuldb.com: https://vuldb.com/?ctiid.344979 vuldb.com: https://vuldb.com/?submit.753155 github.com: https://github.com/janet-lang/janet/issues/1702 github.com: https://github.com/janet-lang/janet/issues/1702#issuecomment-3790473369 github.com: https://github.com/oneafter/0123/blob/main/ja4/repro github.com: https://github.com/janet-lang/janet/commit/4dd08a4cdef5b1c42d9a2c19fc24412e97ef51d5 github.com: https://github.com/janet-lang/janet/
Credits
๐ Oneafter (VulDB User)