{"id":"CVE-2026-2240","aliases":["CVE-2026-2240"],"related":[],"kind":"vulnerability","state":"published","title":"janet-lang janet compile.c janetc_pop_funcdef out-of-bounds","summary":"A vulnerability has been found in janet-lang janet up to 1.40.1. The impacted element is the function janetc_pop_funcdef of the file src/core/compile.c. Such manipulation leads to out-of-bounds read. The attack must be carried out locally. The exploit has been disclosed to the public and may be used. The name of the patch is 4dd08a4cdef5b1c42d9a2c19fc24412e97ef51d5. A patch should be applied to remediate this issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A vulnerability has been found in janet-lang janet up to 1.40.1. The impacted element is the function janetc_pop_funcdef of the file src/core/compile.c. Such manipulation leads to out-of-bounds read. The attack must be carried out locally. The exploit has been disclosed to the public and may be used. The name of the patch is 4dd08a4cdef5b1c42d9a2c19fc24412e97ef51d5. A patch should be applied to remediate this issue.","source":"cvelist"},{"lang":"es","text":"Se ha encontrado una vulnerabilidad en janet-lang janet hasta la versión 1.40.1. El elemento afectado es la función janetc_pop_funcdef del archivo src/core/compile.c. Dicha manipulación conduce a una lectura fuera de límites. El ataque debe llevarse a cabo localmente. El exploit ha sido divulgado al público y puede ser utilizado. El nombre del parche es 4dd08a4cdef5b1c42d9a2c19fc24412e97ef51d5. Se debería aplicar un parche para remediar este problema.","source":"nvd"}],"published":"2026-02-09T15:32:10.307Z","modified":"2026-06-17T10:30:36.657Z","severity":{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"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","score":4.8,"rating":"MEDIUM"},"severities":[{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"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","score":4.8,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:3.1","vector":"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","score":3.3,"rating":"LOW"},{"scorer":"VulDB","scheme":"CVSS:3.0","vector":"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","score":3.3,"rating":"LOW"},{"scorer":"VulDB","scheme":"CVSS:2.0","vector":"AV:L/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:OF/RC:C","score":1.7,"rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-119","CWE-125"],"affected":[{"ranges":[{"version":"1.40.0","status":"affected"},{"version":"1.40.1","status":"affected"}],"vendor":"janet-lang","product":"janet","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"1.40.1"}],"vendor":"janet-lang","product":"janet","cpe":"cpe:2.3:a:janet-lang:janet:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://vuldb.com/?id.344979","tags":["technical-description","third-party-advisory","vdb-entry"],"sources":["cvelist","nvd"]},{"url":"https://vuldb.com/?ctiid.344979","tags":["permissions-required","signature","vdb-entry"],"sources":["cvelist","nvd"]},{"url":"https://vuldb.com/?submit.753155","tags":["third-party-advisory","vdb-entry"],"sources":["cvelist","nvd"]},{"url":"https://github.com/janet-lang/janet/issues/1702","tags":["exploit","issue-tracking"],"sources":["cvelist","nvd"]},{"url":"https://github.com/janet-lang/janet/issues/1702#issuecomment-3790473369","tags":["exploit","issue-tracking"],"sources":["cvelist","nvd"]},{"url":"https://github.com/oneafter/0123/blob/main/ja4/repro","tags":["exploit"],"sources":["cvelist","nvd"]},{"url":"https://github.com/janet-lang/janet/commit/4dd08a4cdef5b1c42d9a2c19fc24412e97ef51d5","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/janet-lang/janet/","tags":["product"],"sources":["cvelist","nvd"]}],"credits":["Oneafter (VulDB User)"],"assigner":"VulDB","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-02-09T16:06:11.954Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-2240","url":"https://www.cve.org/CVERecord?id=CVE-2026-2240","licence":"CVE Terms of Use","modified":"2026-02-23T10:00:07.480Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-2240","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-2240","licence":"Public domain","modified":"2026-06-17T10:30:36.657Z"}],"updatedAt":"2026-11-25T22:59:13.656Z","epss":{"score":0.00187,"percentile":0.08691,"date":"2026-12-01T12:00:22.000Z"}}