# CVE-2017-5495

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (NVD); no exploitation reported by the 5 checked sources; EPSS 19% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2017-01-24 · Modified: 2024-08-05
- Aliases: ALPINE-CVE-2017-5495, MGASA-2017-0071, UBUNTU-CVE-2017-5495
- Record: https://cvemate.com/vulnerability/CVE-2017-5495 · JSON: https://cvemate.com/vulnerability/CVE-2017-5495/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v2.0, NVD) AV:N/AC:L/Au:N/C:N/I:N/A:C
- EPSS: 18.803%, percentile 97.362%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine quagga (Alpine Linux): \< 1.1.1-r0
- ubuntu quagga (Ubuntu): \< 0.99.22.4-3ubuntu1.4 \| \< 0.99.24.1-2ubuntu1.3
- mageia quagga (Mageia): \< 0.99.22.4-4.4.mga5
- quagga quagga: ≤ 1.1.0

## References

- <http://rhn.redhat.com/errata/RHSA-2017-0794.html>
- <http://savannah.nongnu.org/forum/forum.php?forum_id=8783>
- <https://github.com/freerangerouting/frr/pull/63>
- <http://www.securitytracker.com/id/1037688>
- <https://lists.quagga.net/pipermail/quagga-dev/2017-January/016586.html>
- <http://www.securityfocus.com/bid/95745>
- <https://security.alpinelinux.org/vuln/CVE-2017-5495>
- <https://advisories.mageia.org/MGASA-2017-0071.html>
- <https://bugs.mageia.org/show_bug.cgi?id=20271>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/NKP6QWJW7XWDE4O42UCR5L534GOHVIQN/>
- <https://ubuntu.com/security/CVE-2017-5495>
- <http://mirror.easyname.at/nongnu//quagga/quagga-1.1.1.changelog.txt>
- <https://ubuntu.com/security/notices/USN-3471-1>
- <https://www.cve.org/CVERecord?id=CVE-2017-5495>

---

Data as of 2026-12-05T04:17:29.398Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
