Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain local low-privileged account
-
DeliveryCraft fiber payload with fiber_stacktop near INT32_MAX
-
ExploitSubmit marshaled data to Janet interpreter
-
ExecutionTrigger unmarshal_one_fiber integer overflow
-
PersistCorrupt fiber capacity value
-
ImpactCrash interpreter process (DoS)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The attacker must have local access to the host and a low-privileged account (confirmed by CVSS PR:L). The vulnerable code path is triggered specifically when the Janet runtime calls |
| Impact | The CVSS 3.1 base score of 3.3 (Low) is consistent with the attack surface: AV:L (local host only), AC:L (no special conditions), PR:L (requires a low-privileged local account), UI:N, with impact confined to availability (A:L) and no confidentiality or integrity exposure. This is not a remotely exploitable vulnerability in default deployments. The temporal metrics reinforce a contained posture: E:P (proof-of-concept code is public), RL:O (official fix is available), RC:C (vulnerability is confirmed). No EPSS data was provided, but the local-only attack vector and limited availability impact suggest a low exploitation probability in practice. The existence of a public POC (https://github.com/biniamf/pocs/tree/main/janet-marsh-unmarshal-intovf) does elevate urgency for environments where untrusted parties can supply Janet bytecode or marshaled data to a Janet interpreter. KEV status is not confirmed, so this should not be treated as actively exploited in the wild. No CVSS conflict is identified - the local attack vector aligns with the description's statement that the attack is launched on the local host. |
| Exploit ScenarioDerived | A local attacker with a low-privileged account on a system running Janet crafts a malicious serialized fiber payload in which the |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 01, 2026
Integer overflow in the Janet scripting language's fiber unmarshaling routine (versions up to 1.41.0) allows a local authenticated attacker to cause a denial-of-service condition. The vulnerable function unmarshal_one_fiber in src/core/marsh.c performs an unchecked addition when computing fiber stack capacity - if fiber_stacktop is near INT32_MAX, adding 10 wraps the value, resulting in a dangerously small capacity allocation that crashes the interpreter. No public exploitation in production environments has been confirmed (not listed in CISA KEV), but a public proof-of-concept exploit exists, and the upstream patch has been released as commit d9b1d711.
RemediationAI
Apply upstream patch commit d9b1d711ea1fde52ac73a82088b512a3e17bad0d from the Janet GitHub repository (https://github.com/janet-lang/janet/commit/d9b1d711ea1fde52ac73a82088b512a3e17bad0d). The fix wraps the capacity assignment in a bounds check: if fiber_stacktop < INT32_MAX - 10, the original expression is used; otherwise fiber->capacity is clamped to INT32_MAX, avoiding overflow. Consumers using Janet as an embedded library should rebuild from a patched commit or wait for a tagged release incorporating this fix - a specific tagged release version was not independently confirmed from available data, so verify with the upstream project. As a compensating control where patching is not immediately feasible, restrict the ability of untrusted users or processes to supply marshaled Janet data to the interpreter, particularly in sandboxed or shared environments. This control trades off some Janet deserialization functionality but eliminates the attack surface for this class of exploit.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Janet is a lightweight, embeddable scripting language written in C. The affected code path involves the deserialization (unmarshaling) subsystem in src/core/marsh.c, specifically the unmarshal_one_fiber function responsible for reconstructing fiber (coroutine) state from serialized bytes. The root cause is CWE-190 (Integer Overflow or Wraparound): the expression fiber->capacity = fiber_stacktop + 10 is evaluated without checking whether fiber_stacktop is close to INT32_MAX. If a crafted marshaled payload supplies a fiber_stacktop value in the range (INT32_MAX - 9, INT32_MAX], the addition wraps around to a small or negative integer, yielding an invalid capacity field. This can lead to under-allocation of the fiber stack buffer, producing memory corruption or an immediate crash when the runtime subsequently writes stack frames. The affected CPE is cpe:2.3:a:janet-lang:janet:*:*:*:*:*:*:*:* covering all versions through 1.41.0.
Know when Janet gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Primary rating from Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
1DescriptionCVE.org
A weakness has been identified in janet-lang janet up to 1.41.0. This vulnerability affects the function unmarshal_one_fiber of the file src/core/marsh.c. Executing a manipulation can lead to integer overflow. It is possible to launch the attack on the local host. The exploit has been made available to the public and could be used for attacks. This patch is called d9b1d711ea1fde52ac73a82088b512a3e17bad0d. A patch should be applied to remediate this issue.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.
Janet before 1.22.0 mishandles arrays. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no au
A vulnerability was identified in janet-lang janet up to 1.40.1. Affected by this vulnerability is the function janetc_v
A vulnerability was determined in janet-lang janet up to 1.40.1. This impacts the function janetc_if of the file src/cor
A vulnerability was found in janet-lang janet up to 1.40.1. This affects the function os_strftime of the file src/core/o
A vulnerability has been found in janet-lang janet up to 1.40.1. The impacted element is the function janetc_pop_funcdef
EUVD-2026-33681
GHSA-gqw4-cq8m-g989
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB