CVEfocus › CVE database › CVE-2025-15284

CVE-2025-15284arrayLimit bypass in bracket notation allows DoS via memory exhaustion

CVSS 3.7 LowEPSS 0.5% (higher than 38% of CVEs)Published 2025-12-29Updated 2026-11-22Assigner: harborist

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.

CWE-20

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

34Fixed
6Fix pending
3Under investigation
1Will not fix
38Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04node-qsUnder investigationUBUNTU-CVE-2025-15284
Ubuntu 25.10node-qsWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-15284
Ubuntu 24.04node-qsUnder investigationUBUNTU-CVE-2025-15284
Ubuntu 22.04node-qsUnder investigationUBUNTU-CVE-2025-15284
Ubuntu 20.04node-qsFix pendingUBUNTU-CVE-2025-15284
Ubuntu 18.04node-qsFix pendingUBUNTU-CVE-2025-15284
Ubuntu 16.04node-qsFix pendingUBUNTU-CVE-2025-15284
Ubuntu 14.04node-qsFix pendingUBUNTU-CVE-2025-15284
Debian 14node-qsFixed6.14.1+ds+~6.14.0-1DEBIAN-CVE-2025-15284
Debian 13node-qsFix pendingDEBIAN-CVE-2025-15284
Debian 12node-qsFix pendingDEBIAN-CVE-2025-15284
Red Hat Enterprise Linux 10firefoxNot affected
Red Hat Enterprise Linux 10gjsNot affected
Red Hat Enterprise Linux 10gjs-develNot affected
Red Hat Enterprise Linux 10linux-sgxFixed0:2.26-7.el10RHSA-2026:18480
Red Hat Enterprise Linux 10sgx-commonFixed0:2.26-7.el10RHSA-2026:18480
Red Hat Enterprise Linux 10sgx-libsFixed0:2.26-7.el10RHSA-2026:18480
Red Hat Enterprise Linux 10sgx-mpaFixed0:2.26-7.el10RHSA-2026:18480
Red Hat Enterprise Linux 10sgx-pccsFixed0:2.26-7.el10RHSA-2026:18480
Red Hat Enterprise Linux 10sgx-pccs-adminFixed0:2.26-7.el10RHSA-2026:18480
Red Hat Enterprise Linux 10sgx-pckid-toolFixed0:2.26-7.el10RHSA-2026:18480
Red Hat Enterprise Linux 10tdx-qgsFixed0:2.26-7.el10RHSA-2026:18480
Red Hat Enterprise Linux 10thunderbirdNot affected
Red Hat Enterprise Linux 9firefoxNot affected
Red Hat Enterprise Linux 9firefox-x11Not affected
Red Hat Enterprise Linux 9gjsNot affected
Red Hat Enterprise Linux 9gjs-develNot affected
Red Hat Enterprise Linux 9grafanaNot affected
Red Hat Enterprise Linux 9grafana-selinuxNot affected
Red Hat Enterprise Linux 9linux-sgxFixed0:2.26-7.el9RHSA-2026:18868
Red Hat Enterprise Linux 9pcsNot affected
Red Hat Enterprise Linux 9pcs-snmpNot affected
Red Hat Enterprise Linux 9polkitNot affected
Red Hat Enterprise Linux 9polkit-develNot affected
Red Hat Enterprise Linux 9polkit-docsNot affected
Red Hat Enterprise Linux 9polkit-libsNot affected
Red Hat Enterprise Linux 9sgx-commonFixed0:2.26-7.el9RHSA-2026:18868
Red Hat Enterprise Linux 9sgx-libsFixed0:2.26-7.el9RHSA-2026:18868
Red Hat Enterprise Linux 9sgx-mpaFixed0:2.26-7.el9RHSA-2026:18868
Red Hat Enterprise Linux 9sgx-pccsFixed0:2.26-7.el9RHSA-2026:18868
Red Hat Enterprise Linux 9sgx-pccs-adminFixed0:2.26-7.el9RHSA-2026:18868
Red Hat Enterprise Linux 9sgx-pckid-toolFixed0:2.26-7.el9RHSA-2026:18868
Red Hat Enterprise Linux 9tdx-qgsFixed0:2.26-7.el9RHSA-2026:18868
Red Hat Enterprise Linux 9thunderbirdNot affected
Red Hat Enterprise Linux 8firefoxNot affected
Red Hat Enterprise Linux 8grafanaNot affected
Red Hat Enterprise Linux 8grafana-azure-monitorNot affected
Red Hat Enterprise Linux 8grafana-cloudwatchNot affected
Red Hat Enterprise Linux 8grafana-elasticsearchNot affected
Red Hat Enterprise Linux 8grafana-graphiteNot affected
Red Hat Enterprise Linux 8grafana-influxdbNot affected
Red Hat Enterprise Linux 8grafana-lokiNot affected
Red Hat Enterprise Linux 8grafana-mssqlNot affected
Red Hat Enterprise Linux 8grafana-mysqlNot affected
Red Hat Enterprise Linux 8grafana-opentsdbNot affected
Red Hat Enterprise Linux 8grafana-postgresNot affected
Red Hat Enterprise Linux 8grafana-prometheusNot affected
Red Hat Enterprise Linux 8grafana-selinuxNot affected
Red Hat Enterprise Linux 8grafana-stackdriverNot affected
Red Hat Enterprise Linux 8mozjs60Not affected
Red Hat Enterprise Linux 8mozjs60-develNot affected
Red Hat Enterprise Linux 8pcsNot affected
Red Hat Enterprise Linux 8pcs-snmpNot affected
Red Hat Enterprise Linux 8thunderbirdNot affected
Red Hat Enterprise Linux 7firefoxNot affected
AlmaLinux 10sgx-commonFixed2.26-7.el10ALSA-2026:18480
AlmaLinux 10sgx-libsFixed2.26-7.el10ALSA-2026:18480
AlmaLinux 10sgx-mpaFixed2.26-7.el10ALSA-2026:18480
AlmaLinux 10sgx-pccsFixed2.26-7.el10ALSA-2026:18480
AlmaLinux 10sgx-pccs-adminFixed2.26-7.el10ALSA-2026:18480
AlmaLinux 10sgx-pckid-toolFixed2.26-7.el10ALSA-2026:18480
AlmaLinux 10tdx-qgsFixed2.26-7.el10ALSA-2026:18480
AlmaLinux 9sgx-commonFixed2.26-7.el9ALSA-2026:18868
AlmaLinux 9sgx-libsFixed2.26-7.el9ALSA-2026:18868
AlmaLinux 9sgx-mpaFixed2.26-7.el9ALSA-2026:18868
AlmaLinux 9sgx-pccsFixed2.26-7.el9ALSA-2026:18868
AlmaLinux 9sgx-pccs-adminFixed2.26-7.el9ALSA-2026:18868
AlmaLinux 9sgx-pckid-toolFixed2.26-7.el9ALSA-2026:18868
AlmaLinux 9tdx-qgsFixed2.26-7.el9ALSA-2026:18868
Rocky Linux 10linux-sgxFixed0:2.26-7.el10RLSA-2026:18480
Rocky Linux 9linux-sgxFixed0:2.26-7.el9RLSA-2026:18868
npm libraryqsFixed6.14.1GHSA-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.

Vendor advisories:

References

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.