CVE-2026-2241
janet-lang janet os.c os_strftime out-of-bounds
- State
- Published
- Severity
- 4.8 Medium
- Published
- Feb 9, 2026
- Updated
- Feb 23, 2026
- Reserved
- Feb 9, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 4.8 Medium | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P | VulDB |
| 3.1 | 3.3 Low | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C | VulDB |
| 3.0 | 3.3 Low | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C | VulDB |
| 2.0 | 1.7 Low | AV:L/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:OF/RC:C | VulDB |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
janetjanet-lang |
|
References
- VDB-344980 | janet-lang janet os.c os_strftime out-of-boundsvdb-entrytechnical-description
- VDB-344980 | CTI Indicators (IOB, IOC, IOA)signaturepermissions-required
- Submit #753156 | janet-lang janet c43e066 Heap-based Buffer Overflowthird-party-advisory
- https://github.com/janet-lang/janet/issues/1701issue-tracking
- https://github.com/janet-lang/janet/issues/1701#event-4446770461issue-tracking
- https://github.com/oneafter/0123/blob/main/ja3/reproexploit
- https://github.com/janet-lang/janet/commit/0f285855f0e34f9183956be5f16e045f54626bffpatch
- https://github.com/janet-lang/janet/product
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.