CVE-2018-5378: Buffer Overflow

Published Feb 19, 2018
·
Updated

Last updated 25 August 2025

Other sources

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.

Launchpad

Affected Software

7 affected components
debian/quagga
Quagga Quagga<=1.2.2
Debian Debian Linux=8.0
Debian Debian Linux=9.0
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=17.10

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade quagga bgpd to a version that resolves this vulnerability.

    Fixed in 1.2.3

Event History

Feb 19, 2018
CVE Published
via MITRE·01:00 PM
Data Sourced
via MITRE·01:00 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:29 PM
DescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·11:08 PM
Description
Jul 3, 2026
Data Sourced
via Ubuntu·02:44 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is CVE-2018-5378?

CVE-2018-5378 refers to a vulnerability in the Quagga BGP daemon (bgpd) prior to version 1.2.3 that allows for arbitrary data to be sent over the network to a peer and may cause the bgpd process to crash.

2

How severe is CVE-2018-5378?

CVE-2018-5378 has a severity level of high, with a CVSS score of 5.9.

3

Which software versions are affected by CVE-2018-5378?

Quagga versions prior to 1.2.3 are affected, including Debian Linux 8.0, Debian Linux 9.0, Canonical Ubuntu Linux 14.04, Canonical Ubuntu Linux 16.04, and Canonical Ubuntu Linux 17.10.

4

How can I fix CVE-2018-5378?

To fix CVE-2018-5378, update Quagga to version 1.2.3 or later, such as version 1.2.4-3 for Debian or the appropriate remedy for your specific Linux distribution.

5

Where can I find more information about CVE-2018-5378?

You can find more information about CVE-2018-5378 at the following references: [http://savannah.nongnu.org/forum/forum.php?forum_id=9095](http://savannah.nongnu.org/forum/forum.php?forum_id=9095), [http://www.kb.cert.org/vuls/id/940439](http://www.kb.cert.org/vuls/id/940439), [https://gogs.quagga.net/Quagga/quagga/src/master/doc/security/Quagga-2018-0543.txt](https://gogs.quagga.net/Quagga/quagga/src/master/doc/security/Quagga-2018-0543.txt).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203