Description
All versions of Quagga, 0.93 through 1.1.0, are vulnerable to an unbounded memory allocation in the telnet 'vty' CLI, leading to a Denial-of-Service of Quagga daemons, or even the entire host. When Quagga daemons are configured with their telnet CLI enabled, anyone who can connect to the TCP ports can trigger this vulnerability, prior to authentication. Most distributions restrict the Quagga telnet interface to local access only by default. The Quagga telnet interface 'vty' input buffer grows automatically, without bound, so long as a newline is not entered. This allows an attacker to cause the Quagga daemon to allocate unbounded memory by sending very long strings without a newline. Eventually the daemon is terminated by the system, or the system itself runs out of memory. This is fixed in Quagga 1.1.1 and Free Range Routing (FRR) Protocol Suite 2017-01-10.
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.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | quagga | 0.99.24.1-2ubuntu1.3 | USN-3471-1 |
| Ubuntu 14.04 LTS | quagga | 0.99.22.4-3ubuntu1.4 | USN-3471-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 6 | quagga +2 | 0.99.15-14.el6 | RHSA-2017:0794 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP3 | quagga | 1.1.1-17.3.3 | SUSE-SU-2017:2294-1 |
| SLES 12 SP2 | quagga | 1.1.1-17.3.3 | SUSE-SU-2017:2294-1 |
| SLES 12 SP1 | quagga | 0.99.22.1-16.4.1 | SUSE-SU-2018:0455-1 |
| SLES 12 | quagga | 0.99.22.1-16.4.1 | SUSE-SU-2018:0455-1 |
| SLES 11 SP4 | quagga | 0.99.15-0.30.3.1 | SUSE-SU-2018:0457-1 |
Show 7 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 11 SP3 | quagga | 0.99.15-0.30.3.1 | SUSE-SU-2018:0457-1 |
| SLES for SAP 12 SP3 | quagga | 1.1.1-17.3.3 | SUSE-SU-2017:2294-1 |
| SLES for SAP 12 SP2 | quagga | 1.1.1-17.3.3 | SUSE-SU-2017:2294-1 |
| SLES for SAP 12 SP1 | quagga | 0.99.22.1-16.4.1 | SUSE-SU-2018:0455-1 |
| SLES for SAP 11 SP4 | quagga | 0.99.15-0.30.3.1 | SUSE-SU-2018:0457-1 |
| SUSE OpenStack Cloud 6 | quagga | 0.99.22.1-16.4.1 | SUSE-SU-2018:0455-1 |
| SUSE Linux Enterprise Point of Sale 11 SP3 | quagga | 0.99.15-0.30.3.1 | SUSE-SU-2018:0457-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | quagga | 1.2.4-2.14 | openSUSE-SU-2024:11290-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | quagga | 1.1.1-r0 | — |
| Alpine v3.23 | quagga | 1.1.1-r0 | — |
| Alpine v3.22 | quagga | 1.1.1-r0 | — |
| Alpine v3.21 | quagga | 1.1.1-r0 | — |
| Alpine v3.20 | quagga | 1.1.1-r0 | — |
Show 15 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | quagga | 1.1.1-r0 | — |
| Alpine v3.18 | quagga | 1.1.1-r0 | — |
| Alpine v3.17 | quagga | 1.1.1-r0 | — |
| Alpine v3.16 | quagga | 1.1.1-r0 | — |
| Alpine v3.15 | quagga | 1.1.1-r0 | — |
| Alpine v3.14 | quagga | 1.1.1-r0 | — |
| Alpine v3.13 | quagga | 1.1.1-r0 | — |
| Alpine v3.12 | quagga | 1.1.1-r0 | — |
| Alpine v3.11 | quagga | 1.1.1-r0 | — |
| Alpine v3.10 | quagga | 1.1.1-r0 | — |
| Alpine v3.9 | quagga | 1.1.1-r0 | — |
| Alpine v3.8 | quagga | 1.1.1-r0 | — |
| Alpine v3.7 | quagga | 1.1.1-r0 | — |
| Alpine v3.6 | quagga | 1.1.1-r0 | — |
| Alpine v3.5 | quagga | 1.1.1-r0 | — |
Advisories 6
- RHSA-2017:0794 Red Hat Security Advisory: quagga security and bug fix update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- USN-3471-1 quagga vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026
- SUSE-SU-2018:0457-1 Security update for quagga SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:0455-1 Security update for quagga SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11290-1 libfpm_pb0-1.2.4-2.14 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:2294-1 Security update for quagga SUSE / openSUSE Security Updates · May 2, 2025