CVE-2026-2240

LOW

janet-lang <1.40.1 - Info Disclosure

Title source: llm
STIX 2.1

Description

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. The exploit has been disclosed to the public and may be used. The name of the patch is 4dd08a4cdef5b1c42d9a2c19fc24412e97ef51d5. A patch should be applied to remediate this issue.

References (8)

Core 8
Core References
Permissions Required, VDB Entry vdb-entry technical-description
https://vuldb.com/?id.344979
Permissions Required, VDB Entry signature permissions-required
https://vuldb.com/?ctiid.344979
Permissions Required, VDB Entry third-party-advisory
https://vuldb.com/?submit.753155
Issue Tracking issue-tracking
https://github.com/janet-lang/janet/issues/1702
Various Sources product
https://github.com/janet-lang/janet/

Scores

CVSS v3 3.3
EPSS 0.0016
EPSS Percentile 5.3%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-119 CWE-125
Status published
Products (1)
janet-lang/janet < 1.40.1
Published Feb 09, 2026
Tracked Since Feb 18, 2026