Bug 2481520 (CVE-2026-48691) - CVE-2026-48691 fastnetmon: integer overflow in the BGP AS_PATH attribute encoder
Summary: CVE-2026-48691 fastnetmon: integer overflow in the BGP AS_PATH attribute encoder
Keywords:
Status: NEW
Alias: CVE-2026-48691
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2482717 2482718
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-05-26 17:01 UTC by OSIDB Bzimport
Modified: 2026-05-28 15:41 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-05-26 17:01:51 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.