CVE-2016-2342: 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…
Noroxi assessment
Priority: Monitor (action score 36/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: 13.3% (FIRST EPSS); higher than 96.4% 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. Special conditions such as timing or configuration are required.
- Fixed version: quagga (Debian:7) 0.99.22.4-1+wheezy2; quagga (Debian:8) 0.99.23.1-1+deb8u1; quagga (openSUSE:Tumbleweed) 1.0.20160315-5.1.
Low priority for now. Upgrade to quagga (Debian:7) 0.99.22.4-1+wheezy2; quagga (Debian:8) 0.99.23.1-1+deb8u1; 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_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 configuration is used, relies on a Labeled-VPN SAFI routes-data length field during a data copy, which allows remote attackers to execute arbitrary code or cause a denial of service (stack-based buffer overflow) via a crafted packet.
- Published
- Mar 17, 2016
- Updated
- Jun 16, 2026
- EPSS
- 13.3% · 96th percentile
- CWE
- CWE-119
Report tools
Action score
36
Low priority for now.
- CVSS
- 32 / 40 · 8.1 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 4 / 30 · 13.3%
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.
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- debian debian linux7.0
- debian debian linux8.0
- quagga quagga0.99.24
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+wheezy2 | 0.99.22.4-1+wheezy2 |
| Debian:8 | quagga | before 0.99.23.1-1+deb8u1 | 0.99.23.1-1+deb8u1 |
| 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.16.1 | 0.99.15-0.16.1 |
| SUSE:Linux Enterprise Software Development Kit 12 | quagga | before 0.99.22.1-5.1 | 0.99.22.1-5.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-2236Oct 23, 2013 · Stack-based buffer overflow in the new_msg_lsa_change_notify function in the OSPFD API (ospf_api.c) in Quagga before 0.99.22.2, when…11Monitor
- ← 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
- Later →CVE-2016-4049May 23, 2016 · 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…31Monitor
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+wheezy2 · 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-5.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.
Not on record for this CVE: 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.
- Special conditions such as timing or configuration are required.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-119 · Improper Restriction of Operations within the Bounds of a Memory BufferCVSS vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/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
- Overflow BuffersCAPEC-100likelihood: High · Very High
- Buffer ManipulationCAPEC-123likelihood: High · Very High
- Client-side Injection-induced Buffer OverflowCAPEC-14likelihood: Medium · High
- Filter Failure through Buffer OverflowCAPEC-24likelihood: High · High
- MIME ConversionCAPEC-42likelihood: High · High
- Overflow Binary Resource FileCAPEC-44likelihood: High · Very High
- Buffer Overflow via Symbolic LinksCAPEC-45likelihood: High · High
ATT&CK techniques
—
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (10 more)Show less
- lists.opensuse.org/opensuse-updates/2016-03/msg00102.html
- lists.opensuse.org/opensuse-updates/2016-03/msg00117.html
- nongnu.askapache.com//quagga/quagga-1.0.20160309.changelog.txt
- rhn.redhat.com/errata/RHSA-2017-0794.html
- www.debian.org/security/2016/dsa-3532
- www.kb.cert.org/vuls/id/270232
- www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html
- www.securityfocus.com/bid/84318
- www.ubuntu.com/usn/USN-2941-1
- security.gentoo.org/glsa/201610-03
Vendor advisories and official records. Exploit/PoC links are deliberately left out.