Home

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.

PUBLISHED Reserved 2026-02-09 | Published 2026-02-09 | Updated 2026-02-23 | Assigner VulDB




MEDIUM: 4.8CVSS: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
LOW: 3.3CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C
LOW: 3.3CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C
1.7AV:L/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:OF/RC:C

Problem types

Out-of-Bounds Read

Memory Corruption

Product status

1.40.0
affected

1.40.1
affected

Timeline

2026-02-09:Advisory disclosed
2026-02-09:VulDB entry created
2026-02-09:VulDB entry last update

Credits

Oneafter (VulDB User) reporter

References

vuldb.com/?id.344979 (VDB-344979 | janet-lang janet compile.c janetc_pop_funcdef out-of-bounds) vdb-entry technical-description

vuldb.com/?ctiid.344979 (VDB-344979 | CTI Indicators (IOB, IOC, IOA)) signature permissions-required

vuldb.com/?submit.753155 (Submit #753155 | janet-lang janet 883dde4 Heap-based Buffer Overflow) third-party-advisory

github.com/janet-lang/janet/issues/1702 issue-tracking

github.com/janet-lang/janet/issues/1702 issue-tracking

github.com/oneafter/0123/blob/main/ja4/repro exploit

github.com/...ommit/4dd08a4cdef5b1c42d9a2c19fc24412e97ef51d5 patch

github.com/janet-lang/janet/ product

cve.org (CVE-2026-2240)

nvd.nist.gov (CVE-2026-2240)

Download JSON