CVE-2026-2242
published medium CVSS 4.0 · 4.8janet-lang janet specials.c janetc_if out-of-bounds
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| janet-lang | — | janet1.40.0 · 1.40.1 | Affected | Not stated | VulDB |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 4.8 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- 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:P
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 3.3 | low | VulDB · cna | 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 | — |
| 3.0 | 3.3 | low | VulDB · cna | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C | — |
| 2.0 | 1.7 | low | VulDB · cna | AV:L/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:OF/RC:C | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| janet-lang | janet | 1.40.0 (affected)1.40.1 (affected) | VulDB · cna |
Weaknesses
2- CWE-125 Out-of-Bounds Read
- CWE-119 Memory Corruption
References
8- 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
- VDB-344981 | CTI Indicators (IOB, IOC, IOA) https://vuldb.com/?ctiid.344981
- VDB-344981 | janet-lang janet specials.c janetc_if out-of-bounds https://vuldb.com/?id.344981
- Submit #754495 | janet-lang janet 2fabc80 Heap-based Buffer Overflow https://vuldb.com/?submit.754495
Provider assertions
2VulDB · cna
janet-lang janet specials.c janetc_if out-of-bounds
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d24b958f0f69927249401d6b8f13f7fdb1af117ab8458898cf78f7d2013da140
- Ingested
- 23 Sep 2026, 09:08:49 UTC
- Source record
- Official CVE record