CVE-2022-40318: debian debian_linux Out-of-bounds Read
Vulnerability summary
CVE-2022-40318 is a medium (CVSS 6.5) Out-of-bounds Read vulnerability in debian debian_linux. EPSS estimates a 1.98% chance of exploitation in the next 30 days, higher than 80.2% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 2Timeline
- 03-05-2023PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
An issue was discovered in bgpd in FRRouting (FRR) through 8.4. By crafting a BGP OPEN message with an option of type 0xff (Extended Length from RFC 9072), attackers may cause a denial of service (assertion failure and daemon restart, or out-of-bounds read). This is possible because of inconsistent boundary checks that do not account for reading 3 bytes (instead of 2) in this 0xff case. NOTE: this behavior occurs in bgp_open_option_parse in the bgp_open.c file, a different location (with a different attack vector) relative to CVE-2022-40302.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
1.98%
Chance of exploitation in the next 30 days
Percentile
80%
Versus all other CVEs
30-day change
0.00 pp
From 1.98% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Debian2 products
- frr< 8.4.1-1
- debian_linuxEOL10.0 | 11.0 | 12.0
Frrouting1 product
- frrouting≤ 8.4
Ubuntu1 product
- frr< 7.2.1-1ubuntu0.2 | < 8.1-1ubuntu1.3
3 vendors · 4 products
References
6 links- github.com/FRRouting/frr/releasesThird Party Advisory