# CVE-2026-2869: janet-lang janet handleattr specials.c janetc_varset out-of-bounds

- Severity: Medium 4.8 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-02)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2026-02-21T14:32:08.938Z
- Modified: 2026-06-17T10:31:55.237Z
- Weaknesses: CWE-119, CWE-125
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- janet-lang janet: 1.40.0; 1.40.1; up to 1.40.1 (not affected: 1.41.0)

## Every score

- VulDB: CVSS: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: CVSS: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: CVSS: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: CVSS:2.0 1.7 Low `AV:L/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:OF/RC:C`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/janet-lang/janet/issues/1699> (exploit, issue-tracking)
- <https://github.com/oneafter/0123/blob/main/ja1/repro> (exploit)
- <https://vuldb.com/?id.347106> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.347106> (permissions-required, signature, vdb-entry)
- <https://vuldb.com/?submit.754589> (third-party-advisory, vdb-entry)
- <https://github.com/janet-lang/janet/commit/2fabc80151a2b8834ee59cda8a70453f848b40e5> (patch)
- <https://github.com/janet-lang/janet/releases/tag/v1.41.0> (patch, release-notes)
- <https://github.com/janet-lang/janet/> (product)

## Sources

- CVE List: [CVE-2026-2869](https://www.cve.org/CVERecord?id=CVE-2026-2869), CVE Terms of Use, modified 2026-02-23
- NVD: [CVE-2026-2869](https://nvd.nist.gov/vuln/detail/CVE-2026-2869), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-2869 · Whole record: https://cve.day/CVE-2026-2869.json · Rebuilt by cve.day 2026-11-25T22:59:14.617Z
