PT-2026-7816 · Pypi · Qs

Sharokhataie

·

Published

2026-02-12

·

Updated

2026-05-19

·

CVE-2026-2391

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions qs (affected versions not specified)
Description The arrayLimit option in the qs library does not correctly enforce limits when parsing comma-separated values with the comma option enabled. This allows attackers to potentially cause a denial-of-service (DoS) condition by exhausting memory resources. The issue arises because the limit check occurs after the comma-handling logic, enabling a bypass of the intended array size restriction. Specifically, the split(',') function returns the array immediately, skipping the subsequent limit check. An attacker can send a single parameter containing a large number of commas (e.g., ?param=,,,,,,,,...) to allocate a massive array in memory, bypassing the arrayLimit setting. The vulnerable code is located in lib/parse.js lines 40-50. The arrayLimit check is bypassed when the comma option is set to true.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

RCE

Weakness Enumeration

Related Identifiers

AZL-77594
AZL-77597
AZL-77601
AZL-77616
CLEANSTART-2026-CB77162
CLEANSTART-2026-CE10526
CLEANSTART-2026-DU32240
CLEANSTART-2026-DV49099
CLEANSTART-2026-GS57401
CLEANSTART-2026-NB51079
CLEANSTART-2026-OW14933
CLEANSTART-2026-SW34937
CVE-2026-2391
GHSA-W7FW-MJWX-W883

Affected Products

Qs