4.8medium
janet-lang janet os.c os_strftime out-of-bounds
- Severity
- 4.8medium CVSS:4.0 by VulDB
- Exploit likelihood
- 0.20% (higher than 10% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulDB
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
| Product or package | Versions | Reported by |
|---|---|---|
| janet-lang janet | 1.40.0, 1.40.1, up to 1.40.1 | CVE List, NVD |
All scores
| VulDB | 4.8medium CVSS:4.0 | 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.3low CVSS:3.1 | 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.3low CVSS:3.0 | 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 | 1.7low CVSS:2.0 | AV:L/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:OF/RC:C |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H |
Classification
What each source says
CVE List
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.
NVD (es)
Se encontró una vulnerabilidad en janet-lang janet hasta 1.40.1. Esto afecta a la función os_strftime del archivo src/core/os.c. Realizar una manipulación resulta en una lectura fuera de límites. El ataque debe iniciarse desde una posición local. El exploit se ha hecho público y podría utilizarse. El parche se llama 0f285855f0e34f9183956be5f16e045f54626bff. Para solucionar este problema, se recomienda desplegar un parche.
References
| https://vuldb.com/?id.344980 | technical-description, third-party-advisory, vdb-entry | |
| https://vuldb.com/?ctiid.344980 | permissions-required, signature, vdb-entry | |
| https://vuldb.com/?submit.753156 | third-party-advisory, vdb-entry | |
| https://github.com/janet-lang/janet/issues/1701 | exploit, issue-tracking | |
| https://github.com/janet-lang/janet/issues/1701#event-4446770461 | exploit, issue-tracking | |
| https://github.com/oneafter/0123/blob/main/ja3/repro | exploit | |
| https://github.com/janet-lang/janet/commit/0f285855f0e34f9183956be5f16e045f54626bff | patch | |
| https://github.com/janet-lang/janet/ | product | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-2241 changed 2026-02-23 | CVE Terms of Use |
| NVD | CVE-2026-2241 changed 2026-06-17 | Public domain |