janet-lang janet up to 1.40.1 src/core/specials.c janetc_if out-of-bounds
Summary
A vulnerability was found in janet-lang janet up to 1.40.1. It has been rated as problematic. Affected is the function janetc_if of the file src/core/specials.c. The manipulation leads to out-of-bounds.
This vulnerability is documented as CVE-2026-2242. The attack needs to be performed locally. Additionally, an exploit exists.
Applying a patch is the recommended action to fix this issue.
Details
A vulnerability, which was classified as problematic, has been found in janet-lang janet up to 1.40.1. This issue affects the function janetc_if of the file src/core/specials.c. The manipulation with an unknown input leads to a out-of-bounds vulnerability. Using CWE to declare the problem leads to CWE-125. The product reads data past the end, or before the beginning, of the intended buffer. Impacted is availability.
The advisory is shared at github.com. The identification of this vulnerability is CVE-2026-2242. The exploitation is known to be easy. An attack has to be approached locally. Technical details as well as a public exploit are known.
The exploit is available at github.com. It is declared as proof-of-concept.
Applying the patch c43e06672cd9dacf2122c99f362120a17c34b391 is able to eliminate this problem. The bugfix is ready for download at github.com.
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Product
Vendor
Name
Version
License
Website
- Product: https://github.com/janet-lang/janet/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒
CVSSv3
VulDB Meta Base Score: 4.2VulDB Meta Temp Score: 4.1
VulDB Base Score: 3.3
VulDB Temp Score: 3.0
VulDB Vector: 🔒
VulDB Reliability: 🔍
NVD Base Score: 6.1
NVD Vector: 🔒
CNA Base Score: 3.3
CNA Vector: 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Out-of-boundsCWE: CWE-125 / CWE-119
CAPEC: 🔒
ATT&CK: 🔒
Physical: Partially
Local: Yes
Remote: No
Availability: 🔒
Access: Public
Status: Proof-of-Concept
Download: 🔒
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔒
Patch: c43e06672cd9dacf2122c99f362120a17c34b391
Timeline
02/09/2026 Advisory disclosed02/09/2026 VulDB entry created
02/26/2026 VulDB entry last update
Sources
Product: github.comAdvisory: 1700
Status: Confirmed
Confirmation: 🔒
CVE: CVE-2026-2242 (🔒)
GCVE (CVE): GCVE-0-2026-2242
GCVE (VulDB): GCVE-100-344981
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 02/09/2026 10:43Updated: 02/26/2026 13:51
Changes: 02/09/2026 10:43 (60), 02/09/2026 19:34 (30), 02/26/2026 13:51 (12)
Complete: 🔍
Submitter: Oneafter
Cache ID: 216::103
Submit
Accepted
- Submit #754495: janet-lang janet 2fabc80 Heap-based Buffer Overflow (by Oneafter)
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
No comments yet. Languages: en.
Please log in to comment.