CVE-2026-2240

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

MEDIUM
6.1
CVSS Score
Published: February 9, 2026 at 03:32 PM UTC
Updated: June 17, 2026 at 10:30 AM UTC
1 product affected across 1 vendorJanet

Using janet by janet-lang?

Get instant alerts when new vulnerabilities affect janet - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.1
Exploit prediction
EPSS 0.2%
SSVC
PoC

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (8)

VDB EntryTechnical DescriptionThird Party Advisory
Source: cverecord
https://vuldb.com/?id.344979
SignaturePermissions RequiredVDB Entry
Source: cverecord
https://vuldb.com/?ctiid.344979
Third Party AdvisoryVDB Entry
Source: cverecord
https://vuldb.com/?submit.753155
Issue TrackingExploit
Source: cverecord
https://github.com/janet-lang/janet/issues/1702
Product
Source: cverecord
https://github.com/janet-lang/janet/

SSVC — Action Prioritization

SSVCPoCNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-125CWE-119

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card