Buffer overflow in Janet-Lang Janet
CVE-2026-2241
A vulnerability was found in janet-lang janet up to 1.40.1. This affects the function os_strftime of the file src/core/os.c. Performing a manipulation results in out-of-bounds read. The attack must be initiated from a local position. The exploit has been made public and could be used. The patch is named 0f285855f0e34f9183956be5f16e045f54626bff. To fix this issue, it is recommended to deploy a patch.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 3.3 (Low). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS 0.002, 10.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Janet-Lang Janet — versions 1.40.0, 1.40.1
Weakness classification (CWE)
References
- VDB-344980 | janet-lang janet os.c os_strftime out-of-bounds (technical-description, Third Party Advisory, VDB Entry, vdb-entry)
- VDB-344980 | CTI Indicators (IOB, IOC, IOA) (signature, Permissions Required, permissions-required, VDB Entry)
- Submit #753156 | janet-lang janet c43e066 Heap-based Buffer Overflow (Third Party Advisory, VDB Entry, third-party-advisory)
- github.com/janet-lang/janet/issues/1701 (issue-tracking, Exploit, Issue Tracking)
- github.com/janet-lang/janet/issues/1701 (issue-tracking, Exploit, Issue Tracking)
- github.com/oneafter/0123/blob/main/ja3/repro (Exploit, exploit)
- github.com/janet-lang/janet/commit/0f285855f0e34f9183956be5f16e045f54626bff (Patch, patch)
- github.com/janet-lang/janet/ (Product, product)