CVE-2018-5380: The Quagga BGP daemon (bgpd) prior to version 1.2.3 can overrun internal BGP code-to-string conversion tables
CVE-2018-5380 is a medium-severity flaw (CVSS 4.3) affecting quagga, debian linux, ubuntu linux. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
The Quagga BGP daemon (bgpd) prior to version 1.2.3 can overrun internal BGP code-to-string conversion tables used for debug by 1 pointer value, based on input.
Why this priority
- EPSS top 3%: very likely to be exploited
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 4.3 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 14.8% (top 3%) |
| CISA exploited list | No |
| Weakness | CWE-125 |
| Published | 2018-02-19 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2018-5380?
quagga: upgrade to newer than 1.2.2; debian linux: mitigate or apply the listed mitigation; ubuntu linux: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2018-5380 being exploited?
CVE-2018-5380 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2018-5380 affect?
CVE-2018-5380 affects quagga, debian linux, ubuntu linux. Severity is medium (CVSS 4.3). The Quagga BGP daemon (bgpd) prior to version 1.2.3 can overrun internal BGP code-to-string conversion tables used for debug by 1 pointer value, based on input.
How urgent is CVE-2018-5380?
Priority 44/100. EPSS top 3%: very likely to be exploited; On your watchlist
Software pages
Ubuntu vulnerabilities · Debian vulnerabilities · Siemens vulnerabilities
Related CVEs
- CVE-2021-44038 HIGH 7.8 UPGRADE An issue was discovered in Quagga through 1.2.4
- CVE-2018-5381 MEDIUM 6.5 UPGRADE MITIGATE The Quagga BGP daemon (bgpd) prior to version 1.2.3 has a bug in its parsing of "Capabilities" in BGP OPEN mes
- CVE-2018-5379 HIGH 7.5 UPGRADE MITIGATE The Quagga BGP daemon (bgpd) prior to version 1.2.3 can double-free memory when processing certain forms of UP
- CVE-2018-5378 HIGH 7.1 UPGRADE MITIGATE The Quagga BGP daemon (bgpd) prior to version 1.2.3 does not properly bounds check the data sent with a NOTIFY
- CVE-2017-5495 HIGH 7.5 UPGRADE All versions of Quagga, 0.93 through 1.1.0, are vulnerable to an unbounded memory allocation in the telnet 'vt