CVE-2026-2241 Details
Description
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.
A heap-based buffer overflow vulnerability has been identified in Janet programming language, specifically in versions through 1.40.1. The issue arises in the 'os_strftime' function within 'src/core/os.c', where improper handling of format strings leads to an out-of-bounds read. This vulnerability, which must be exploited locally, has been made public and is accompanied by a proof-of-concept exploit.
Users are advised to update to Janet version 1.40.2, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 9, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/janet-lang/janet/ | [email protected] | Product |
| https://github.com/janet-lang/janet/commit/0f285855f0e34f9183956be5f16e045f54626bff | [email protected] | Patch |
| https://github.com/janet-lang/janet/issues/1701 | [email protected] | ExploitIssue Tracking |
| https://github.com/janet-lang/janet/issues/1701#event-4446770461 | [email protected] | ExploitIssue Tracking |
| https://github.com/oneafter/0123/blob/main/ja3/repro | [email protected] | Exploit |
| https://vuldb.com/?ctiid.344980 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.344980 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.753156 | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | [email protected] |
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer | [email protected] |
| CWE-125 | Out-of-bounds Read | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| janet-lang janet | <= 1.40.1 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Feb 25, 2026 | Initial Analysis | [email protected] |
| Feb 9, 2026 | New CVE Received | [email protected] |