CVE-2026-2240 PUBLISHED

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

Assigner: VulDB
Reserved: 09.02.2026 Published: 09.02.2026 Updated: 09.02.2026

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.

Metrics

CVSS Vector: CVSS: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
CVSS Score: 4.8

Product Status

Vendor janet-lang
Product janet
Versions
  • Version 1.40.0 is affected
  • Version 1.40.1 is affected

Credits

  • Oneafter (VulDB User) reporter

References

Problem Types

  • Out-of-Bounds Read CWE
  • Memory Corruption CWE