janet-lang janet specials.c janetc_if out-of-bounds
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| janet-lang | janet | 1.40.0; 1.40.1 | — | No fix listed | CNA |
- janet Vendorjanet-lang Affected 1.40.0; 1.40.1 Fixed in — No fix listed CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:janet-lang:janet:*:*:*:*:*:*:*:* | up to 1.40.1 | Vulnerable | janet-lang |
- cpe:2.3:a:janet-lang:janet:*:*:*:*:*:*:*:* Versions up to 1.40.1 Vulnerable ·janet-lang
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2026-2242
- 2026-10-03 Alias added: GHSA-j4rx-v32x-q49g
References
More janet-lang Janet vulnerabilities
- TI-2026-02464 janet-lang janet handleattr specials.c janetc_varset out-of-bounds CVSS 4.0MEDIUM 4.8
- TI-2026-01887 janet-lang janet compile.c janetc_pop_funcdef out-of-bounds CVSS 4.0MEDIUM 4.8
- TI-2022-12896 Janet before 1.22.0 mishandles arrays. CVSS 3.1HIGH 7.5
- TI-2026-01888 janet-lang janet os.c os_strftime out-of-bounds CVSS 4.0MEDIUM 4.8
Sources
- CVE-2026-2242 · CVE Program
- CVE-2026-2242 · NVD
- FIRST EPSS
- GHSA-j4rx-v32x-q49g · GitHub Advisory Database · CC BY 4.0
- CVE-2026-2242 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences