CVE-2026-106676

Negative Quantity Order Creation via Integer Overflow in qiujie mall-server

Published Oct 26, 2026 CVSS 3.1 · 5.4 Medium EPSS < 1% KEV · Not listed
Description
qiujie mall-server 0.0.1-SNAPSHOT contains an integer overflow in CartServiceImpl that allows an authenticated user to wrap a cart quantity to a negative value. The order creation flow does not validate the resulting quantity and passes it to the stock update query, increasing inventory and creating negative-value orders.

Analysis

AI-generated

Technical impact

The vulnerability stems from an integer overflow in the CartServiceImpl component of the qiujie mall-server application. Adjusting a cart quantity can wrap the value to a negative number. The order creation flow blindly accepts this result and passes it to the stock update query. Therefore, authenticated users can forge orders that increase inventory levels and store negative‑quantity orders, leading to counterfeit stock and distorted financial reporting.

Affected Systems

The flaw is present in the qiujie mall-server version 0.0.1‑SNAPSHOT, a publicly available project hosted on GitHub. No vendor or CNA product name is listed, so any deployment of this snapshot that exposes the CartServiceImpl is affected. Operations running older or patched builds are not impacted, provided the overflow has been corrected.

Risk and Exploitability

Exploitation requires a valid authenticated session, so an attacker must own or compromise a user account. No public exploit code is known and the vulnerability is not listed in the CISA KEV catalog. The CVSS score of 5.4 indicates moderate severity, and with an EPSS score of <1% the likelihood of exploitation remains low. However, in environments where accurate inventory counts are critical, the impact of negative inventory creation still warrants attention. The only reliable mitigation is to block the vulnerable code path and enforce strict quantity validation before orders are processed.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Stop using the vulnerable qiujie mall-server 0.0.1‑SNAPSHOT in production until a patch is released.
  • Add server‑side validation in CartServiceImpl to reject negative or excessively large quantity values before they reach the order creation logic.
  • Implement overflow checks or use safe numeric types for cart quantities to prevent wrap‑around.
  • Monitor order logs for unexpected negative quantities and audit inventory changes regularly.

Generated by OpenCVE AI on November 2, 2026 at 19:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Title Negative Quantity Order Creation via Integer Overflow in qiujie mall-server
Type Values Removed Values Added
Title Integer Overflow in Cart Service Allows Negative Order Creation
Weaknesses CWE-20
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L'}

ssvc

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

Type Values Removed Values Added
Title Integer Overflow in Cart Service Allows Negative Order Creation
Weaknesses CWE-190
CWE-20
Type Values Removed Values Added
Description qiujie mall-server 0.0.1-SNAPSHOT contains an integer overflow in CartServiceImpl that allows an authenticated user to wrap a cart quantity to a negative value. The order creation flow does not validate the resulting quantity and passes it to the stock update query, increasing inventory and creating negative-value orders.
References

Subscriptions

No data.

Weaknesses
  • CWE-190

    Integer Overflow or Wraparound

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Nov 2, 2026, 4:40 PM
Reserved
Oct 7, 2026, 12:00 AM
Status
Deferred
Published
Oct 26, 2026, 5:17 PM
Modified
Nov 2, 2026, 5:17 PM