CVE-2026-30575

Negative Quantity Stock Entry Exploit in Pharmacy Management System

Published Mar 27, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
A Business Logic vulnerability exists in SourceCodester Pharmacy Product Management System 1.0 in the add-stock.php file. The application fails to validate the "txtqty" parameter during stock entry, allowing negative values to be processed. This causes the system to decrease the inventory level instead of increasing it, leading to inventory corruption and potential Denial of Service by depleting stock records.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Title Negative Quantity Stock Entry Exploit in Pharmacy Management System
Type Values Removed Values Added
First Time appeared Senior-walter
Senior-walter web-based Pharmacy Product Management System
CPEs cpe:2.3:a:senior-walter:web-based_pharmacy_product_management_system:1.0:*:*:*:*:*:*:*
Vendors & Products Senior-walter
Senior-walter web-based Pharmacy Product Management System
Type Values Removed Values Added
First Time appeared Sourcecodester
Sourcecodester pharmacy Product Management System
Vendors & Products Sourcecodester
Sourcecodester pharmacy Product Management System
Type Values Removed Values Added
Title Negative Quantity Stock Depletion Vulnerability in Pharmacy Product Management System
Type Values Removed Values Added
Title Negative Quantity Stock Depletion Vulnerability in Pharmacy Product Management System
Type Values Removed Values Added
Weaknesses CWE-1284
CWE-20
Metrics cvssV3_1

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

ssvc

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

Type Values Removed Values Added
Description A Business Logic vulnerability exists in SourceCodester Pharmacy Product Management System 1.0 in the add-stock.php file. The application fails to validate the "txtqty" parameter during stock entry, allowing negative values to be processed. This causes the system to decrease the inventory level instead of increasing it, leading to inventory corruption and potential Denial of Service by depleting stock records.
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Mar 27, 2026, 7:00 PM
Reserved
Mar 4, 2026, 12:00 AM
Status
Analyzed
Published
Mar 27, 2026, 5:16 PM
Modified
Nov 11, 2026, 7:10 PM