CVE-2026-2869 Details
Description
A vulnerability was identified in janet-lang janet up to 1.40.1. Affected by this vulnerability is the function janetc_varset of the file src/core/specials.c of the component handleattr Handler. The manipulation leads to out-of-bounds read. The attack can only be performed from a local environment. The exploit is publicly available and might be used. Upgrading to version 1.41.0 addresses this issue. The identifier of the patch is 2fabc80151a2b8834ee59cda8a70453f848b40e5. The affected component should be upgraded.
A heap-based buffer overflow vulnerability has been identified in Janet-lang's Janet programming language, specifically in versions through 1.40.1. The issue arises in the handleattr function within the janetc_varset method, located in src/core/specials.c. This vulnerability leads to an out-of-bounds read, where the program accesses memory beyond the allocated buffer, causing a heap-buffer-overflow. The problem occurs during the compilation phase when the function processes definition attributes. The vulnerability can be exploited locally, and a public exploit is available.
Users are advised to upgrade to Janet version 1.41.0 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 23, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/janet-lang/janet/ | [email protected] | Product |
| https://github.com/janet-lang/janet/commit/2fabc80151a2b8834ee59cda8a70453f848b40e5 | [email protected] | Patch |
| https://github.com/janet-lang/janet/issues/1699 | [email protected] | ExploitIssue Tracking |
| https://github.com/janet-lang/janet/releases/tag/v1.41.0 | [email protected] | Release Notes |
| https://github.com/oneafter/0123/blob/main/ja1/repro | [email protected] | Exploit |
| https://vuldb.com/?ctiid.347106 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.347106 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.754589 | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | [email protected] |
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer | [email protected] |
| CWE-125 | Out-of-bounds Read | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| janet-lang janet | <= 1.40.1 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Feb 26, 2026 | Initial Analysis | [email protected] |
| Feb 21, 2026 | New CVE Received | [email protected] |