Skip to main content
VulnerabilityPublished Updated

CVE-2026-2242: janet · Out-of-bounds Read

Affects janetSource CVE Database V5

0

Public exploit available · CVSS 4.8 Medium.

Data as of 26 Oct 2026, 12:55 UTC

CVSS 4.0 base score
4.8Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 7% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 9 Feb 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: evidence found.

    CVSS exploit maturity: proof of concept public

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
janet-langjanetAffected
  • =1.40.0
  • =1.40.1
Fixed in–

AI-suggested

To mitigate CVE-2026-2242, organizations should promptly apply the official patch identified by commit c43e06672cd9dacf2122c99f362120a17c34b391 that corrects the bounds checking in the janetc_if function. If patching is not immediately feasible, restrict local access to systems running janet-lang to trusted users only, minimizing the risk of exploitation. Employ strict access controls and monitoring to detect unusual local activity. Consider running janet-lang processes with least privilege and in isolated environments or containers to limit impact of potential exploitation. Regularly audit and update janet-lang versions to incorporate security fixes. Additionally, review usage of janet-lang in production to assess whether alternative scripting environments with broader security support might be appropriate. Implement host-based intrusion detection to alert on suspicious local behavior targeting janet-lang processes.

Description

A vulnerability was determined in janet-lang janet up to 1.40.1. This impacts the function janetc_if of the file src/core/specials.c. Executing a manipulation can lead to out-of-bounds read. The attack needs to be launched locally. The exploit has been publicly disclosed and may be utilized. This patch is called c43e06672cd9dacf2122c99f362120a17c34b391. It is advisable to implement a patch to correct this issue.

References

Community reviews

Loading reviews…