CVE-2026-48691

EUVD-2026-31898
FastNetMon Community Edition through 1.2.9 contains an integer overflow in the BGP AS_PATH attribute encoder. In src/bgp_protocol.hpp, the IPv4UnicastAnnounce::get_attributes() function computes attribute_length as 'sizeof(bgp_as_path_segment_element_t) + this->as_path_asns.size() * sizeof(uint32_t)' and stores it in a uint8_t field (line 600-605). Since uint8_t can only hold values 0-255, an AS_PATH containing more than 63 ASNs (2 + 64*4 = 258 > 255) causes silent truncation. The truncated length is used for buffer sizing, while the actual data written is the full untruncated amount, resulting in a heap buffer overflow. Similarly, the path_segment_length field at line 621 is also uint8_t, truncating with more than 255 ASNs.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
9.8 CRITICAL
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 22.9%
Affected Products (NVD)
VendorProductVersion
pavel-odintsovfastnetmon
𝑥
≤ 1.2.9
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
fastnetmon
bookworm
unimportant
bookworm (security)
unimportant
forky
1.2.9-1
fixed
sid
1.2.9-1
fixed
trixie
1.2.9-0+deb13u1
fixed
trixie (security)
1.2.9-0+deb13u1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
fastnetmon
bionic
not-affected
focal
not-affected
jammy
dne
noble
Fixed 1.2.6-1ubuntu0.1~esm1
released
questing
ignored
resolute
Fixed 1.2.8+git20250911-2ubuntu0.1~esm1
released