CVE-2026-48691
published high CVSS 3.1 · 7.3fastnetmon: integer overflow in the BGP AS_PATH attribute encoder
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Debian | trixie | fastnetmon | Advisory build | 1.2.9-0+deb13u1 | DSA-6375-1 |
| Ubuntu | noble | fastnetmon | Advisory build | 1.2.6-1ubuntu0.1~esm1 | USN-8429-1 |
| Ubuntu | resolute | fastnetmon | Advisory build | 1.2.8+git20250911-2ubuntu0.1~esm1 | USN-8429-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.3 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
3- n/a
- CWE-190 CWE-190 Integer Overflow or Wraparound
- CWE-122 CWE-122 Heap-based Buffer Overflow
References
3Provider assertions
2mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0ed0c0fa12bbd7ca1902324b2ba82f3579ee911f5d49ece89ad7b3b60aabd69c
- Ingested
- 23 Sep 2026, 09:17:37 UTC
- Source record
- Official CVE record