Description
Stack-based buffer overflow in the new_msg_lsa_change_notify function in the OSPFD API (ospf_api.c) in Quagga before 0.99.22.2, when --enable-opaque-lsa and the -a command line option are used, allows remote attackers to cause a denial of service (crash) via a large LSA.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 7 | quagga | 0.99.22.4-1+wheezy1 | DSA-2803-1 |
| Debian 6.0 | quagga | 0.99.20.1-0+squeeze5 | DSA-2803-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | quagga | 0.99.22.4-3ubuntu1.1 | USN-2941-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 6 | quagga +2 | 0.99.15-14.el6 | RHSA-2017:0794 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | quagga | 1.0.20160315-5.1 | openSUSE-SU-2024:10362-1 |
Advisories 4
- RHSA-2017:0794 Red Hat Security Advisory: quagga security and bug fix update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-2803-1 quagga - several Debian Security (DSA / DLA) · Mar 9, 2026
- USN-2941-1 quagga vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026
- openSUSE-SU-2024:10362-1 libospf0-1.0.20160315-5.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- RHSA-2017:0794 vendor-advisory
- 60955 vdb-entry
- http://nongnu.mirrors.hostinginnederland.nl//quagga/quagga-0.99.22.3.changelog.txt
- http://git.savannah.gnu.org/gitweb/?p=quagga.git%3Ba=commitdiff%3Bh=3f872fe60463a931c5c766dbf8c36870c0023e88
- [quagga-dev] 20130702 [quagga-dev 10568] ospfd, new_msg_lsa_change_notify: looks like a buffer overflow mailing-list
- DSA-2803 vendor-advisory
- [oss-security] 20130703 Re: CVE request: Quagga OSPF-API stack overrun mailing-list
- USN-2941-1 vendor-advisory