Buffer overflow in Janet-lang Janet
CVE-2026-2240
A vulnerability has been found in janet-lang janet up to 1.40.1. The impacted element is the function janetc_pop_funcdef of the file src/core/compile.c. Such manipulation leads to out-of-bounds read. The attack must be carried out locally…
Vulnerability class: Buffer Overflow
EPSS: 0.000 (8.0th percentile) — read the EPSS interpretation.
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.
Affected products
- Janet-lang Janet — versions 1.40.0, 1.40.1
Weakness classification (CWE)
References
- VDB-344979 | janet-lang janet compile.c janetc_pop_funcdef out-of-bounds (technical-description, Third Party Advisory, VDB Entry, vdb-entry)
- VDB-344979 | CTI Indicators (IOB, IOC, IOA) (signature, Permissions Required, permissions-required, VDB Entry)
- Submit #753155 | janet-lang janet 883dde4 Heap-based Buffer Overflow (Third Party Advisory, VDB Entry, third-party-advisory)
- cna@vuldb.com (issue-tracking, Exploit, Issue Tracking)
- cna@vuldb.com (issue-tracking, Exploit, Issue Tracking)
- cna@vuldb.com (Exploit, exploit)
- cna@vuldb.com (Patch, patch)
- cna@vuldb.com (Product, product)
Frequently asked questions
- What is CVE-2026-2240?
- CVE-2026-2240 is a low-severity vulnerability in Janet-lang Janet, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 3.3/10. Published 2026-02-09.
- How severe is CVE-2026-2240?
- Low severity. CVSS v3 base score is 3.3 out of 10.