CVE-2026-2242
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.
- Score
- CVSS 3.1 6.1 Medium
- Status
- Analyzed - cna@vuldb.com
- Published
- 2026-02-09
- Last modified
- 2026-02-23
- Weaknesses
- CWE-119, CWE-125
Affected products
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