CVE-2026-2240janet-lang janet compile.c janetc_pop_funcdef out-of-bounds
Updated under an hour ago ()
Does this affect you?
It affects janet-lang janet and 1 other product. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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
- 3.3 LOW (v3.1, CNA)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
- Weakness (CWE)
- CWE-125, CWE-119
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- VulDB
- NVD analysis
- Analyzed
- Record last updated
- Feb 23, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
janet-lang janet janet_lang:janet (from the name) | 1.40.0; 1.40.1 | CNA record |
janet-lang janet janet-lang:janet | through 1.40.1 | NVD |
References
- https://vuldb.com/?id.344979vdb-entry, technical-description, third-party-advisory
- https://vuldb.com/?ctiid.344979signature, permissions-required, vdb-entry
- https://vuldb.com/?submit.753155third-party-advisory, vdb-entry
- https://github.com/janet-lang/janet/issues/1702issue-tracking, exploit
- https://github.com/janet-lang/janet/issues/1702#issuecomment-3790473369issue-tracking, exploit
- https://github.com/oneafter/0123/blob/main/ja4/reproexploit
- https://github.com/janet-lang/janet/commit/4dd08a4cdef5b1c42d9a2c19fc24412e97ef51d5patch
- https://github.com/janet-lang/janet/product
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.