CVE-2026-2240
Out-of-Bounds Read in janet-lang janetc_pop_funcdef Function
Publication date: 2026-02-09
Last updated on: 2026-04-29
Assigner: VulDB
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| janet-lang | janet | to 1.40.1 (inc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-125 | The product reads data past the end, or before the beginning, of the intended buffer. |
| CWE-119 | The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data. |
Attack-Flow Graph
AI Powered Q&A
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
I don't know
How can this vulnerability be detected on my network or system? Can you suggest some commands?
I don't know
Can you explain this vulnerability to me?
This vulnerability exists in the janet-lang janet software up to version 1.40.1, specifically in the function janetc_pop_funcdef within the file src/core/compile.c.
The issue allows an attacker to cause an out-of-bounds read, which means the program reads memory outside the intended boundaries.
The attack must be performed locally, and a patch has been released to fix this problem.
How can this vulnerability impact me? :
The vulnerability can lead to an out-of-bounds read, which may cause the program to access unintended memory locations.
According to the CVSS scores, the impact on confidentiality and integrity is none, but there is a low impact on availability.
Since the attack requires local access and has a low severity score, the overall impact is limited but could potentially cause minor disruptions or crashes.
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, you should apply the patch named 4dd08a4cdef5b1c42d9a2c19fc24412e97ef51d5 to the janet-lang janet software.
Since the attack must be carried out locally, restricting local access to trusted users can also help reduce risk.