{"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-08-12T15:31:38.200161Z","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":"0"},{"fixed":"0f285855f0e34f9183956be5f16e045f54626bff"}],"database_specific":{"cpe":"cpe:2.3:a:janet-lang:janet:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"last_affected":"1.40.1"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["1.40.0","1.40.1","v1.38.0","v1.40.1","v1.40.0","v1.39.1","v1.39.0","v1.37.1","v1.37.0","v1.36.0","v1.35.2","v1.35.1","v1.35.0","v1.34.0","v1.33.0","v1.32.1","v1.32.0","v1.31.0","v1.30.0","v1.29.1","v1.29.0","v1.28.0","v1.27.0","v1.26.0","v1.25.1","v1.25.0","v1.24.1","v1.24.0","v1.23.0","v1.22.0","v1.21.2","v1.21.1","v1.21.0","v1.20.0","v1.19.2","v1.19.1","1.19.1-rc1","v1.19.0","v1.18.1","v1.18.0","v1.17.2","v1.17.1","v1.17.0","v1.16.1","v1.16.0","v1.15.5","v1.15.4","v1.15.3","v1.15.2","v1.15.1","v1.15.0","v1.14.2","v1.14.1","v1.13.1","v1.13.0","v1.9.1","v1.9.0","v1.8.1","v1.8.0","v1.7.0","v1.6.0","v1.5.1","v1.5.0","v1.4.0","v1.2.0","v1.1.0","v1.0.0","v0.6.0","v0.5.0","v0.4.1","v0.4.0","0.3.0","0.2.0","0.1.0"],"database_specific":{"vanir_signatures":[{"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},"id":"CVE-2026-2241-c7abb5aa","signature_type":"Line"}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-2241.json","vanir_signatures_modified":"2026-08-12T15:31:38Z"}}],"schema_version":"1.9.0","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"}]}