Loading vulnerability details...
| Property | Value |
|---|---|
| Advisory ID | SGZ-2026-A7C32 |
| Severity | MEDIUM |
| CWE | CWE-20 |
| Confidence | 70% |
| Category | logic_flaw |
| Exploitability | possible |
| Package | ex_zapcode@latest (cargo) |
| Location | native/ex_zapcode/src/lib.rs:120 |
| Affected Functions | encode_value |
| Attack Vector | NETWORK |
| Attack Complexity | LOW |
| Privileges Required | NONE |
| Discovered By | SafeGuard Zero-Day AI Discovery Engine |
The encode_value function does not properly handle the case where the input value is a function or generator, leading to a potential crash.
The vulnerability was identified in the file native/ex_zapcode/src/lib.rs at lines 120 within the ex_zapcode package (version latest). The following functions are directly affected: encode_value. Any code path that invokes these functions inherits this vulnerability.
File: native/ex_zapcode/src/lib.rs (lines 120)
fn encode_value<'a>(env: Env<'a>, v: &Value) -> NifResult<Term<'a>> { ... }
The code above demonstrates the vulnerable pattern. This code is executed at runtime and can be directly exploited by an attacker with the appropriate access level.
An attacker can exploit this vulnerability by sending a malicious value to the encode_value function.
A crash can occur, causing the program to terminate unexpectedly.
The encode_value function should be modified to properly handle the case where the input value is a function or generator.
Advisory: SGZ-2026-A7C32 | Source: SafeGuard Zero-Day AI Discovery | Status: Candidate
This vulnerability was autonomously discovered by SafeGuard's AI-powered Zero-Day Discovery engine using TAOR (Think-Act-Observe-Repeat) agentic analysis on the package source code. It is not yet tracked in any public vulnerability database (CVE, NVD, GHSA, OSV). This finding should be triaged by a security engineer and, if confirmed, reported upstream to the package maintainer.
| Property | Value |
|---|---|
| Advisory ID | SGZ-2026-A7C32 |
| Severity | MEDIUM |
| CWE | CWE-20 |
| Confidence | 70% |
| Category | logic_flaw |
| Exploitability | possible |
| Package | ex_zapcode@latest (cargo) |
| Location | native/ex_zapcode/src/lib.rs:120 |
| Affected Functions | encode_value |
| Attack Vector | NETWORK |
| Attack Complexity | LOW |
| Privileges Required | NONE |
| Discovered By | SafeGuard Zero-Day AI Discovery Engine |
The encode_value function does not properly handle the case where the input value is a function or generator, leading to a potential crash.
The vulnerability was identified in the file native/ex_zapcode/src/lib.rs at lines 120 within the ex_zapcode package (version latest). The following functions are directly affected: encode_value. Any code path that invokes these functions inherits this vulnerability.
File: native/ex_zapcode/src/lib.rs (lines 120)
fn encode_value<'a>(env: Env<'a>, v: &Value) -> NifResult<Term<'a>> { ... }
The code above demonstrates the vulnerable pattern. This code is executed at runtime and can be directly exploited by an attacker with the appropriate access level.
An attacker can exploit this vulnerability by sending a malicious value to the encode_value function.
A crash can occur, causing the program to terminate unexpectedly.
The encode_value function should be modified to properly handle the case where the input value is a function or generator.
Advisory: SGZ-2026-A7C32 | Source: SafeGuard Zero-Day AI Discovery | Status: Candidate
This vulnerability was autonomously discovered by SafeGuard's AI-powered Zero-Day Discovery engine using TAOR (Think-Act-Observe-Repeat) agentic analysis on the package source code. It is not yet tracked in any public vulnerability database (CVE, NVD, GHSA, OSV). This finding should be triaged by a security engineer and, if confirmed, reported upstream to the package maintainer. This vulnerability involves weaknesses in
This medium-severity vulnerability could be exploited under certain conditions to compromise security controls or access sensitive information. Should be addressed in a timely manner.
Isolate affected systems from untrusted networks until patching is complete
Implement enhanced monitoring for exploitation attempts and unusual behavior