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-34043: CWE-400: Uncontrolled Resource Consumption in yahoo serialize-javascript

0
Medium
VulnerabilityCVE-2026-34043cvecve-2026-34043cwe-400cwe-834
Published: Tue Mar 31 2026 (03/31/2026, 01:48:45 UTC)
Source: CVE Database V5
Vendor/Project: yahoo
Product: serialize-javascript

Description

CVE-2026-34043 is a medium severity Denial of Service (DoS) vulnerability in the yahoo serialize-javascript library versions prior to 7. 0. 5. The flaw arises when serializing specially crafted array-like objects with very large length properties, causing the serialization process to enter an intensive CPU-consuming loop that hangs indefinitely. This uncontrolled resource consumption leads to 100% CPU usage, effectively causing service disruption. The vulnerability does not impact confidentiality or integrity but severely affects availability. Exploitation requires no authentication or user interaction but has a high attack complexity due to the need to craft specific objects. The issue has been patched in version 7. 0. 5, and no known exploits are currently reported in the wild.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 03/31/2026, 14:40:55 UTC

Technical Analysis

The vulnerability CVE-2026-34043 affects the yahoo serialize-javascript library, a tool used to serialize JavaScript objects into a superset of JSON that supports regular expressions and functions. Versions prior to 7.0.5 contain a flaw where serializing a specially crafted "array-like" object—an object inheriting from Array.prototype but with an extremely large length property—triggers an uncontrolled resource consumption condition. Specifically, the serialization process enters an intensive loop that consumes 100% CPU, causing the process to hang indefinitely and resulting in a Denial of Service (DoS). This is classified under CWE-400 (Uncontrolled Resource Consumption) and CWE-834 (Excessive Iteration). The vulnerability does not require authentication or user interaction but has a high attack complexity due to the need to craft the malicious input precisely. The impact is limited to availability disruption, with no confidentiality or integrity compromise. The issue was publicly disclosed on March 31, 2026, and has been patched in version 7.0.5 of serialize-javascript. No known exploits have been reported in the wild, but the vulnerability poses a risk to applications relying on affected versions for serialization tasks, especially in environments processing untrusted input.

Potential Impact

This vulnerability primarily impacts the availability of applications using affected versions of serialize-javascript. Attackers can cause Denial of Service by sending specially crafted inputs that trigger excessive CPU consumption, potentially leading to service outages or degraded performance. This can disrupt web applications, APIs, or backend services that rely on serialize-javascript for data serialization, affecting user experience and operational continuity. Since the vulnerability does not affect confidentiality or integrity, data breaches or unauthorized data modifications are unlikely. However, the resource exhaustion can be exploited to cause downtime, which may have cascading effects on business operations, especially for high-availability or real-time systems. Organizations with public-facing services or those processing untrusted data inputs are at higher risk. The absence of known exploits reduces immediate threat but does not eliminate the risk of future attacks.

Mitigation Recommendations

To mitigate this vulnerability, organizations should upgrade serialize-javascript to version 7.0.5 or later, where the issue is patched. For environments where immediate upgrade is not feasible, implement input validation and sanitization to detect and reject suspiciously large or malformed array-like objects before serialization. Employ runtime monitoring to detect abnormal CPU usage patterns indicative of exploitation attempts. Rate limiting and resource quotas can help limit the impact of potential DoS attacks. Additionally, isolate serialization processes in sandboxed environments or separate containers to prevent system-wide resource exhaustion. Regularly audit dependencies for vulnerabilities and maintain an up-to-date inventory to ensure timely patching. Finally, educate developers about safe serialization practices and the risks of processing untrusted input.

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
GitHub_M
Date Reserved
2026-03-25T15:29:04.745Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69cbd8dce6bfc5ba1d1c31b1

Added to database: 3/31/2026, 2:23:24 PM

Last enriched: 3/31/2026, 2:40:55 PM

Last updated: 3/31/2026, 3:52:20 PM

Views: 3

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