CVE-2026-2869janet-lang janet handleattr specials.c janetc_varset out-of-bounds
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.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- janet-lang janet: affected: 1.40.0, 1.40.1, 1.41.0 not affected
Vendor advisories:
- https://github.com/janet-lang/janet/commit/2fabc80151a2b8834ee59cda8a70453f848b40e5 (patch)
- https://github.com/janet-lang/janet/releases/tag/v1.41.0 (patch)
References
- https://vuldb.com/?id.347106
- https://vuldb.com/?ctiid.347106
- https://vuldb.com/?submit.754589
- https://github.com/janet-lang/janet/issues/1699
- https://github.com/oneafter/0123/blob/main/ja1/repro
- https://github.com/janet-lang/janet/commit/2fabc80151a2b8834ee59cda8a70453f848b40e5
- https://github.com/janet-lang/janet/releases/tag/v1.41.0
- https://github.com/janet-lang/janet/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.