CVE-2026-2240 janet-lang janet compile.c janetc_pop_funcdef out-of-bounds
MediumCVSS 4.8
EPSS 0.23%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
Description
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| janet-lang janet | <= 1.40.1; = 1.40.0; = 1.40.1 | after 1.40.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| janet-lang janet | = 1.40.0 | No fix listed |
| janet-lang janet | = 1.40.1 | No fix listed |
| janet-lang janet | <= 1.40.1 | No fix listed |
References
- VDB-344979 | janet-lang janet compile.c janetc_pop_funcdef out-of-bounds technical-description third-party-advisory vdb-entry
- VDB-344979 | CTI Indicators (IOB, IOC, IOA) permissions-required signature vdb-entry
- Submit #753155 | janet-lang janet 883dde4 Heap-based Buffer Overflow third-party-advisory vdb-entry
- github.com exploit issue-tracking
- github.com exploit
- github.com patch
- github.com product