Buffer overflow in Janet-Lang Janet
CVE-2026-2869
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 3.3 (Low). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS 0.002, 11.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Janet-Lang Janet — versions 1.40.0, 1.40.1, 1.41.0
Weakness classification (CWE)
References
- VDB-347106 | janet-lang janet handleattr specials.c janetc_varset out-of-bounds (technical-description, Third Party Advisory, VDB Entry, vdb-entry)
- VDB-347106 | CTI Indicators (IOB, IOC, IOA) (signature, Permissions Required, permissions-required, VDB Entry)
- Submit #754589 | janet-lang janet 4dd08a4 Heap-based Buffer Overflow (Third Party Advisory, VDB Entry, third-party-advisory)
- github.com/janet-lang/janet/issues/1699 (issue-tracking, Exploit, Issue Tracking)
- github.com/oneafter/0123/blob/main/ja1/repro (Exploit, exploit)
- github.com/janet-lang/janet/commit/2fabc80151a2b8834ee59cda8a70453f848b40e5 (Patch, patch)
- github.com/janet-lang/janet/releases/tag/v1.41.0 (Release Notes, patch)
- github.com/janet-lang/janet/ (Product, product)