CVE-2026-4931

CVE-2026-4931

Published Apr 7, 2026 CVSS 3.1 · 6.8 Medium EPSS < 1% KEV · Not listed
Description
Smart contract Marginal v1 performs unsafe downcast, allowing attackers to settle a large debt position for a negligible asset cost.

Analysis

AI-generated

Technical impact

The smart contract in Marginal v1 contains an unsafe downcast that allows an attacker to settle a large debt position for a negligible asset cost. This flaw represents an incorrect conversion between numeric types, enabling the manipulation of debt settlement logic and potentially draining or redirecting funds. The vulnerability compromises the integrity of the contract’s financial operations, allowing attackers to achieve large economic gains at minimal expense.

Affected Systems

The vulnerability affects the Marginal Smart Contract, specifically version 1 of the contract. No additional version granularity is reported. The issue is tied directly to the smart contract code deployed by the Marginal Protocol team.

Risk and Exploitability

The CVSS score of 6.8 indicates moderate risk, while the EPSS score of less than 1% suggests a low likelihood that attackers have already leveraged this flaw in the wild. The vulnerability is not currently listed in CISA’s KEV catalog, implying no known active exploitation. The attack vector is inferred to be an on‑chain transaction that triggers the unsafe downcast during debt settlement, requiring only that an attacker crafts a transaction to the vulnerable contract.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the vendor’s security update that corrects the unsafe downcast in Marginal v1.
  • If no update is available yet, avoid sending transactions that settle debt positions on the vulnerable contract until a fix is released.
  • Continuously monitor the vendor’s advisory channels for a patch announcement.

Generated by OpenCVE AI on April 8, 2026 at 16:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Marginal v1-core
CPEs cpe:2.3:a:marginal:v1-core:*:*:*:*:*:*:*:*
Vendors & Products Marginal v1-core
Type Values Removed Values Added
First Time appeared Marginal
Marginal marginal Smart Contract
Vendors & Products Marginal
Marginal marginal Smart Contract
Type Values Removed Values Added
Weaknesses CWE-681
Metrics cvssV3_1

{'score': 6.8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses
  • CWE-681

    Incorrect Conversion between Numeric Types

Sources

Status
PUBLISHED
Assigner
certcc
Published
Updated
Apr 8, 2026, 2:45 PM
Reserved
Mar 26, 2026, 7:31 PM
Status
Analyzed
Published
Apr 7, 2026, 4:16 PM
Modified
Oct 26, 2026, 9:10 PM