The bgp_dump_routes_func function in bgpd/bgp_dump.c in Quagga does not perform size checks when dumping data, which might allow remote atta
The bgp_dump_routes_func function in bgpd/bgp_dump.c in Quagga does not perform size checks when dumping data, which might allow remote attackers to cause a denial of service (assertion failure and daemon crash) via a large BGP packet.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for help- Published
- May 23, 2016
- Updated
- Jun 16, 2026
- EPSS
- 4.6% · 91th percentile
- CWE
- CWE-20
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
31
Monitor
Low priority for now.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 4.6%
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| quagga | quagga | cpe:2.3:a:quagga:quagga |
| opensuse | leap | cpe:2.3:o:opensuse:leap |
| opensuse | opensuse | cpe:2.3:o:opensuse:opensuse |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- opensuse leap42.1
- opensuse opensuse13.2
- quagga quaggaall versions
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:7 | quagga | before 0.99.22.4-1+wheezy3 | 0.99.22.4-1+wheezy3 |
| Debian:8 | quagga | before 0.99.23.1-1+deb8u2 | 0.99.23.1-1+deb8u2 |
| openSUSE:Tumbleweed | quagga | before 1.0.20160315-5.1 | 1.0.20160315-5.1 |
| Red Hat:enterprise_linux:6::server | quagga | before 0:0.99.15-14.el6 | 0:0.99.15-14.el6 |
| Red Hat:enterprise_linux:6::server | quagga-contrib | before 0:0.99.15-14.el6 | 0:0.99.15-14.el6 |
| Red Hat:enterprise_linux:6::server | quagga-debuginfo | before 0:0.99.15-14.el6 | 0:0.99.15-14.el6 |
| Red Hat:enterprise_linux:6::server | quagga-devel | before 0:0.99.15-14.el6 | 0:0.99.15-14.el6 |
| SUSE:Linux Enterprise Software Development Kit 11 SP4 | quagga | before 0.99.15-0.24.2 | 0.99.15-0.24.2 |
| SUSE:Linux Enterprise Software Development Kit 12 | quagga | before 0.99.22.1-12.1 | 0.99.22.1-12.1 |
Same product
quagga: all recordsOther highest-scoring records for the same primary product.
- CVE-2018-5379The Quagga BGP daemon (bgpd) prior to version 1.2.3 can double-free memory when processing certain forms of UPDATE message, containing clust51Plan
- CVE-2018-5378The 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 le45Plan
- CVE-2016-1245It was discovered that the zebra daemon in Quagga before 1.0.20161017 suffered from a stack-based buffer overflow when processing IPv6 Neigh40Plan
- CVE-2018-5381The 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:bgp39Monitor
- CVE-2017-16227The aspath_put function in bgpd/bgp_aspath.c in Quagga before 1.2.2 allows remote attackers to cause a denial of service (session drop) via 36Monitor
- CVE-2017-5495All versions of Quagga, 0.93 through 1.1.0, are vulnerable to an unbounded memory allocation in the telnet 'vty' CLI, leading to a Denial-of36Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:quagga | 0.99.22.4-1+wheezy3 · Debian:7 | Package registry (OSV) |
| opensuse:quagga | 1.0.20160315-5.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:quagga | 0:0.99.15-14.el6 · Red Hat:enterprise_linux:6::server | Package registry (OSV) |
| red hat:quagga-contrib | 0:0.99.15-14.el6 · Red Hat:enterprise_linux:6::server | Package registry (OSV) |
| red hat:quagga-debuginfo | 0:0.99.15-14.el6 · Red Hat:enterprise_linux:6::server | Package registry (OSV) |
| red hat:quagga-devel | 0:0.99.15-14.el6 · Red Hat:enterprise_linux:6::server | Package registry (OSV) |
| suse:quagga | 0.99.22.1-12.1 · SUSE:Linux Enterprise Software Development Kit 12 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-20 · Improper Input ValidationCVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Buffer Overflow via Environment VariablesCAPEC-10likelihood: High · High
- Server Side Include (SSI) InjectionCAPEC-101likelihood: High · High
- Cross Zone ScriptingCAPEC-104likelihood: Medium · High
- Command Line Execution through SQL InjectionCAPEC-108likelihood: Low · Very High
- Object Relational Mapping InjectionCAPEC-109likelihood: Low · High
- SQL Injection through SOAP Parameter TamperingCAPEC-110likelihood: High · Very High
- Double EncodingCAPEC-120likelihood: Low · Medium
- Subverting Environment Variable ValuesCAPEC-13likelihood: High · Very High
ATT&CK techniques
- Obfuscated Files or InformationT1027
- Masquerading: Invalid Code SignatureT1036.001
- Steal Web Session CookieT1539
- Subvert Trust Controls: Code SigningT1553.002
- Impair Defenses:Impair Command History LoggingT1562.003
- Hijack Execution Flow:Dynamic Linker HijackingT1574.006
- Hijack Execution Flow:Path Interception by PATH Environment VariableT1574.007
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- lists.opensuse.org/opensuse-updates/2016-05/msg00062.html
- rhn.redhat.com/errata/RHSA-2017-0794.html
- www.debian.org/security/2016/dsa-3654
- www.openwall.com/lists/oss-security/2016/04/27/7
- www.securityfocus.com/bid/88561
- www.securitytracker.com/id/1035699
- lists.quagga.net/pipermail/quagga-dev/2016-February/014743.html
- lists.quagga.net/pipermail/quagga-dev/2016-January/014699.html
- security.gentoo.org/glsa/201701-48
Vendor advisories and official records. Exploit/PoC links are deliberately left out.