CVE-2016-4049: 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…
Noroxi assessment
Priority: Monitor (action score 31/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 4.6% (FIRST EPSS); higher than 91.8% of all records.
- 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.
- Fixed version: quagga (Debian:7) 0.99.22.4-1+wheezy3; quagga (Debian:8) 0.99.23.1-1+deb8u2; quagga (openSUSE:Tumbleweed) 1.0.20160315-5.1.
Low priority for now. Upgrade to quagga (Debian:7) 0.99.22.4-1+wheezy3; quagga (Debian:8) 0.99.23.1-1+deb8u2; quagga (openSUSE:Tumbleweed) 1.0.20160315-5.1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- May 23, 2016
- Updated
- Jun 16, 2026
- EPSS
- 4.6% · 91th percentile
- CWE
- CWE-20
Report tools
Action score
31
Low priority for now.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 4.6%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| 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…51Plan
- 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…45Plan
- 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…44Plan
Published before and after this one in the same product
- ← EarlierCVE-2013-6051Dec 14, 2013 · The bgp_attr_unknown function in bgp_attr.c in Quagga 0.99.21 does not properly initialize the total variable, which allows remote…18Monitor
- ← EarlierCVE-2016-2342Mar 17, 2016 · The bgp_nlri_parse_vpnv4 function in bgp_mplsvpn.c in the VPNv4 NLRI parser in bgpd in Quagga before 1.0.20160309, when a certain VPNv4…36Monitor
- Later →CVE-2017-5495Jan 24, 2017 · All versions of Quagga, 0.93 through 1.1.0, are vulnerable to an unbounded memory allocation in the telnet 'vty' CLI, leading to a…36Monitor
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).
Not on record for this CVE: patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
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 (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (8 more)Show less
- 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.