Skip to content
OpenAdvisories
Low · 3.7 CVE-2025-15284 EUVD-2025-205660GHSA-6rw7-vpxm-498p

arrayLimit bypass in bracket notation allows DoS via memory exhaustion

Published Dec 29, 2025 · Updated Feb 10, 2026 · Assigned by harborist

Package: code-server Package: code-server-compat Package: js-jquery Package: json-server Package: jupyter-base-notebook Package: katib-earlystopping Package: katib-suggestion-goptuna-compat Package: katib-suggestion-hyperband Package: katib-suggestion-hyperopt Package: katib-suggestion-nas-darts Package: katib-suggestion-nas-enas Package: katib-suggestion-optuna-enas Package: katib-suggestion-pbt-enas Package: katib-suggestion-skopt-enas Package: katib-tfevent-metricscollector Package: kubeflow-centraldashboard Package: kubeflow-pipelines-frontend Package: langfuse-3 Package: langfuse-3-compat Package: langfuse-3-worker Package: node-qs Package: node-qs Package: nodejs-nodemon Package: opensearch-dashboards-3 Package: opensearch-dashboards-3-alerting-dashboards-plugin Package: opensearch-dashboards-3-anomaly-detection-dashboards-plugin Package: opensearch-dashboards-3-dashboards-maps Package: opensearch-dashboards-3-dashboards-notifications Package: opensearch-dashboards-3-dashboards-observability Package: opensearch-dashboards-3-dashboards-query-workbench Package: opensearch-dashboards-3-dashboards-reporting Package: opensearch-dashboards-3-dashboards-search-relevance Package: opensearch-dashboards-3-index-management-dashboards-plugin Package: opensearch-dashboards-3-ml-commons-dashboards Package: opensearch-dashboards-3-security-analytics-dashboards-plugin Package: opensearch-dashboards-3-security-dashboards-plugin Package: py3.10-jupyterlab Package: py3.11-jupyterlab Package: py3.12-jupyterlab Package: py3.13-jupyterlab Package: qs Package: renovate Package: saf Package: sqlpad Package: thingsboard Package: thingsboard-tb-js-executor Package: thingsboard-tb-mqtt-transport Package: thingsboard-tb-node Package: thingsboard-tb-web-ui Package: tileserver-gl Package: tileserver-gl-compat Ecosystem: Azure Linux Ecosystem: Debian Ecosystem: npm Ecosystem: Ubuntu Ecosystem: Wolfi

Description

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.

Affected products

VendorProductAffectedFixed
— qs < 6.14.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 node-qs 6.14.1+ds+~6.14.0-1 —
Debian 13 node-qs No fix yet —
Debian 12 node-qs No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS node-qs No fix yet —
Ubuntu 25.10 node-qs No fix yet —
Ubuntu 24.04 LTS node-qs No fix yet —
Ubuntu 22.04 LTS node-qs No fix yet —
Ubuntu 18.04 LTS node-qs No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS node-qs No fix yet —
Ubuntu Pro 20.04 LTS node-qs No fix yet —
Ubuntu Pro 14.04 LTS node-qs No fix yet —
ReleasePackageFixed inAdvisory
RHEL 10 sgx-mpa +7 2.26-7.el10 RHSA-2026:18480
RHEL 9 sgx-mpa +7 2.26-7.el9 RHSA-2026:18868
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Jboss Enterprise Application Platform Eus 7 eap7-apache-cxf +3 3.4.10-4.SP2_redhat_00004.1.el7eap RHSA-2026:33371
Red Hat Jboss Enterprise Application Platform Eus 7 eap7-undertow 2.0.41-8.SP9_redhat_00001.1.el7eap RHSA-2026:33371
Red Hat Jboss Enterprise Application Platform Eus 7 eap7-wildfly +4 7.3.18-3.GA_redhat_00001.1.el7eap RHSA-2026:33371

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 10 sgx-mpa +6 2.26-7.el10 ALSA-2026:18480
AlmaLinux 9 sgx-mpa +6 2.26-7.el9 ALSA-2026:18868

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 10 linux-sgx 2.26-7.el10 RLSA-2026:18480
Rocky Linux 9 linux-sgx 2.26-7.el9 RLSA-2026:18868

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 js-jquery +1 No fix yet —
Azure Linux 2 (CBL-Mariner) js-jquery +1 No fix yet —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 10 sgx-mpa +6 2.26-7.el10 ELSA-2026-18480
Oracle Linux 9 sgx-mpa +6 2.26-7.el9 ELSA-2026-18868

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling code-server +1 4.106.3-r1 —
Wolfi rolling json-server 0.17.4-r3 —
Wolfi rolling jupyter-base-notebook 7.6.3-r2 —
Wolfi rolling katib-earlystopping +8 0.19.0-r31 —
Wolfi rolling katib-suggestion-goptuna-compat 0.19.0-r40 —
Wolfi rolling kubeflow-centraldashboard 1.10.0-r8 —
Wolfi rolling kubeflow-pipelines-frontend 2.15.0-r6 —
Wolfi rolling langfuse-3 +2 3.143.0-r1 —
Wolfi rolling opensearch-dashboards-3 +12 3.4.0-r0 —
Wolfi rolling py3.10-jupyterlab +3 4.6.1-r1 —
Wolfi rolling renovate 42.71.4-r0 —
Wolfi rolling saf 1.5.3-r1 —
Wolfi rolling sqlpad 7.5.7-r5 —
Wolfi rolling thingsboard +4 4.2.1.1-r0 —
Wolfi rolling tileserver-gl +1 5.5.0-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm qs < 6.14.1 6.14.1 GHSA-6rw7-vpxm-498p

Advisories 23

References