janet-lang janet up to 1.40.1 src/core/specials.c janetc_if out-of-bounds

Summaryinfo

A vulnerability was found in janet-lang janet up to 1.40.1. It has been rated as problematic. Affected is the function janetc_if of the file src/core/specials.c. The manipulation leads to out-of-bounds. This vulnerability is documented as CVE-2026-2242. The attack needs to be performed locally. Additionally, an exploit exists. Applying a patch is the recommended action to fix this issue.

Detailsinfo

A vulnerability, which was classified as problematic, has been found in janet-lang janet up to 1.40.1. This issue affects the function janetc_if of the file src/core/specials.c. The manipulation with an unknown input leads to a out-of-bounds vulnerability. Using CWE to declare the problem leads to CWE-125. The product reads data past the end, or before the beginning, of the intended buffer. Impacted is availability.

The advisory is shared at github.com. The identification of this vulnerability is CVE-2026-2242. The exploitation is known to be easy. An attack has to be approached locally. Technical details as well as a public exploit are known.

The exploit is available at github.com. It is declared as proof-of-concept.

Applying the patch c43e06672cd9dacf2122c99f362120a17c34b391 is able to eliminate this problem. The bugfix is ready for download at github.com.

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Productinfo

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒

CVSSv3info

VulDB Meta Base Score: 4.2
VulDB Meta Temp Score: 4.1

VulDB Base Score: 3.3
VulDB Temp Score: 3.0
VulDB Vector: 🔒
VulDB Reliability: 🔍

NVD Base Score: 6.1
NVD Vector: 🔒

CNA Base Score: 3.3
CNA Vector: 🔒

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Out-of-bounds
CWE: CWE-125 / CWE-119
CAPEC: 🔒
ATT&CK: 🔒

Physical: Partially
Local: Yes
Remote: No

Availability: 🔒
Access: Public
Status: Proof-of-Concept
Download: 🔒

EPSS Score: 🔒
EPSS Percentile: 🔒

Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔒

Patch: c43e06672cd9dacf2122c99f362120a17c34b391

Timelineinfo

02/09/2026 Advisory disclosed
02/09/2026 +0 days VulDB entry created
02/26/2026 +17 days VulDB entry last update

Sourcesinfo

Product: github.com

Advisory: 1700
Status: Confirmed
Confirmation: 🔒

CVE: CVE-2026-2242 (🔒)
GCVE (CVE): GCVE-0-2026-2242
GCVE (VulDB): GCVE-100-344981
scip Labs: https://www.scip.ch/en/?labs.20161013

Entryinfo

Created: 02/09/2026 10:43
Updated: 02/26/2026 13:51
Changes: 02/09/2026 10:43 (60), 02/09/2026 19:34 (30), 02/26/2026 13:51 (12)
Complete: 🔍
Submitter: Oneafter
Cache ID: 216::103

Submitinfo

Accepted

  • Submit #754495: janet-lang janet 2fabc80 Heap-based Buffer Overflow (by Oneafter)

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!