Skip to content

CVE-2026-2240 janet-lang janet compile.c janetc_pop_funcdef out-of-bounds

MediumCVSS 4.8 EPSS 0.23%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
janet-lang janet <= 1.40.1; = 1.40.0; = 1.40.1 after 1.40.1 Fixed

Affected products

ProductAffected versionsFixed in
janet-lang janet = 1.40.0 No fix listed
janet-lang janet = 1.40.1 No fix listed
janet-lang janet <= 1.40.1 No fix listed

References