CVE-2025-15284arrayLimit bypass in bracket notation allows DoS via memory exhaustion
Improper Input Validation vulnerability in qs (parse modules) allows HTTP DoS. This issue affects qs: < 6.14.1. Summary The arrayLimit option in qs did not enforce limits for bracket notation (a[]=1&a[]=2), only for indexed notation (a[0]=1). This is a consistency bug; arrayLimit should apply uniformly across all array notations. Note: The default parameterLimit of 1000 effectively mitigates the DoS scenario originally described. With default options, bracket notation cannot produce arrays larger than parameterLimit regardless of arrayLimit, because each a[]=valueconsumes one parameter slot. The severity has been reduced accordingly. Details The arrayLimit option only checked limits for indexed notation (a[0]=1&a[1]=2) but did not enforce it for bracket notation (a[]=1&a[]=2). Vulnerable code (lib/parse.js:159-162): if (root === '[]' && options.parseArrays) { obj = utils.combine([], leaf); // No arrayLimit check } Working code (lib/parse.js:175): else if (index <= options.arrayLimit) { // Limit checked here obj = []; obj[index] = leaf; } The bracket notation handler at line 159 uses utils.combine([], leaf) without validating against options.arrayLimit, while indexed notation at line 175 checks index <= options.arrayLimit before creating arrays. PoC const qs = require('qs'); const result = qs.parse('a[]=1&a[]=2&a[]=3&a[]=4&a[]=5&a[]=6', { arrayLimit: 5 }); console.log(result.a.length); // Output: 6 (should be max 5) Note on parameterLimit interaction: The original advisory's "DoS demonstration" claimed a length of 10,000, but parameterLimit (default: 1000) caps parsing to 1,000 parameters. With default options, the actual output is 1,000, not 10,000. Impact Consistency bug in arrayLimit enforcement. With default parameterLimit, the practical DoS risk is negligible since parameterLimit already caps the total number of parsed parameters (and thus array elements from bracket notation). The risk increases only when parameterLimit is explicitly set to a very high value.
What to do
Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, npm: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | node-qs | Under investigation | UBUNTU-CVE-2025-15284 | |
| Ubuntu 25.10 | node-qs | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2025-15284 | |
| Ubuntu 24.04 | node-qs | Under investigation | UBUNTU-CVE-2025-15284 | |
| Ubuntu 22.04 | node-qs | Under investigation | UBUNTU-CVE-2025-15284 | |
| Ubuntu 20.04 | node-qs | Fix pending | UBUNTU-CVE-2025-15284 | |
| Ubuntu 18.04 | node-qs | Fix pending | UBUNTU-CVE-2025-15284 | |
| Ubuntu 16.04 | node-qs | Fix pending | UBUNTU-CVE-2025-15284 | |
| Ubuntu 14.04 | node-qs | Fix pending | UBUNTU-CVE-2025-15284 | |
| Debian 14 | node-qs | Fixed | 6.14.1+ds+~6.14.0-1 | DEBIAN-CVE-2025-15284 |
| Debian 13 | node-qs | Fix pending | DEBIAN-CVE-2025-15284 | |
| Debian 12 | node-qs | Fix pending | DEBIAN-CVE-2025-15284 | |
| Red Hat Enterprise Linux 10 | firefox | Not affected | ||
| Red Hat Enterprise Linux 10 | gjs | Not affected | ||
| Red Hat Enterprise Linux 10 | gjs-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | linux-sgx | Fixed | 0:2.26-7.el10 | RHSA-2026:18480 |
| Red Hat Enterprise Linux 10 | sgx-common | Fixed | 0:2.26-7.el10 | RHSA-2026:18480 |
| Red Hat Enterprise Linux 10 | sgx-libs | Fixed | 0:2.26-7.el10 | RHSA-2026:18480 |
| Red Hat Enterprise Linux 10 | sgx-mpa | Fixed | 0:2.26-7.el10 | RHSA-2026:18480 |
| Red Hat Enterprise Linux 10 | sgx-pccs | Fixed | 0:2.26-7.el10 | RHSA-2026:18480 |
| Red Hat Enterprise Linux 10 | sgx-pccs-admin | Fixed | 0:2.26-7.el10 | RHSA-2026:18480 |
| Red Hat Enterprise Linux 10 | sgx-pckid-tool | Fixed | 0:2.26-7.el10 | RHSA-2026:18480 |
| Red Hat Enterprise Linux 10 | tdx-qgs | Fixed | 0:2.26-7.el10 | RHSA-2026:18480 |
| Red Hat Enterprise Linux 10 | thunderbird | Not affected | ||
| Red Hat Enterprise Linux 9 | firefox | Not affected | ||
| Red Hat Enterprise Linux 9 | firefox-x11 | Not affected | ||
| Red Hat Enterprise Linux 9 | gjs | Not affected | ||
| Red Hat Enterprise Linux 9 | gjs-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | grafana | Not affected | ||
| Red Hat Enterprise Linux 9 | grafana-selinux | Not affected | ||
| Red Hat Enterprise Linux 9 | linux-sgx | Fixed | 0:2.26-7.el9 | RHSA-2026:18868 |
| Red Hat Enterprise Linux 9 | pcs | Not affected | ||
| Red Hat Enterprise Linux 9 | pcs-snmp | Not affected | ||
| Red Hat Enterprise Linux 9 | polkit | Not affected | ||
| Red Hat Enterprise Linux 9 | polkit-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | polkit-docs | Not affected | ||
| Red Hat Enterprise Linux 9 | polkit-libs | Not affected | ||
| Red Hat Enterprise Linux 9 | sgx-common | Fixed | 0:2.26-7.el9 | RHSA-2026:18868 |
| Red Hat Enterprise Linux 9 | sgx-libs | Fixed | 0:2.26-7.el9 | RHSA-2026:18868 |
| Red Hat Enterprise Linux 9 | sgx-mpa | Fixed | 0:2.26-7.el9 | RHSA-2026:18868 |
| Red Hat Enterprise Linux 9 | sgx-pccs | Fixed | 0:2.26-7.el9 | RHSA-2026:18868 |
| Red Hat Enterprise Linux 9 | sgx-pccs-admin | Fixed | 0:2.26-7.el9 | RHSA-2026:18868 |
| Red Hat Enterprise Linux 9 | sgx-pckid-tool | Fixed | 0:2.26-7.el9 | RHSA-2026:18868 |
| Red Hat Enterprise Linux 9 | tdx-qgs | Fixed | 0:2.26-7.el9 | RHSA-2026:18868 |
| Red Hat Enterprise Linux 9 | thunderbird | Not affected | ||
| Red Hat Enterprise Linux 8 | firefox | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-azure-monitor | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-cloudwatch | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-elasticsearch | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-graphite | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-influxdb | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-loki | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-mssql | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-mysql | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-opentsdb | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-postgres | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-prometheus | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-selinux | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-stackdriver | Not affected | ||
| Red Hat Enterprise Linux 8 | mozjs60 | Not affected | ||
| Red Hat Enterprise Linux 8 | mozjs60-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | pcs | Not affected | ||
| Red Hat Enterprise Linux 8 | pcs-snmp | Not affected | ||
| Red Hat Enterprise Linux 8 | thunderbird | Not affected | ||
| Red Hat Enterprise Linux 7 | firefox | Not affected | ||
| AlmaLinux 10 | sgx-common | Fixed | 2.26-7.el10 | ALSA-2026:18480 |
| AlmaLinux 10 | sgx-libs | Fixed | 2.26-7.el10 | ALSA-2026:18480 |
| AlmaLinux 10 | sgx-mpa | Fixed | 2.26-7.el10 | ALSA-2026:18480 |
| AlmaLinux 10 | sgx-pccs | Fixed | 2.26-7.el10 | ALSA-2026:18480 |
| AlmaLinux 10 | sgx-pccs-admin | Fixed | 2.26-7.el10 | ALSA-2026:18480 |
| AlmaLinux 10 | sgx-pckid-tool | Fixed | 2.26-7.el10 | ALSA-2026:18480 |
| AlmaLinux 10 | tdx-qgs | Fixed | 2.26-7.el10 | ALSA-2026:18480 |
| AlmaLinux 9 | sgx-common | Fixed | 2.26-7.el9 | ALSA-2026:18868 |
| AlmaLinux 9 | sgx-libs | Fixed | 2.26-7.el9 | ALSA-2026:18868 |
| AlmaLinux 9 | sgx-mpa | Fixed | 2.26-7.el9 | ALSA-2026:18868 |
| AlmaLinux 9 | sgx-pccs | Fixed | 2.26-7.el9 | ALSA-2026:18868 |
| AlmaLinux 9 | sgx-pccs-admin | Fixed | 2.26-7.el9 | ALSA-2026:18868 |
| AlmaLinux 9 | sgx-pckid-tool | Fixed | 2.26-7.el9 | ALSA-2026:18868 |
| AlmaLinux 9 | tdx-qgs | Fixed | 2.26-7.el9 | ALSA-2026:18868 |
| Rocky Linux 10 | linux-sgx | Fixed | 0:2.26-7.el10 | RLSA-2026:18480 |
| Rocky Linux 9 | linux-sgx | Fixed | 0:2.26-7.el9 | RLSA-2026:18868 |
| npm library | qs | Fixed | 6.14.1 | GHSA-6rw7-vpxm-498p |
What the vendor says
As published in the CVE record by harborist, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- qs: affected: before 6.14.1; fixed in
6.14.1
Vendor advisories:
- https://github.com/ljharb/qs/security/advisories/GHSA-6rw7-vpxm-498p (vendor-advisory)
- https://github.com/ljharb/qs/commit/3086902ecf7f088d0d1803887643ac6c03d415b9 (patch)
References
- https://github.com/ljharb/qs/security/advisories/GHSA-6rw7-vpxm-498p
- https://github.com/ljharb/qs/commit/3086902ecf7f088d0d1803887643ac6c03d415b9
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.