Description
Stack-based buffer overflow in the bgp_route_refresh_receive function in bgp_packet.c in bgpd in Quagga before 0.99.17 allows remote authenticated users to cause a denial of service (daemon crash) or possibly execute arbitrary code via a malformed Outbound Route Filtering (ORF) record in a BGP ROUTE-REFRESH (RR) message.
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 5.0 | quagga | 0.99.10-1lenny3 | DSA-2104-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 6 | quagga +2 | 0.99.15-5.el6_0.1 | RHSA-2010:0945 |
| RHEL 5 | quagga +2 | 0.98.6-5.el5_5.2 | RHSA-2010:0785 |
| RHEL 4 | quagga +2 | 0.98.3-4.el4_8.1 | RHSA-2010:0785 |
Advisories 3
- RHSA-2010:0785 Red Hat Security Advisory: quagga security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2010:0945 Red Hat Security Advisory: quagga security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-2104-1 quagga - denial of service Debian Security (DSA / DLA) · Mar 9, 2026
References
- ADV-2010-2304 vdb-entry
- 42635 vdb-entry
- 42498 third-party-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=626783
- [oss-security] 20100824 CVE Request -- Quagga (bgpd) [two ids] -- 1, Stack buffer overflow by processing crafted Refresh-Route msgs 2, NULL ptr deref by parsing certain AS paths by BGP update request mailing-list
- 41238 third-party-advisory
- SUSE-SR:2010:022 vendor-advisory
- http://code.quagga.net/?p=quagga.git%3Ba=commit%3Bh=d64379e8f3c0636df53ed08d5b2f1946cfedd0e3
- 41038 third-party-advisory
- GLSA-201202-02 vendor-advisory
- 42397 third-party-advisory
- DSA-2104 vendor-advisory
- USN-1027-1 vendor-advisory
- 42446 third-party-advisory
- SUSE-SU-2011:1316 vendor-advisory
- MDVSA-2010:174 vendor-advisory
- 48106 third-party-advisory
- ADV-2010-3097 vdb-entry
- [oss-security] 20100825 Re: CVE Request -- Quagga (bgpd) [two ids] -- 1, Stack buffer overflow by processing crafted Refresh-Route msgs 2, NULL ptr deref by parsing certain AS paths by BGP update request mailing-list
- RHSA-2010:0785 vendor-advisory
- RHSA-2010:0945 vendor-advisory
- http://www.quagga.net/news2.php?y=2010&m=8&d=19
- ADV-2010-3124 vdb-entry