Buffer Overflow Vulnerability in Namazu2 Package Leading to Potential Remote Code Execution

namazu2 Updated 02 Oct 2025

Summary

30/11/2011
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2009-5028: Stack-based buffer overflow in Namazu before 2.0.20 allows remote attackers to cause a denial of service (daemon crash) or possibly execute arbitrary code via a crafted request containing an empty uri field. Affects namazu2 versions < 2.0.20-1.0. Fixed in 2.0.20-1.0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Namazu2 is a powerful search engine designed for indexing and searching documents. It is widely used in various applications to provide efficient search capabilities. However, prior to version 2.0.20, Namazu2 is susceptible to a stack-based buffer overflow vulnerability that can be exploited by remote attackers, potentially leading to a denial of service or arbitrary code execution.

Vulnerability Detail

The vulnerability arises from a stack-based buffer overflow in Namazu versions before 2.0.20. Attackers can exploit this flaw by sending a crafted request containing an empty URI field, which may cause the daemon to crash or allow the execution of arbitrary code. This vulnerability poses significant risks, particularly in environments where Namazu is exposed to untrusted input.

How To Fix

Minimum fixed version

2.0.20-1.0

This is the first release that contains the fix.

sudo apt-get install --only-upgrade namazu2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If immediate patching is not feasible, consider restricting access to the Namazu2 service to trusted networks only, thereby minimizing exposure to potential attacks. Additionally, implementing input validation to reject malformed requests can help mitigate the risk.

Conclusion

The buffer overflow vulnerability in Namazu2 poses significant risks to systems utilizing this package. It is crucial to update to the latest version to safeguard against potential exploits. Implementing security best practices can further enhance protection against such vulnerabilities.

See every vulnerability recorded for namazu2 →

Share this vulnerability

FAQ

The vulnerability is a stack-based buffer overflow that can be exploited by sending crafted requests, potentially leading to a denial of service or arbitrary code execution.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. By checking your manifest file, you can identify if your application is impacted by this vulnerability.

Failure to address this vulnerability can lead to service disruptions, unauthorized access, and potential data breaches due to arbitrary code execution.

Yes, you can restrict access to the Namazu2 service and implement input validation to reduce the risk of exploitation.

Detailed information about this vulnerability can be found in the Debian CVE database and various security advisories.

Related vulnerabilities

Recent vulnerabilities recorded for namazu2.

How To Fix

Minimum fixed version

2.0.20-1.0

This is the first release that contains the fix.

sudo apt-get install --only-upgrade namazu2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback