Skip to content
DoS Advisory Intermediate CVE-2025-2258

Eclipse ThreadX NetX Duo HTTP server single PUT request integer underflow vulnerability

An integer underflow in the HTTP PUT request handling of Eclipse ThreadX NetX Duo allows an attacker to send a Content-Length smaller than the actual data in the request, causing the server to write an excessively large file and potentially exhaust file system resources. This leads to denial of service.

Kelly Patterson Follow

Originally disclosed on Cisco Talos

Medium 4.3 View original

An integer underflow vulnerability exists in the HTTP server PUT request functionality of Eclipse ThreadX NetX Duo git commit 6c8e9d1. A specially crafted network packet can lead to denial of service.

Kelly Patterson, on Cisco Talos

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

The code subtracts the header offset from the packet length without checking if the Content-Length is smaller, causing an unsigned integer underflow that wraps to a huge value.

Impact

An attacker could cause a denial of service by consuming all file system resources.

What the attacker needed

HTTP server with PUT enabled; network access to the server

The fix

Developers can disable the processing of PUT requests by ending the processing of a PUT request in an application callback request notify function.

How it was found

  1. Send an HTTP PUT request with a Content-Length value smaller than the actual data included in the request.
  2. Continue sending data to the server, which writes it to the requested file until 0xffffffff bytes are received.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

This is a bug in a small networking library used in embedded devices. When a device receives a file upload request, it miscalculates how much data to expect, so it keeps writing data forever, filling up its storage and stopping normal operation.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

More by Kelly Patterson

View all

20 more disclosed reports, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.