Vulnerability · Published Feb 9, 2026 · Assigned by VulDB
CVE-2026-2242janet-lang janet specials.c janetc_if out-of-bounds
Low 3.3
In plain English
A low-severity out-of-bounds read in janet from janet-lang. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 8% of all known vulnerabilities).
Official 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 (as reported)
| Vendor | Product | Versions |
|---|---|---|
| janet-lang | janet | 1.40.01.40.1 |
Weakness: CWE-125, CWE-119 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C
References
- VDB-344981 | janet-lang janet specials.c janetc_if out-of-bounds vdb-entry, technical-description
- VDB-344981 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #754495 | janet-lang janet 2fabc80 Heap-based Buffer Overflow third-party-advisory
- https://github.com/janet-lang/janet/issues/1700 issue-tracking
- https://github.com/janet-lang/janet/issues/1702 issue-tracking
- https://github.com/oneafter/0123/blob/main/ja2/repro exploit
- https://github.com/janet-lang/janet/commit/c43e06672cd9dacf2122c99f362120a17c34b391 patch
- https://github.com/janet-lang/janet/ product