quagga: VPNv4 NLRI parser memcpys to stack on unchecked length
Published Mar 17, 2016
8.1
HIGHCVSS 3.0
EPSS 12.11%
Description
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.
Affected products
No data.
Configuration 2
- 7.0
- 8.0
No data.
Red Hat Enterprise Linux 6
quagga-0:0.99.15-14.el6
Fixed · RHSA-2017:0794
Red Hat Enterprise Linux 5
quagga
Will not fix
Red Hat Enterprise Linux 7
quagga
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | quagga-0:0.99.15-14.el6 | Fixed | RHSA-2017:0794 |
| Red Hat Enterprise Linux 5 | quagga | Will not fix | n/a |
| Red Hat Enterprise Linux 7 | quagga | Will not fix | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
AV:N/AC:H/Au:N/C:C/I:C/A:C
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (17 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 12.11% (0.12110) | 96.03th | v5 (v2026.06.15) |
| Jun 15, 2026 | 12.11% (0.12110) | 95.61th | v5 (v2026.06.15) |
| Jan 30, 2026 | 20.44% (0.20441) | 95.38th | v4 (v2025.03.14) |
| Oct 28, 2025 | 16.12% (0.16123) | 94.50th | v4 (v2025.03.14) |
| Jul 13, 2025 | 20.44% (0.20441) | 95.26th | v4 (v2025.03.14) |
| Jul 11, 2025 | 30.81% (0.30814) | 96.51th | v4 (v2025.03.14) |
| Mar 30, 2025 | 20.44% (0.20441) | 95.07th | v4 (v2025.03.14) |
| Mar 29, 2025 | 37.42% (0.37416) | 95.70th | v4 (v2025.03.14) |
| Mar 17, 2025 | 20.44% (0.20441) | 95.08th | v4 (v2025.03.14) |
| Dec 12, 2024 | 1.75% (0.01748) | 88.44th | v3 (v2023.03.01) |
| Jun 28, 2024 | 1.44% (0.01442) | 86.71th | v3 (v2023.03.01) |
| Jun 18, 2023 | 1.44% (0.01442) | 84.71th | v3 (v2023.03.01) |
| May 10, 2023 | 1.26% (0.01255) | 83.53th | v3 (v2023.03.01) |
| Mar 7, 2023 | 1.56% (0.01563) | 85.14th | v3 (v2023.03.01) |
| Mar 6, 2023 | 6.70% (0.06698) | 91.56th | v2 (v2022.01.01) |
| Apr 1, 2022 | 6.70% (0.06698) | 90.75th | v2 (v2022.01.01) |
| Feb 4, 2022 | 6.70% (0.06698) | 78.74th | v2 (v2022.01.01) |
References (16)
- http://git.savannah.gnu.org/cgit/quagga.git/commit/?id=a3bc7e9400b214a0f078fdb19596ba54214a1442 x_refsource_CONFIRM
- http://lists.opensuse.org/opensuse-updates/2016-03/msg00102.html vendor-advisoryx_refsource_SUSE
- http://lists.opensuse.org/opensuse-updates/2016-03/msg00117.html vendor-advisoryx_refsource_SUSE
- http://mirror.easyname.at/nongnu//quagga/quagga-1.0.20160309.changelog.txt
- http://nongnu.askapache.com//quagga/quagga-1.0.20160309.changelog.txt x_refsource_CONFIRM
- http://rhn.redhat.com/errata/RHSA-2017-0794.html vendor-advisoryx_refsource_REDHAT
- http://www.debian.org/security/2016/dsa-3532 vendor-advisoryx_refsource_DEBIAN
- http://www.kb.cert.org/vuls/id/270232 third-party-advisoryx_refsource_CERT-VNThird Party AdvisoryUS Government Resource
- http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html x_refsource_CONFIRM
- http://www.securityfocus.com/bid/84318 vdb-entryx_refsource_BID
- http://www.ubuntu.com/usn/USN-2941-1 vendor-advisoryx_refsource_UBUNTU
- https://access.redhat.com/security/cve/CVE-2016-2342 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1316571 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2016-2342
- https://security.gentoo.org/glsa/201610-03 vendor-advisoryx_refsource_GENTOO
- https://www.cve.org/CVERecord?id=CVE-2016-2342
Change history (0)
No recorded changes yet.