What’s Vulnerable › Vulnerabilities
CVE-2026-2242: janet-lang janet specials.c janetc_if out-of-bounds
- Severity: medium (CVSS 6.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-02-09 · updated 2026-06-17
- Weakness: CWE-119
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.
Affected products
- janet-lang janet: through 1.40.1
References
- https://github.com/janet-lang/janet/
- https://github.com/janet-lang/janet/commit/c43e06672cd9dacf2122c99f362120a17c34b391
- https://github.com/janet-lang/janet/issues/1700
- https://github.com/janet-lang/janet/issues/1702
- https://github.com/oneafter/0123/blob/main/ja2/repro
- https://vuldb.com/?ctiid.344981
- https://vuldb.com/?id.344981
- https://vuldb.com/?submit.754495
Get alerted when CVE-2026-2242 or the next vulnerability affects your stack