Every CVE Search/ Get API key

CVE-2022-36440

A reachable assertion was found in Frrouting frr-bgpd 8.3.0 in the peek_for_as4_capability...

7.5 HighFix available

A reachable assertion was found in Frrouting frr-bgpd 8.3.0 in the peek_for_as4_capability function. Attackers can maliciously construct BGP open packets and send them to BGP peers running frr-bgpd, resulting in DoS.

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
None
Integrity
None
Availability
High

Exploit likelihood

1.64%Up 1.6 points since Apr 4, 2023
90%50%10%1%

What each source reports

NVD Score used 7.5

A reachable assertion was found in Frrouting frr-bgpd 8.3.0 in the peek_for_as4_capability function. Attackers can maliciously construct BGP open packets and send them to BGP peers running frr-bgpd, resulting in DoS.

Record
CVE-2022-36440
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-617
Updated
2026-11-02
CVE List No score

A reachable assertion was found in Frrouting frr-bgpd 8.3.0 in the peek_for_as4_capability function. Attackers can maliciously construct BGP open packets and send them to BGP peers running frr-bgpd, resulting in DoS.

Record
CVE-2022-36440
Updated
2026-11-02
EUVDEUVD-2022-39150 No score

A reachable assertion was found in Frrouting frr-bgpd 8.3.0 in the peek_for_as4_capability function. Attackers can maliciously construct BGP open packets and send them to BGP peers running frr-bgpd, resulting in DoS.

Record
EUVD-2022-39150
Updated
2026-11-03
GitHub AdvisoriesGHSA-cpmq-crvm-2w5p 7.5

A reachable assertion was found in Frrouting frr-bgpd 8.3.0 in the peek_for_as4_capability...

A reachable assertion was found in Frrouting frr-bgpd 8.3.0 in the peek_for_as4_capability function. Attackers can maliciously construct BGP open packets and send them to BGP peers running frr-bgpd, resulting in DoS.

Record
GHSA-cpmq-crvm-2w5p
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-617
Updated
2026-11-02
OSVDEBIAN-CVE-2022-36440 7.5

A reachable assertion was found in Frrouting frr-bgpd 8.3.0 in the peek_for_as4_capability function. Attackers can maliciously construct BGP open packets and send them to BGP peers running frr-bgpd, resulting in DoS.

Record
DEBIAN-CVE-2022-36440
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-03
OSVRHSA-2023:6434 7.5

Red Hat Security Advisory: frr security and bug fix update

Record
RHSA-2023:6434
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 4 moreShow less
OSVUBUNTU-CVE-2022-36440 7.5

A reachable assertion was found in Frrouting frr-bgpd 8.3.0 in the peek_for_as4_capability function. Attackers can maliciously construct BGP open packets and send them to BGP peers running frr-bgpd, resulting in DoS.

Record
UBUNTU-CVE-2022-36440
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
OSVALSA-2023:6434 No score

Moderate: frr security and bug fix 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):

  • frr: Reachable assertion in peek_for_as4_capability function (CVE-2022-36440)
  • frr: denial of service by crafting a BGP OPEN message with an option of type 0xff (CVE-2022-40302)
  • frr: denial of service by crafting a BGP OPEN message with an option of type in bgp_open_option_parse in the bgp_open.c 0xff (CVE-2022-40318)
  • frr: out-of-bounds read exists in the BGP daemon of FRRouting (CVE-2022-43681)

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.

Additional Changes:

For detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.

Record
ALSA-2023:6434
Updated
2026-11-02
OSVCLSA-2025-1762363302 No score

frr: Fix of 4 CVEs

  • CVE-2022-36440: fix heap-buffer-overflow in peek_for_as4_capability when reading BGP OPEN extended optional parameters
  • CVE-2023-31490: fix insufficient stream data validation in BGP prefix SID attributes processing
  • CVE-2023-38407: fix out-of-bounds read in BGP labeled unicast parsing
  • CVE-2023-41909: fix implicit withdrawal handling for BGP flowspec without attributes
Record
CLSA-2025-1762363302
Updated
2026-11-02
OSV No score

A reachable assertion was found in Frrouting frr-bgpd 8.3.0 in the peek_for_as4_capability function. Attackers can maliciously construct BGP open packets and send them to BGP peers running frr-bgpd, resulting in DoS.

Record
CVE-2022-36440
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
frr
AlmaLinux:9
before 8.3.1-11.el9_3.alma.1
8.3.1-11.el9_3.alma.1
frr-selinux
AlmaLinux:9
before 8.3.1-11.el9_3.alma.1
8.3.1-11.el9_3.alma.1
frr
TuxCare:AlmaLinux:9.2
before 8.3.1-5.el9.2.alma.tuxcare.els2
8.3.1-5.el9.2.alma.tuxcare.els2
frr-selinux
TuxCare:AlmaLinux:9.2
before 8.3.1-5.el9.2.alma.tuxcare.els2
8.3.1-5.el9.2.alma.tuxcare.els2
frr
Debian:12
before 8.4.1-1
8.4.1-1
frr
Debian:13
before 8.4.1-1
8.4.1-1
frr
Debian:14
before 8.4.1-1
8.4.1-1
frr
Debian:10
before 7.5.1-1.1+deb10u1, plus listed versions
6.0.2-26.0.2-2+deb10u16.0.2-2+deb10u27.2-17.2.1-1
Show 7 moreShow less
7.3.1-17.4-17.4-1.17.4-27.5-17.5.1-17.5.1-1.1
7.5.1-1.1+deb10u1
frr
Red Hat:enterprise_linux:9::appstream
before 0:8.3.1-11.el9_3
0:8.3.1-11.el9_3
frr-debuginfo
Red Hat:enterprise_linux:9::appstream
before 0:8.3.1-11.el9_3
0:8.3.1-11.el9_3
frr-debugsource
Red Hat:enterprise_linux:9::appstream
before 0:8.3.1-11.el9_3
0:8.3.1-11.el9_3
frr-selinux
Red Hat:enterprise_linux:9::appstream
before 0:8.3.1-11.el9_3
0:8.3.1-11.el9_3

History

History
RecordedChangedSources
affected
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

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

In short

CVE-2022-36440 is a high vulnerability (CVSS 7.5) in Frrouting, published April 3, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.64%, the 76th percentile. Fixed in frr 8.3.1-11.el9_3.alma.1.

References

Show 36 moreShow less
MoveEnter Open