CVE-2026-2869
janet-lang janet handleattr specials.c janetc_varset out-of-bounds
- State
- Published
- Severity
- 4.8 Medium
- Published
- Feb 21, 2026
- Updated
- Feb 23, 2026
- Reserved
- Feb 20, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 4.8 Medium | 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 | VulDB |
| 3.1 | 3.3 Low | 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 | VulDB |
| 3.0 | 3.3 Low | 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 | VulDB |
| 2.0 | 1.7 Low | AV:L/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:OF/RC:C | VulDB |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
janetjanet-lang |
|
References
- VDB-347106 | janet-lang janet handleattr specials.c janetc_varset out-of-boundsvdb-entrytechnical-description
- VDB-347106 | CTI Indicators (IOB, IOC, IOA)signaturepermissions-required
- Submit #754589 | janet-lang janet 4dd08a4 Heap-based Buffer Overflowthird-party-advisory
- https://github.com/janet-lang/janet/issues/1699issue-tracking
- https://github.com/oneafter/0123/blob/main/ja1/reproexploit
- https://github.com/janet-lang/janet/commit/2fabc80151a2b8834ee59cda8a70453f848b40e5patch
- https://github.com/janet-lang/janet/releases/tag/v1.41.0patch
- https://github.com/janet-lang/janet/product
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.