Stack Overrun Vulnerability in quagga

quagga Updated 02 Oct 2025

Summary

18/10/2016
N/A
Yes i
Unrated
Not published

DLA-662-1: quagga - security update. Affects quagga versions < 0.99.22.4-1+wheezy3+deb7u1. Fixed in 0.99.22.4-1+wheezy3+deb7u1. 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

Quagga is a BGP/OSPF/RIP routing daemon used for managing network routing protocols. It provides a flexible and scalable solution for routing in large networks. The package is widely used in various Linux distributions, including Debian 7 Wheezy. Quagga enables routers to exchange routing information and make informed decisions about the best paths for data packets. However, a vulnerability has been discovered in the IPv6 RA receive code of quagga, which can lead to a stack overrun.

Vulnerability Detail

The vulnerability in quagga arises from a buffer size mismatch in the IPv6 RA receive code. The buffer size specified during the reception of data confuses two constants with different values, resulting in a stack overrun. An attacker could exploit this vulnerability by sending specially crafted IPv6 RA packets to a vulnerable quagga instance. Successful exploitation could lead to arbitrary code execution or a denial of service condition. This vulnerability poses a significant risk to the integrity and availability of affected systems.

How To Fix

Minimum fixed version

0.99.22.4-1+wheezy3+deb7u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade quagga

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

Workaround

No workaround has been provided for this vulnerability. It is essential to apply the recommended fix by upgrading to the patched version of quagga.

Conclusion

The stack overrun vulnerability in quagga poses a significant risk to the integrity and availability of affected systems. It is recommended to upgrade to the patched version of quagga (0.99.22.4-1+wheezy3+deb7u1 or later) to mitigate this vulnerability. Promptly applying the update will ensure the security and stability of the quagga installation. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for quagga →

Share this vulnerability

FAQ

Quagga is a BGP/OSPF/RIP routing daemon used for managing network routing protocols. It enables routers to exchange routing information and make informed decisions about the best paths for data packets.

The vulnerability in quagga can be exploited by an attacker to execute arbitrary code or cause a denial of service condition. This can lead to a compromise of the affected system's integrity and availability.

This vulnerability affects quagga installations running on Debian 7 Wheezy.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your quagga installation is affected by this vulnerability. Simply upload your package-lock.json file to the playground, and it will analyze and alert you in real-time if any open-source vulnerabilities, including this one, are detected.

No workaround has been provided for this vulnerability. It is crucial to apply the recommended fix by upgrading to the patched version of quagga.

Related vulnerabilities

Recent vulnerabilities recorded for quagga.

How To Fix

Minimum fixed version

0.99.22.4-1+wheezy3+deb7u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade quagga

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