Every CVE Search/ Get API key

CVE-2023-38406

bgpd/bgp_flowspec.c in FRRouting (FRR) before 8.4.3 mishandles an nlri length of zero, aka a ...

9.8 CriticalFix available

bgpd/bgp_flowspec.c in FRRouting (FRR) before 8.4.3 mishandles an nlri length of zero, aka a "flowspec overflow."

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

1.13%Up 1.1 points since Nov 6, 2023
90%50%10%1%

What each source reports

NVD Score used 9.8

bgpd/bgp_flowspec.c in FRRouting (FRR) before 8.4.3 mishandles an nlri length of zero, aka a "flowspec overflow."

Record
CVE-2023-38406
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-755
Updated
2026-11-02
CVE List No score

bgpd/bgp_flowspec.c in FRRouting (FRR) before 8.4.3 mishandles an nlri length of zero, aka a "flowspec overflow."

Record
CVE-2023-38406
Updated
2026-11-02
EUVDEUVD-2023-42223 No score

bgpd/bgp_flowspec.c in FRRouting (FRR) before 8.4.3 mishandles an nlri length of zero, aka a "flowspec overflow."

Record
EUVD-2023-42223
Updated
2026-11-02
GitHub AdvisoriesGHSA-8jp5-89m5-6xp3 9.8

bgpd/bgp_flowspec.c in FRRouting (FRR) before 8.4.3 mishandles an nlri length of zero, aka a ...

bgpd/bgp_flowspec.c in FRRouting (FRR) before 8.4.3 mishandles an nlri length of zero, aka a "flowspec overflow."

Record
GHSA-8jp5-89m5-6xp3
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-755
Updated
2026-11-02
OSVDEBIAN-CVE-2023-38406 9.8

bgpd/bgp_flowspec.c in FRRouting (FRR) before 8.4.3 mishandles an nlri length of zero, aka a "flowspec overflow."

Record
DEBIAN-CVE-2023-38406
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVRHSA-2024:0130 7.5

Red Hat Security Advisory: frr security update

Record
RHSA-2024:0130
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 17 moreShow less
OSVRHSA-2024:0477 7.5

Red Hat Security Advisory: frr security update

Record
RHSA-2024:0477
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRHSA-2024:0574 7.5

Red Hat Security Advisory: frr security update

Record
RHSA-2024:0574
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRHSA-2024:1093 7.5

Red Hat Security Advisory: frr security update

Record
RHSA-2024:1093
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRHSA-2024:1113 7.5

Red Hat Security Advisory: frr security update

Record
RHSA-2024:1113
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRHSA-2024:1152 7.5

Red Hat Security Advisory: frr security update

Record
RHSA-2024:1152
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2023-38406 9.8

bgpd/bgp_flowspec.c in FRRouting (FRR) before 8.4.3 mishandles an nlri length of zero, aka a "flowspec overflow."

Record
UBUNTU-CVE-2023-38406
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVALSA-2024:0130 No score

Moderate: frr security update

FRRouting is free software that manages TCP/IP based routing protocols. It supports BGP4, OSPFv2, OSPFv3, ISIS, RIP, RIPng, PIM, NHRP, PBR, EIGRP and BFD.

Security Fix(es):

  • ffr: Flowspec overflow in bgpd/bgp_flowspec.c (CVE-2023-38406)
  • ffr: Out of bounds read in bgpd/bgp_label.c (CVE-2023-38407)
  • frr: crash from specially crafted MP_UNREACH_NLRI-containing BGP UPDATE message (CVE-2023-47234)
  • frr: crash from malformed EOR-containing BGP UPDATE message (CVE-2023-47235)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
ALSA-2024:0130
Updated
2026-11-02
OSVALSA-2024:0477 No score

Moderate: frr security update

FRRouting is free software that manages TCP/IP based routing protocols. It supports BGP4, OSPFv2, OSPFv3, ISIS, RIP, RIPng, PIM, NHRP, PBR, EIGRP and BFD.

Security Fix(es):

  • ffr: Flowspec overflow in bgpd/bgp_flowspec.c (CVE-2023-38406)
  • ffr: Out of bounds read in bgpd/bgp_label.c (CVE-2023-38407)
  • frr: crash from specially crafted MP_UNREACH_NLRI-containing BGP UPDATE message (CVE-2023-47234)
  • frr: crash from malformed EOR-containing BGP UPDATE message (CVE-2023-47235)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
ALSA-2024:0477
Updated
2026-11-02
OSVCLSA-2025-1762181946 No score

frr: Fix of CVE-2023-38406

  • CVE-2023-38406: fix BGP Flowspec NLRI overflow vulnerability where zero-length packets could cause packet processing errors
Record
CLSA-2025-1762181946
Updated
2026-11-02
OSV No score

bgpd/bgp_flowspec.c in FRRouting (FRR) before 8.4.3 mishandles an nlri length of zero, aka a "flowspec overflow."

Record
CVE-2023-38406
Updated
2026-11-02
OSVopenSUSE-SU-2024:13487-1 No score

frr-8.4-8.1 on GA media

These are all security issues fixed in the frr-8.4-8.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:13487-1
Updated
2026-11-02
OSVRLSA-2024:0130 No score

Moderate: frr security update

FRRouting is free software that manages TCP/IP based routing protocols. It supports BGP4, OSPFv2, OSPFv3, ISIS, RIP, RIPng, PIM, NHRP, PBR, EIGRP and BFD.

Security Fix(es):

  • ffr: Flowspec overflow in bgpd/bgp_flowspec.c (CVE-2023-38406)

  • ffr: Out of bounds read in bgpd/bgp_label.c (CVE-2023-38407)

  • frr: crash from specially crafted MP_UNREACH_NLRI-containing BGP UPDATE message (CVE-2023-47234)

  • frr: crash from malformed EOR-containing BGP UPDATE message (CVE-2023-47235)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
RLSA-2024:0130
Updated
2026-11-02
OSVSUSE-SU-2023:4663-1 No score

Security update for frr

This update for frr fixes the following issues:

  • CVE-2023-47235: Fixed denial of service caused by malformed BGP UPDATE message with an EOR is processed (bsc#1216896).
  • CVE-2023-47234: Fixed denial of service caused by crafted BGP UPDATE message with a MP_UNREACH_NLRI attribute (bsc#1216897).
  • CVE-2023-38407: Fixed read beyond the end of the stream during labeled unicast parsing (bsc#1216899).
  • CVE-2023-38406: Fixed mishandling of nlri length of zero, aka a 'flowspec overflow (bsc#1216900).
Record
SUSE-SU-2023:4663-1
Updated
2026-11-02
OSVSUSE-SU-2024:2245-1 No score

Security update for frr

This update for frr fixes the following issues:

  • CVE-2023-38406: Fixed nlri length of zero mishandling, aka 'flowspec overflow'. (bsc#1216900)
  • CVE-2023-47235: Fixed a crash on malformed BGP UPDATE message with an EOR, because the presence of EOR does not lead to a treat-as-withdraw outcome. (bsc#1216896)
  • CVE-2023-47234: Fixed a crash on crafted BGP UPDATE message with a MP_UNREACH_NLRI attribute and additional NLRI data. (bsc#1216897)
  • CVE-2023-38407: Fixed attempts to read beyond the end of the stream during labeled unicast parsing. (bsc#1216899)
Record
SUSE-SU-2024:2245-1
Updated
2026-11-02
OSVSUSE-SU-2024:4090-1 No score

Security update for frr

This update for frr fixes the following issues:

Update to frr 8.5.6 (jsc#PED-PED-11092) including fixes for:

  • CVE-2024-44070,CVE-2024-34088,CVE-2024-31951,CVE-2024-31950, CVE-2024-31948,CVE-2024-27913,CVE-2023-47235,CVE-2023-47234, CVE-2023-46753,CVE-2023-46752,CVE-2023-41909,CVE-2023-41360, CVE-2023-41358,CVE-2023-38802,CVE-2023-38407,CVE-2023-38406, CVE-2023-3748,CVE-2023-31490,CVE-2023-31489 and other bugfixes. See https://frrouting.org/release/8.5.6/ for details.

The most recent frr 8.x series provides several new features, improvements and bug fixes for various protocols and daemons, especially for PIM/PIMv6/BGP and VRF support.

See https://frrouting.org/release/8.5/ for details and links.

Record
SUSE-SU-2024:4090-1
Updated
2026-11-02
OSVUSN-6498-1 No score

frr vulnerabilities

It was discovered that FRR incorrectly handled certain BGP messages. A remote attacker could possibly use this issue to cause FRR to crash, resulting in a denial of service.

Record
USN-6498-1
Updated
2026-11-02
OSVUSN-6807-1 No score

frr vulnerabilities

It was discovered that FRR incorrectly handled certain network traffic. A remote attacker could possibly use this issue to cause FRR to crash, resulting in a denial of service. (CVE-2022-26126, CVE-2022-26127, CVE-2022-26128, CVE-2022-26129, CVE-2022-37032, CVE-2022-37035, CVE-2023-31490, CVE-2023-38406, CVE-2023-38407, CVE-2023-46752, CVE-2023-46753, CVE-2023-47234, CVE-2023-47235, CVE-2024-31948)

Ben Cartwright-Cox discovered that FRR incorrectly handled certain network traffic. A remote attacker could possibly use this issue to cause FRR to crash, resulting in a denial of service. (CVE-2023-38802)

Record
USN-6807-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
frr
AlmaLinux:8
From an advisory covering 4 CVEs
before 7.5.1-13.el8_9.3.alma.1
7.5.1-13.el8_9.3.alma.1
frr-selinux
AlmaLinux:8
From an advisory covering 4 CVEs
before 7.5.1-13.el8_9.3.alma.1
7.5.1-13.el8_9.3.alma.1
frr
AlmaLinux:9
From an advisory covering 4 CVEs
before 8.3.1-11.el9_3.2.alma.1
8.3.1-11.el9_3.2.alma.1
frr-selinux
AlmaLinux:9
From an advisory covering 4 CVEs
before 8.3.1-11.el9_3.2.alma.1
8.3.1-11.el9_3.2.alma.1
frr
TuxCare:AlmaLinux:9.2
before 8.3.1-5.el9.2.alma.tuxcare.els1
8.3.1-5.el9.2.alma.tuxcare.els1
frr-selinux
TuxCare:AlmaLinux:9.2
before 8.3.1-5.el9.2.alma.tuxcare.els1
8.3.1-5.el9.2.alma.tuxcare.els1
frr
Debian:12
before 8.4.4-1.1~deb12u1, plus listed versions
8.4.2-18.4.4-1
8.4.4-1.1~deb12u1
frr
Debian:13
before 8.4.4-1
8.4.4-1
frr
Debian:14
before 8.4.4-1
8.4.4-1
frr
Debian:10
From an advisory covering 14 CVEs
before 7.5.1-1.1+deb10u2, plus listed versions
6.0.2-26.0.2-2+deb10u16.0.2-2+deb10u27.2-17.2.1-1
Show 8 moreShow less
7.3.1-17.4-17.4-1.17.4-27.5-17.5.1-17.5.1-1.17.5.1-1.1+deb10u1
7.5.1-1.1+deb10u2
Show 45 moreShow less
Affected packages
PackageAffectedFixed
frr
Debian:11
From an advisory covering 16 CVEs
before 7.5.1-1.1+deb11u3, plus listed versions
7.5.1-1.17.5.1-1.1+deb11u17.5.1-1.1+deb11u2
7.5.1-1.1+deb11u3
frr
Red Hat:enterprise_linux:8::appstream
From an advisory covering 4 CVEs
before 0:7.5.1-13.el8_9.3
0:7.5.1-13.el8_9.3
frr-debuginfo
Red Hat:enterprise_linux:8::appstream
From an advisory covering 4 CVEs
before 0:7.5.1-13.el8_9.3
0:7.5.1-13.el8_9.3
frr-debugsource
Red Hat:enterprise_linux:8::appstream
From an advisory covering 4 CVEs
before 0:7.5.1-13.el8_9.3
0:7.5.1-13.el8_9.3
frr-selinux
Red Hat:enterprise_linux:8::appstream
From an advisory covering 4 CVEs
before 0:7.5.1-13.el8_9.3
0:7.5.1-13.el8_9.3
frr
Red Hat:enterprise_linux:9::appstream
From an advisory covering 4 CVEs
before 0:8.3.1-11.el9_3.2
0:8.3.1-11.el9_3.2
frr-debuginfo
Red Hat:enterprise_linux:9::appstream
From an advisory covering 4 CVEs
before 0:8.3.1-11.el9_3.2
0:8.3.1-11.el9_3.2
frr-debugsource
Red Hat:enterprise_linux:9::appstream
From an advisory covering 4 CVEs
before 0:8.3.1-11.el9_3.2
0:8.3.1-11.el9_3.2
frr-selinux
Red Hat:enterprise_linux:9::appstream
From an advisory covering 4 CVEs
before 0:8.3.1-11.el9_3.2
0:8.3.1-11.el9_3.2
frr
Red Hat:rhel_eus:8.8::appstream
From an advisory covering 4 CVEs
before 0:7.5.1-7.el8_8.5
0:7.5.1-7.el8_8.5
frr-debuginfo
Red Hat:rhel_eus:8.8::appstream
From an advisory covering 4 CVEs
before 0:7.5.1-7.el8_8.5
0:7.5.1-7.el8_8.5
frr-debugsource
Red Hat:rhel_eus:8.8::appstream
From an advisory covering 4 CVEs
before 0:7.5.1-7.el8_8.5
0:7.5.1-7.el8_8.5
frr-selinux
Red Hat:rhel_eus:8.8::appstream
From an advisory covering 4 CVEs
before 0:7.5.1-7.el8_8.5
0:7.5.1-7.el8_8.5
frr
Red Hat:rhel_eus:9.2::appstream
From an advisory covering 4 CVEs
before 0:8.3.1-5.el9_2.4
0:8.3.1-5.el9_2.4
frr-debuginfo
Red Hat:rhel_eus:9.2::appstream
From an advisory covering 4 CVEs
before 0:8.3.1-5.el9_2.4
0:8.3.1-5.el9_2.4
frr-debugsource
Red Hat:rhel_eus:9.2::appstream
From an advisory covering 4 CVEs
before 0:8.3.1-5.el9_2.4
0:8.3.1-5.el9_2.4
frr-selinux
Red Hat:rhel_eus:9.2::appstream
From an advisory covering 4 CVEs
before 0:8.3.1-5.el9_2.4
0:8.3.1-5.el9_2.4
frr
Red Hat:rhel_eus:8.6::appstream
From an advisory covering 4 CVEs
before 0:7.5-11.el8_6.7
0:7.5-11.el8_6.7
frr-debuginfo
Red Hat:rhel_eus:8.6::appstream
From an advisory covering 4 CVEs
before 0:7.5-11.el8_6.7
0:7.5-11.el8_6.7
frr-debugsource
Red Hat:rhel_eus:8.6::appstream
From an advisory covering 4 CVEs
before 0:7.5-11.el8_6.7
0:7.5-11.el8_6.7
frr
Red Hat:rhel_eus:9.0::appstream
From an advisory covering 4 CVEs
before 0:8.0-5.el9_0.3
0:8.0-5.el9_0.3
frr-debuginfo
Red Hat:rhel_eus:9.0::appstream
From an advisory covering 4 CVEs
before 0:8.0-5.el9_0.3
0:8.0-5.el9_0.3
frr-debugsource
Red Hat:rhel_eus:9.0::appstream
From an advisory covering 4 CVEs
before 0:8.0-5.el9_0.3
0:8.0-5.el9_0.3
frr
Rocky Linux:8
From an advisory covering 4 CVEs
before 0:7.5.1-13.el8_9.3
0:7.5.1-13.el8_9.3
frr
SUSE:Linux Enterprise Module for Server Applications 15 SP5
From an advisory covering 4 CVEs
before 8.4-150500.4.15.1
8.4-150500.4.15.1
frr
openSUSE:Leap 15.5
From an advisory covering 4 CVEs
before 8.4-150500.4.15.1
8.4-150500.4.15.1
frr
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS
From an advisory covering 4 CVEs
before 7.4-150300.4.26.1
7.4-150300.4.26.1
frr
SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS
From an advisory covering 4 CVEs
before 7.4-150300.4.26.1
7.4-150300.4.26.1
frr
SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS
From an advisory covering 4 CVEs
before 7.4-150300.4.26.1
7.4-150300.4.26.1
frr
SUSE:Linux Enterprise Server 15 SP3-LTSS
From an advisory covering 4 CVEs
before 7.4-150300.4.26.1
7.4-150300.4.26.1
frr
SUSE:Linux Enterprise Server 15 SP4-LTSS
From an advisory covering 4 CVEs
before 7.4-150300.4.26.1
7.4-150300.4.26.1
frr
SUSE:Linux Enterprise Server for SAP Applications 15 SP3
From an advisory covering 4 CVEs
before 7.4-150300.4.26.1
7.4-150300.4.26.1
frr
SUSE:Linux Enterprise Server for SAP Applications 15 SP4
From an advisory covering 4 CVEs
before 7.4-150300.4.26.1
7.4-150300.4.26.1
frr
SUSE:Manager Proxy 4.3
From an advisory covering 4 CVEs
before 7.4-150300.4.26.1
7.4-150300.4.26.1
frr
SUSE:Manager Server 4.3
From an advisory covering 4 CVEs
before 7.4-150300.4.26.1
7.4-150300.4.26.1
frr
SUSE:Enterprise Storage 7.1
From an advisory covering 4 CVEs
before 7.4-150300.4.26.1
7.4-150300.4.26.1
frr
SUSE:Linux Enterprise Module for Server Applications 15 SP5
From an advisory covering 19 CVEs
before 8.5.6-150500.4.30.1
8.5.6-150500.4.30.1
frr
SUSE:Linux Enterprise Module for Server Applications 15 SP6
From an advisory covering 19 CVEs
before 8.5.6-150500.4.30.1
8.5.6-150500.4.30.1
frr
openSUSE:Leap 15.5
From an advisory covering 19 CVEs
before 8.5.6-150500.4.30.1
8.5.6-150500.4.30.1
frr
openSUSE:Leap 15.6
From an advisory covering 19 CVEs
before 8.5.6-150500.4.30.1
8.5.6-150500.4.30.1
frr
Ubuntu:Pro:20.04:LTS
before 7.2.1-1ubuntu0.2+esm2, plus listed versions
6.0.2-2build27.2-1ubuntu17.2-1ubuntu27.2.1-17.2.1-1ubuntu0.17.2.1-1ubuntu0.27.2.1-1ubuntu0.2+esm1
7.2.1-1ubuntu0.2+esm2
frr
Ubuntu:22.04:LTS
before 8.1-1ubuntu1.8, plus listed versions
7.5.1-1.18.1-18.1-1ubuntu18.1-1ubuntu1.18.1-1ubuntu1.2
Show 5 moreShow less
8.1-1ubuntu1.38.1-1ubuntu1.48.1-1ubuntu1.58.1-1ubuntu1.68.1-1ubuntu1.7
8.1-1ubuntu1.8
frr
Ubuntu:22.04:LTS
From an advisory covering 4 CVEs
before 8.1-1ubuntu1.8, plus listed versions
7.5.1-1.18.1-18.1-1ubuntu18.1-1ubuntu1.18.1-1ubuntu1.2
Show 5 moreShow less
8.1-1ubuntu1.38.1-1ubuntu1.48.1-1ubuntu1.58.1-1ubuntu1.68.1-1ubuntu1.7
8.1-1ubuntu1.8
frr
Ubuntu:Pro:20.04:LTS
From an advisory covering 15 CVEs
before 7.2.1-1ubuntu0.2+esm2, plus listed versions
6.0.2-2build27.2-1ubuntu17.2-1ubuntu27.2.1-17.2.1-1ubuntu0.17.2.1-1ubuntu0.27.2.1-1ubuntu0.2+esm1
7.2.1-1ubuntu0.2+esm2
frr
openSUSE:Tumbleweed
From an advisory covering 4 CVEs
before 8.4-8.1
8.4-8.1

History

History
RecordedChangedSources
affected, facts
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2023-38406 is a critical vulnerability (CVSS 9.8) in Frrouting, published November 6, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.13%, the 66th percentile. Fixed in frr 8.3.1-5.el9.2.alma.tuxcare.els1.

References

Show 84 moreShow less
MoveEnter Open