← Vulnerability feed

Vulnerability record · CVE-2018-5378 · published 19 February 2018

CVE-2018-5378: Quagga bgpd missing bounds check leaks memory and crashes via NOTIFY

Quagga · Quagga

Quagga bgpd before 1.2.3 fails to bounds check data sent with a NOTIFY message when an attribute length is invalid. This allows arbitrary data from the bgpd process to be sent over the network to a peer and can also crash the daemon. The flaw is a memory buffer overflow (CWE-119) in a widely deployed routing daemon.

5.9 CVSS 3.0 Medium EPSS 74% · top 0.5% CWE-119 · Memory buffer overflow
5.9CVSS 3.0 base score, v2 4.9
74%EPSS exploitation probability, 30 days
NoNot in CISA KEV
3Affected product versions listed by NVD
12References
17 Jun 2026Last modified by NVD

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.

CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: high.

high priorityHigh EPSS (0.742) and a remotely reachable memory flaw in a core routing daemon justify prompt patching despite the medium CVSS score.

What it is

Quagga bgpd before 1.2.3 fails to bounds check data sent with a NOTIFY message when an attribute length is invalid. This allows arbitrary data from the bgpd process to be sent over the network to a peer and can also crash the daemon. The flaw is a memory buffer overflow (CWE-119) in a widely deployed routing daemon.

Impact

An attacker can cause bgpd to crash, disrupting BGP routing, and may leak portions of process memory to a peer. The confidentiality impact is limited and the availability impact is high.

Attack surface

Reachable over the network via BGP peering (AV:N). The CVSS vector requires low privileges (PR:L) and no user interaction (UI:N), consistent with an attacker who can establish or influence a BGP session.

Exploitation

Not listed in CISA KEV and no ransomware associations are documented. EPSS is high (0.742, 99.46th percentile), indicating elevated predicted exploitation activity, but the record does not confirm public exploit code.

What to do

  • Upgrade Quagga to version 1.2.3 or later, or apply the vendor patch referenced in the Quagga advisory.
  • Apply the Debian DSA-4115, Ubuntu USN-3573-1, or Gentoo GLSA 201804-17 updates for affected distributions.
  • Restrict BGP peering to trusted, authenticated peers and filter invalid attribute lengths at the edge.
  • Monitor bgpd for unexpected restarts or crashes and investigate immediately.

Detection

  • Monitor bgpd logs and system logs for crash, restart, or NOTIFY-related error messages.
  • Use network monitoring to detect malformed BGP NOTIFY messages with invalid attribute lengths.
  • Track bgpd process uptime and alert on unexpected restarts.
  • Review BGP peer configurations for unauthorized or unexpected peers.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

3 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2018-5378 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2025-32433Erlang/OTP SSH server missing authentication allows remote code executionErlang/OTP SSH servers before OTP-27.3.3, OTP-26.2.5.11 and OTP-25.3.2.20 mishandle SSH protocol messages, letting an unauthenticated attacker execut…KEVEPSS 99%analysed10.0CVE-2025-24201Apple WebKit out-of-bounds write allows sandbox escapeCVE-2025-24201 is an out-of-bounds write in Apple's WebKit that was addressed with improved checks. Maliciously crafted web content may break out of …KEVEPSS 3.8%analysed10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2026-24061GNU Inetutils telnetd argument injection allows remote auth bypasstelnetd in GNU Inetutils through 2.7 fails to sanitize the USER environment variable, so a value such as "-f root" is passed as an argument to login …KEVEPSS 99%analysed9.8CVE-2025-39682Linux kernel TLS zero-length record handling flaw on rx_listThe Linux kernel TLS receive path mishandles zero-length records that arrive from the rx_list, breaking the assumption that a record type change cann…KEVEPSS 2.9%analysed9.8CVE-2025-24813Apache Tomcat Default Servlet path equivalence enables RCE and file disclosureApache Tomcat mishandles path equivalence for names containing an internal dot, letting a remote unauthenticated attacker write files through the Def…KEVEPSS 100%analysed9.8CVE-2024-9680Mozilla Firefox and Thunderbird use-after-free in Animation timelinesA use-after-free flaw in Animation timelines allows an attacker to execute code in the content process of Firefox and Thunderbird. Mozilla reports ex…KEVEPSS 23%analysed9.8CVE-2023-46604Apache ActiveMQ OpenWire deserialization remote code executionThe Java OpenWire protocol marshaller in Apache ActiveMQ deserializes untrusted data, letting an attacker manipulate serialized class types so the br…KEVEPSS 100%analysed

Source: NIST National Vulnerability Database (record CVE-2018-5378), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.