thttpd 2.21/2.21b/2.22/2.23b1 libhttpd.c defang memory corruption

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.

A vulnerability classified as critical was found in thttpd 2.21/2.21b/2.22/2.23b1 (Web Server). This vulnerability affects the function defang in the library libhttpd.c. The manipulation with an unknown input leads to a memory corruption vulnerability. The CWE definition for the vulnerability is CWE-119. The software performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. As an impact it is known to affect confidentiality, integrity, and availability.

The weakness was disclosed 10/27/2003 by Joel Soderberg and Christer Oberg with Texonet (Website). The advisory is shared for download at This vulnerability was named CVE-2003-0899 since 10/28/2003. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. Technical details and also a public exploit are known.

It is declared as proof-of-concept. It is possible to download the exploit at As 0-day the estimated underground price was around $25k-$100k. The vulnerability scanner Nessus provides a plugin with the ID 15233 (Debian DSA-396-1 : thttpd - missing input sanitizing, wrong calculation), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Debian Local Security Checks.

Upgrading eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at The best possible mitigation is suggested to be upgrading to the latest version.

The vulnerability is also documented in the databases at X-Force (13530), Vulnerability Center (SBV-3931) and Tenable (15233). Additional details are provided at The entry 20410 is pretty similar.




CPE 2.3info

CPE 2.2info


VulDB Meta Base Score: 7.3
VulDB Meta Temp Score: 6.6

VulDB Base Score: 7.3
VulDB Temp Score: 6.6
VulDB Vector: 🔍
VulDB Reliability: 🔍



VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍


Class: Memory corruption
CWE: CWE-119
ATT&CK: Unknown

Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍


Nessus ID: 15233
Nessus Name: Debian DSA-396-1 : thttpd - missing input sanitizing, wrong calculation
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍

OpenVAS ID: 53377
OpenVAS Name: Debian Security Advisory DSA 396-1 (thttpd)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍


Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍



10/27/2003 🔍
10/27/2003 +0 days 🔍
10/28/2003 +1 days 🔍
10/28/2003 +0 days 🔍
10/29/2003 +1 days 🔍
11/03/2003 +4 days 🔍
03/08/2004 +126 days 🔍
03/09/2021 +6210 days 🔍


Researcher: Joel Soderberg/Christer Oberg
Organization: Texonet
Status: Not defined

CVE: CVE-2003-0899 (🔍)
X-Force: 13530 - thttpd defang function buffer overflow, High Risk
Vulnerability Center: 3931 - Buffer Overflow in Defang in Libhttpd.c for Thttpd 2.21 to 2.23b1, High
SecurityFocus: 8906
Secunia: 10092 - thttpd "defang()" Buffer Overflow Vulnerability, Highly Critical
OSVDB: 2729 - thttpd libhttpd.c defang() Function Remote Overflow

scip Labs:
Misc.: 🔍
See also: 🔍


Created: 10/28/2003 11:21 AM
Updated: 03/09/2021 07:00 AM
Changes: 10/28/2003 11:21 AM (61), 01/27/2018 12:41 PM (31), 03/09/2021 07:00 AM (2)
Complete: 🔍


No comments yet. Languages: en.

Please log in to comment.

Do you want to use VulDB in your project?

Use the official API to access entries easily!