CVE-2026-2242

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:janet-lang:janet:*:*:*:*:*:*:*:*

History

25 Feb 2026, 14:36

Type Values Removed Values Added
First Time Janet-lang janet
Janet-lang
References () https://github.com/janet-lang/janet/ - () https://github.com/janet-lang/janet/ - Product
References () https://github.com/janet-lang/janet/commit/c43e06672cd9dacf2122c99f362120a17c34b391 - () https://github.com/janet-lang/janet/commit/c43e06672cd9dacf2122c99f362120a17c34b391 - Patch
References () https://github.com/janet-lang/janet/issues/1700 - () https://github.com/janet-lang/janet/issues/1700 - Exploit, Issue Tracking
References () https://github.com/janet-lang/janet/issues/1702 - () https://github.com/janet-lang/janet/issues/1702 - Exploit, Issue Tracking
References () https://github.com/oneafter/0123/blob/main/ja2/repro - () https://github.com/oneafter/0123/blob/main/ja2/repro - Exploit
References () https://vuldb.com/?ctiid.344981 - () https://vuldb.com/?ctiid.344981 - Permissions Required, VDB Entry
References () https://vuldb.com/?id.344981 - () https://vuldb.com/?id.344981 - Third Party Advisory, VDB Entry
References () https://vuldb.com/?submit.754495 - () https://vuldb.com/?submit.754495 - Third Party Advisory, VDB Entry
Summary
  • (es) Se determinó una vulnerabilidad en janet-lang janet hasta la versión 1.40.1. Esto afecta a la función janetc_if del archivo src/core/specials.c. La ejecución de una manipulación puede llevar a una lectura fuera de límites. El ataque debe lanzarse localmente. El exploit ha sido divulgado públicamente y puede ser utilizado. Este parche se llama c43e06672cd9dacf2122c99f362120a17c34b391. Es aconsejable implementar un parche para corregir este problema.
CPE cpe:2.3:a:janet-lang:janet:*:*:*:*:*:*:*:*

09 Feb 2026, 18:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-02-09 18:16

Updated : 2026-02-25 14:36


NVD link : CVE-2026-2242

Mitre link : CVE-2026-2242

CVE.ORG link : CVE-2026-2242


JSON object : View

Products Affected

janet-lang

  • janet
CWE
CWE-119

Improper Restriction of Operations within the Bounds of a Memory Buffer

CWE-125

Out-of-bounds Read