CVE-2026-2240

published 9 Feb 2026 · updated 23 Feb 2026

janet-lang janet compile.c janetc_pop_funcdef out-of-bounds

4.3MediumCVSS 3.3EPSS 0%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
janet-lang=1.40.0, =1.40.1

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-2240 severity on Zeptric[![CVE-2026-2240](https://zeptric.io/badge/cve/CVE-2026-2240.svg)](https://zeptric.io/cve/CVE-2026-2240)