Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-8723: CWE-476 NULL Pointer Dereference in ljharb qs

0
Medium
VulnerabilityCVE-2026-8723cvecve-2026-8723cwe-476
Published: Sat May 16 2026 (05/16/2026, 23:21:16 UTC)
Source: CVE Database V5
Vendor/Project: ljharb
Product: qs

Description

CVE-2026-8723 is a medium-severity vulnerability in the ljharb qs library versions 6. 11. 1 up to but not including 6. 15. 2. When qs. stringify is called with the options arrayFormat: 'comma' and encodeValuesOnly: true on arrays containing null or undefined elements, it throws a synchronous TypeError due to a null pointer dereference. This error causes the affected request to return a 500 status in typical Node. js HTTP frameworks but does not crash the worker process. The issue was fixed in version 6.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/16/2026, 23:51:35 UTC

Technical Analysis

The vulnerability arises from qs.stringify's handling of arrays when both arrayFormat: 'comma' and encodeValuesOnly: true are set. The code attempts to encode array elements without null checks, leading to a TypeError when encountering null or undefined values. This occurs because the encoder reads the length property of these nullish values without guarding against them. The bug was introduced in version 6.11.1 and fixed in 6.15.2 by bypassing encoding for null or undefined elements before joining the array into a string.

Potential Impact

Applications using vulnerable versions of qs (>=6.11.1 <6.15.2) with the specified options and input containing null or undefined array elements will experience synchronous exceptions causing HTTP 500 errors in request handlers. This does not lead to worker process crashes under typical Node.js frameworks with error boundaries. The impact is limited to denial of service for affected requests and does not affect confidentiality or integrity.

Mitigation Recommendations

Upgrade to qs version 6.15.2 or later, where the issue is fixed. If upgrading is not immediately possible, avoid calling qs.stringify with both arrayFormat: 'comma' and encodeValuesOnly: true on arrays that may contain null or undefined values. Patch status is not explicitly stated in the vendor advisory, but the fix is included in version 6.15.2 as per the provided details.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
harborist
Date Reserved
2026-05-16T06:26:43.607Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a08ff87ec166c07b03552dd

Added to database: 5/16/2026, 11:36:39 PM

Last enriched: 5/16/2026, 11:51:35 PM

Last updated: 5/17/2026, 12:39:52 AM

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses