# CVE-2018-5381

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2018-02-19 · Modified: 2024-09-16
- Aliases: UBUNTU-CVE-2018-5381
- Record: https://cvemate.com/vulnerability/CVE-2018-5381 · JSON: https://cvemate.com/vulnerability/CVE-2018-5381/json

## Description

```text
The Quagga BGP daemon (bgpd) prior to version 1.2.3 has a bug in its parsing of "Capabilities" in BGP OPEN messages, in the bgp_packet.c:bgp_capability_msg_parse function. The parser can enter an infinite loop on invalid capabilities if a Multi-Protocol capability does not have a recognized AFI/SAFI, causing a denial of service.
```

## 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: 30.162%, percentile 98.26%, 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

- canonical ubuntu\_linux: 14.04 \| 16.04 \| 17.10
- ubuntu quagga (Ubuntu): \< 0.99.22.4-3ubuntu1.5 \| \< 0.99.24.1-2ubuntu1.4
- debian debian\_linux: 7.0 \| 8.0 \| 9.0
- quagga bgpd: ≥ bpgd, \< 1.2.3
- quagga quagga: ≤ 1.2.2
- siemens ruggedcom\_rox\_ii\_firmware: \< 2.13.0

## References

- <https://gogs.quagga.net/Quagga/quagga/src/master/doc/security/Quagga-2018-1975.txt>
- <https://usn.ubuntu.com/3573-1/>
- <https://www.debian.org/security/2018/dsa-4115>
- <http://savannah.nongnu.org/forum/forum.php?forum_id=9095>
- <https://security.gentoo.org/glsa/201804-17>
- <https://lists.debian.org/debian-lts-announce/2018/02/msg00021.html>
- <http://www.kb.cert.org/vuls/id/940439>
- <https://cert-portal.siemens.com/productcert/pdf/ssa-451142.pdf>
- <https://ubuntu.com/security/CVE-2018-5381>
- <https://www.quagga.net/security/Quagga-2018-1975.txt>
- <https://ubuntu.com/security/notices/USN-3573-1>
- <https://www.cve.org/CVERecord?id=CVE-2018-5381>

---

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