CVE-2026-48691
JSON

7.3high

FastNetMon Community Edition through 1.2.9 contains an integer overflow in the BGP ASPATH attribute encoder.

Severity
7.3high CVSS:3.1 by CISA-ADP
Exploit likelihood
0.31% (higher than 25% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre

Description

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
pavel-odintsov fastnetmonup to 1.2.9NVD

All scores

CISA-ADP7.3high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-122CWE-190

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (es)

FastNetMon Community Edition hasta la 1.2.9 contiene un desbordamiento de entero en el codificador del atributo BGP AS_PATH. En src/bgp_protocol.hpp, la función IPv4UnicastAnnounce::get_attributes() calcula attribute_length como 'sizeof(bgp_as_path_segment_element_t) + this - as_path_asns.size() * sizeof(uint32_t)' y lo almacena en un campo uint8_t (línea 600-605). Dado que uint8_t solo puede contener valores de 0-255, un AS_PATH que contenga más de 63 ASNs (2 + 644 = 258 > 255) causa una truncación silenciosa. La longitud truncada se utiliza para el dimensionamiento del búfer, mientras que los datos reales escritos son la cantidad completa sin truncar, lo que resulta en un desbordamiento de búfer de pila. De manera similar, el campo path_segment_length en la línea 621 también es uint8_t, truncando con más de 255 ASNs.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-48691 changed 2026-05-27CVE Terms of Use
NVDCVE-2026-48691 changed 2026-07-24Public domain