# CVE-2017-16227

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

## Description

```text
The aspath_put function in bgpd/bgp_aspath.c in Quagga before 1.2.2 allows remote attackers to cause a denial of service (session drop) via BGP UPDATE messages, because AS_PATH size calculation for long paths counts certain bytes twice and consequently constructs an invalid message.
```

## Signals

- CVSS: 7.5 high (v3.0, NVD) CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 45.96%, percentile 98.835%, 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): \< 0.99.24.1-r6 \| \< 1.0.20161017-r1 \| \< 1.1.1-r1 \| \< 1.2.2-r0
- debian quagga (Debian): \< 0.99.22.4-1+wheezy3+deb7u2 \| \< 0.99.23.1-1+deb8u4 \| \< 1.1.1-3+deb9u1
- ubuntu quagga (Ubuntu): \< 0.99.22.4-3ubuntu1.4 \| \< 0.99.24.1-2ubuntu1.3
- debian debian\_linux: 8.0 \| 9.0
- mageia quagga (Mageia): \< 0.99.22.4-4.5.mga5
- mageia quagga (Mageia): \< 0.99.24.1-6.1.mga6
- quagga quagga: ≤ 1.2.1

## References

- <https://bugs.debian.org/879474>
- <http://download.savannah.gnu.org/releases/quagga/quagga-1.2.2.changelog.txt>
- <http://www.debian.org/security/2017/dsa-4011>
- <https://git.savannah.gnu.org/cgit/quagga.git/commit/?id=7a42b78be9a4108d98833069a88e6fddb9285008>
- <https://lists.quagga.net/pipermail/quagga-dev/2017-September/033284.html>
- <https://security.alpinelinux.org/vuln/CVE-2017-16227>
- <https://advisories.mageia.org/MGASA-2017-0416.html>
- <https://bugs.mageia.org/show_bug.cgi?id=21967>
- <http://openwall.com/lists/oss-security/2017/10/30/4>
- <https://www.debian.org/security/2017/dsa-4011>
- <http://git.savannah.gnu.org/cgit/quagga.git/commit/?id=7a42b78be9a4108d98833069a88e6fddb9285008>
- <https://ubuntu.com/security/CVE-2017-16227>
- <https://ubuntu.com/security/notices/USN-3471-1>
- <https://www.cve.org/CVERecord?id=CVE-2017-16227>

---

Data as of 2026-12-05T03:50:39.380Z. 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
