CVE-2026-126421

OpenEMR before 8.5.0 Denial of Service via labs_ajax.php Label Count

Published Nov 13, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
OpenEMR before 8.5.0 contains an uncontrolled resource consumption vulnerability that allows authenticated users with patients/med access to exhaust PHP workers via an unbounded count parameter. Attackers can send print_labels requests to labs_ajax.php with huge counts, forcing mPDF page and barcode generation that makes OpenEMR unavailable.

Analysis

AI-generated

Technical impact

OpenEMR versions prior to 8.5.0 contain an uncontrolled resource consumption flaw that allows authenticated users with patient medication privileges to trigger a denial of service. By sending print_labels requests to labs_ajax.php with an excessively large count parameter, the application forces the mPDF library to generate many pages and barcodes, exhausting PHP worker resources and rendering the system unavailable. The weakness is a resource exhaustion vulnerability (CWE‑770).

Affected Systems

The issue affects OpenEMR deployments running any version before 8.5.0. The vulnerability is documented for the openemr:openemr product; no additional version matrix is provided beyond the reference to 8.5.0.

Risk and Exploitability

The CVSS score of 5.3 indicates a moderate severity. The EPSS score of less than 1% suggests a low current exploit probability, and the vulnerability is not listed in the CISA KEV catalog. Attackers require legitimate credentials with patients/med access and must submit print_labels requests with a large count; this authentic user context is a prerequisite for exploitation. The likely attack vector involves in‑application exploitation rather than remote unauthenticated access.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update OpenEMR to version 8.5.0 or later to remove the vulnerable labs_ajax.php handling
  • Ensure that users possess only the necessary patients/med privileges; restrict access to print_labels functionality to a minimal set of accounts
  • If a patch is not immediately available, monitor PHP worker usage and consider temporarily limiting the count parameter or disabling the labs_ajax.php endpoint

Generated by OpenCVE AI on November 14, 2026 at 15:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Openemr
Openemr openemr
Vendors & Products Openemr
Openemr openemr
Type Values Removed Values Added
Description OpenEMR before 8.5.0 contains an uncontrolled resource consumption vulnerability that allows authenticated users with patients/med access to exhaust PHP workers via an unbounded count parameter. Attackers can send print_labels requests to labs_ajax.php with huge counts, forcing mPDF page and barcode generation that makes OpenEMR unavailable.
Title OpenEMR before 8.5.0 Denial of Service via labs_ajax.php Label Count
First Time appeared Open-emr
Open-emr openemr
Weaknesses CWE-770
CPEs cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*
Vendors & Products Open-emr
Open-emr openemr
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 17, 2026, 8:37 PM
Reserved
Nov 10, 2026, 9:36 PM
Status
Analyzed
Published
Nov 13, 2026, 10:17 AM
Modified
Nov 17, 2026, 9:17 PM