CVE-2018-5378Quagga Memory Corruption
The Quagga BGP daemon (bgpd) prior to version 1.2.3 does not properly bounds check the data sent with a NOTIFY to a peer, if an attribute length is invalid.
Published Feb 19, 2018 · Updated Feb 4, 2026
Key Facts
Patch immediately- CVE-2018-5378 is a medium-severity vulnerability (CVSS 5.9 v3.1) affecting Quagga, Ubuntu Linux (Canonical), Debian Linux and 7 more products.
- It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
- EPSS estimates a 74% probability of exploitation in the next 30 days.
- Fixed versions are available, including bgpd 1.2.3, libfpm_pb0 1.1.1-17.13.1, libfpm_pb0 1.1.1-17.7.1.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Scores
CVSS v3.1
5.9
CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:H
EPSS (30-day exploit likelihood)
74%
Higher than 99.4% of all scored CVEs
Exploit maturity
None known
ATLAS score
29/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
None known
Public exploit code
0
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
Description
The Quagga BGP daemon (bgpd) prior to version 1.2.3 does not properly bounds check the data sent with a NOTIFY to a peer, if an attribute length is invalid. Arbitrary data from the bgpd process may be sent over the network to a peer and/or bgpd may crash.
Affected Products
98 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| QuaggaQuagga | See advisory | 1.2.2 |
| Ubuntu LinuxCanonical | 14.04, 16.04, 17.10 | n/a |
| Debian LinuxDebian | 8.0, 9.0 | n/a |
| libfpm_pb0suse | See advisory | 1.1.1-18.3.1 |
| libospf0suse | See advisory | 1.1.1-18.3.1 |
Patched Releases
bgpd
1.2.3
libfpm_pb0
1.1.1-17.13.1, 1.1.1-17.7.1, 1.1.1-18.3.1, 1.2.4-2.14
libospf0
1.1.1-17.13.1, 1.1.1-17.7.1, 1.1.1-18.3.1, 1.2.4-2.14
libospfapiclient0
1.1.1-17.13.1, 1.1.1-17.7.1, 1.1.1-18.3.1, 1.2.4-2.14
libquagga_pb0
1.1.1-17.13.1, 1.1.1-17.7.1, 1.1.1-18.3.1, 1.2.4-2.14
libzebra1
1.1.1-17.13.1, 1.1.1-17.7.1, 1.1.1-18.3.1, 1.2.4-2.14
Quagga
0.99.15-0.30.3.1, 0.99.22.1-16.4.1, 1.1.1-17.13.1, 1.1.1-17.7.1, 1.1.1-18.3.1, 1.2.4-2.14, <=1.2.2
quagga-devel
0.99.15-0.30.3.1, 1.1.1-17.13.1, 1.1.1-17.7.1, 1.1.1-18.3.1, 1.2.4-2.14
Timeline
Publicly disclosed
Feb 19, 2018
Last updated
Feb 4, 2026
Weakness Type
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
- CWE-125 Out-of-bounds Read
References
- advisorysavannah.nongnu.org · forum.php
- advisorybugzilla.suse.com · 1021669
- advisorybugzilla.suse.com · 1065641
- advisorybugzilla.suse.com · 1069468
- advisorybugzilla.suse.com · 1079798
FAQ
Common Questions.
The Quagga BGP daemon (bgpd) prior to version 1.2.3 does not properly bounds check the data sent with a NOTIFY to a peer, if an attribute length is invalid.
Affected: Quagga; Ubuntu Linux (Canonical) versions 14.04, 16.04, 17.10; Debian Linux versions 8.0, 9.0, among others. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
Fixed versions are available, including bgpd 1.2.3, libfpm_pb0 1.1.1-17.13.1, libfpm_pb0 1.1.1-17.7.1.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2018-5378 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo