{"id":"CVE-2026-2241","summary":"janet-lang janet os.c os_strftime out-of-bounds","details":"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.","modified":"2026-10-28T11:09:44.507046656Z","published":"2026-02-09T16:02:08.720Z","database_specific":{"cna_assigner":"VulDB","cwe_ids":["CWE-119","CWE-125"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/2xxx/CVE-2026-2241.json"},"references":[{"type":"WEB","url":"https://github.com/janet-lang/janet/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/2xxx/CVE-2026-2241.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-2241"},{"type":"ADVISORY","url":"https://vuldb.com/?id.344980"},{"type":"ADVISORY","url":"https://vuldb.com/?submit.753156"},{"type":"REPORT","url":"https://github.com/janet-lang/janet/issues/1701"},{"type":"REPORT","url":"https://github.com/janet-lang/janet/issues/1701#event-4446770461"},{"type":"REPORT","url":"https://vuldb.com/?ctiid.344980"},{"type":"FIX","url":"https://github.com/janet-lang/janet/commit/0f285855f0e34f9183956be5f16e045f54626bff"},{"type":"EVIDENCE","url":"https://github.com/oneafter/0123/blob/main/ja3/repro"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/janet-lang/janet","events":[{"introduced":"7e0c692d4e69383c26088f70a50bf793ed0d735b"},{"fixed":"0f285855f0e34f9183956be5f16e045f54626bff"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"1.40.0"},{"last_affected":"1.40.0"}],"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion"},{"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion","range":[{"introduced":"1.40.1"},{"last_affected":"1.40.1"}]},{"range":[{"fixed":"0f285855f0e34f9183956be5f16e045f54626bff"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["1.40.0","1.40.1","v1.40.1","v1.40.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-2241.json","vanir_signatures":[{"id":"CVE-2026-2241-c7abb5aa","signature_type":"Line","signature_version":"v1","source":"https://github.com/janet-lang/janet/commit/0f285855f0e34f9183956be5f16e045f54626bff","target":{"file":"src/core/os.c"},"deprecated":false,"digest":{"line_hashes":["128725167025650217574484148366844978293","247281014111722666873986025330111886955","305429613425711644876884183633624756104","221598445345698823212175871958339458146","332907645979218961380833890601107707454","126901659997179346641197611252192396542","170047810911062469025069014244463663316","163792244844425392171980836489319192266","19354410151256381132366807507178052916","23978557248727922852073808701091761349","338791609037835934255770782327475587511"],"threshold":0.9}}],"vanir_signatures_modified":"2026-10-28T11:09:44Z"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}