What’s Vulnerable › Vulnerabilities
CVE-2026-2241: janet-lang janet os.c os_strftime out-of-bounds
- Severity: medium (CVSS 6.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-02-09 · updated 2026-06-17
- Weakness: CWE-119
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.
Affected products
- janet-lang janet: through 1.40.1
References
- https://github.com/janet-lang/janet/
- https://github.com/janet-lang/janet/commit/0f285855f0e34f9183956be5f16e045f54626bff
- https://github.com/janet-lang/janet/issues/1701
- https://github.com/janet-lang/janet/issues/1701#event-4446770461
- https://github.com/oneafter/0123/blob/main/ja3/repro
- https://vuldb.com/?ctiid.344980
- https://vuldb.com/?id.344980
- https://vuldb.com/?submit.753156
Get alerted when CVE-2026-2241 or the next vulnerability affects your stack