CVE-2026-2240
LOW EPSS 5.3%
Published Feb 9, 20264mo ago · Modified Apr 29, 20262mo ago
1.9 CVSS 4.0
Published Feb 9, 2026 4mo ago
Last Modified Apr 29, 2026 2mo ago
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.
CVSS Details
Base Score
Exploitability
Impact
Vector string
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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope X
Threat Intelligence
EPSS Exploit Probability
5.3% percentile
Exploit & Patch Status
Public Exploit Known
Patch Available
Weaknesses 2
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer Memory Safety
CWE-125 Out-of-bounds Read Memory Safety
Affected Products 1
| Vendor | Product | Version | Range |
|---|---|---|---|
| janet-lang | janet | * | ≤1.40.1 |
References 8
- github.com https://github.com/janet-lang/janet/
- github.com https://github.com/janet-lang/janet/commit/4dd08a4cdef5b1c42d9a2c19fc24412e97ef51d5
- 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
- vuldb.com https://vuldb.com/?ctiid.344979
- vuldb.com https://vuldb.com/?id.344979
- vuldb.com https://vuldb.com/?submit.753155
Remediation
- github.com https://github.com/janet-lang/janet/commit/4dd08a4cdef5b1c42d9a2c19fc24412e97ef51d5