CVE-2026-2242: janet · Out-of-bounds Read
Affects janetSource CVE Database V5
Public exploit available · CVSS 4.8 Medium.
Data as of 26 Oct 2026, 12:55 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 7% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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:PExploitation evidence
Disclosed: evidence found.
CVE published 9 Feb 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: evidence found.
CVSS exploit maturity: proof of concept public
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| janet-langjanet | Affected
| Fixed in– |
AI-suggested
To mitigate CVE-2026-2242, organizations should promptly apply the official patch identified by commit c43e06672cd9dacf2122c99f362120a17c34b391 that corrects the bounds checking in the janetc_if function. If patching is not immediately feasible, restrict local access to systems running janet-lang to trusted users only, minimizing the risk of exploitation. Employ strict access controls and monitoring to detect unusual local activity. Consider running janet-lang processes with least privilege and in isolated environments or containers to limit impact of potential exploitation. Regularly audit and update janet-lang versions to incorporate security fixes. Additionally, review usage of janet-lang in production to assess whether alternative scripting environments with broader security support might be appropriate. Implement host-based intrusion detection to alert on suspicious local behavior targeting janet-lang processes.
Description
A vulnerability was determined in janet-lang janet up to 1.40.1. This impacts the function janetc_if of the file src/core/specials.c. Executing a manipulation can lead to out-of-bounds read. The attack needs to be launched locally. The exploit has been publicly disclosed and may be utilized. This patch is called c43e06672cd9dacf2122c99f362120a17c34b391. It is advisable to implement a patch to correct this issue.
References
- vuldb.com (opens in a new tab)
- vuldb.com (opens in a new tab)
- vuldb.com (opens in a new tab)
- github.com/janet-lang/janet/issues/1700 (opens in a new tab)
- github.com/janet-lang/janet/issues/1702 (opens in a new tab)
- github.com/oneafter/0123/blob/main/ja2/repro (opens in a new tab)
- github.com/janet-lang/janet/commit/c43e06672cd9dacf2122c99f362120a17c34b391 (opens in a new tab)
- github.com/janet-lang/janet/ (opens in a new tab)