Skip to main content

PHP CVE-2026-30575

| EUVD-2026-16707 HIGH
Improper Input Validation (CWE-20)
2026-03-27 mitre GHSA-jxwm-85rg-xjq8
7.5
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

4
PoC Detected
Mar 31, 2026 - 17:59 vuln.today
Public exploit code
EUVD ID Assigned
Mar 27, 2026 - 17:15 euvd
EUVD-2026-16707
Analysis Generated
Mar 27, 2026 - 17:15 vuln.today
CVE Published
Mar 27, 2026 - 00:00 nvd
HIGH 7.5

DescriptionCVE.org

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.

AnalysisAI

Inventory depletion in SourceCodester Pharmacy Product Management System 1.0 allows remote attackers to corrupt stock records by submitting negative values through the add-stock.php 'txtqty' parameter, causing the system to decrease inventory instead of increasing it and enabling denial of service via stock exhaustion. Publicly available exploit code exists demonstrating this business logic flaw, and the affected product lacks CVSS severity quantification despite the demonstrated impact on system integrity and availability.

Unlock full vulnerability intelligence

  • Risk assessment & exploitation conditions
  • Attack chain visualization
  • Remediation with exact patch versions
  • Threat intelligence from 22 sources
  • Personal watchlist & email alerts

Free forever · No credit card required

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata

Access
Access add-stock.php endpoint
Delivery
Submit negative value in txtqty parameter
Exploit
Bypass input validation logic
Execution
Inventory decreases instead of increases
Impact
Stock records become corrupted

Vulnerability AssessmentAI

Exploitation Remote unauthenticated attacker can exploit SourceCodester Pharmacy Product Management System 1.0 via add-stock.php by submitting negative values in the 'txtqty' parameter. … Additional conditions and limiting factors are described in the full assessment.
Risk Assessment Real-world risk is moderate to high despite missing CVSS score and EPSS data. … Full risk analysis with EPSS, KEV, and SSVC signal comparison available after sign-in.
Exploit Scenario An attacker with network access to the Pharmacy Product Management System submits an HTTP POST request to add-stock.php with txtqty set to a large negative value (e.g., -9999) for a targeted medication SKU, causing the inventory system to subtract that quantity instead of adding stock. By repeating this across multiple products, the attacker systematically depletes the pharmacy's inventory records to zero or negative balances, preventing legitimate stock management and potentially halting medication dispensing operations. …
Remediation Apply input validation to the add-stock.php file's 'txtqty' parameter to enforce non-negative numeric values; implement server-side range checks ensuring quantity adjustments are positive integers before inventory updates are committed to the database. … Detailed patch versions, workarounds, and compensating controls in full report.

Recommended ActionAI

Within 7 days: Identify all affected systems and apply vendor patches promptly. …

Sign in for detailed remediation steps and compensating controls.

Threat intelligence, references, and detailed analysis are available after sign-in.

Share

CVE-2026-30575 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy