{"id":"CVE-2026-48691","aliases":["DEBIAN-CVE-2026-48691","EUVD-2026-31898","GHSA-pjmc-gjwh-qr2w","UBUNTU-CVE-2026-48691","USN-8429-1"],"status":"published","title":"FastNetMon Community Edition through 1.2.9 contains an integer overflow in the BGP AS_PATH...","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-\u003eas_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 \u003e 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.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.00308,"percentile":0.23942,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-122","CWE-190"],"published":"2026-05-26T00:00:00Z","modified":"2026-10-28T02:31:03Z","fixes":[{"ecosystem":"Debian:13","package":"fastnetmon","fixed_in":["1.2.9-0+deb13u1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"fastnetmon","fixed_in":["1.2.9-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:24.04:LTS","package":"fastnetmon","fixed_in":["1.2.6-1ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:26.04:LTS","package":"fastnetmon","fixed_in":["1.2.8+git20250911-2ubuntu0.1~esm1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"fastnetmon","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.4-2","1.2.4-2+deb12u1","1.2.5-1","1.2.5-2","1.2.5-2~bpo12+1","1.2.6-1","1.2.6-1~bpo12+1","1.2.7-1","1.2.7-1~bpo12+1","1.2.8+git20250911-1","1.2.8+git20250911-2","1.2.8-1","1.2.8-1~bpo12+1","1.2.9-1"]},{"source":"osv","ecosystem":"Debian:13","package":"fastnetmon","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.9-0+deb13u1"}]}],"versions":["1.2.8+git20250911-1","1.2.8+git20250911-2","1.2.8-1"]},{"source":"osv","ecosystem":"Debian:14","package":"fastnetmon","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.9-1"}]}],"versions":["1.2.8+git20250911-1","1.2.8+git20250911-2","1.2.8-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"fastnetmon","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.6-1ubuntu0.1~esm1"}]}],"versions":["1.2.5-1","1.2.6-1","1.2.6-1build1","1.2.6-1build2","1.2.6-1build3","1.2.6-1build4"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"fastnetmon","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.8-1build1","1.2.8-1build2","1.2.8+git20250911-1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"fastnetmon","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.8+git20250911-2","1.2.9-1","1.2.9-1build1","1.2.9-1build2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:26.04:LTS","package":"fastnetmon","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.8+git20250911-2ubuntu0.1~esm1"}]}],"versions":["1.2.8+git20250911-1","1.2.8+git20250911-1build1","1.2.8+git20250911-1build2","1.2.8+git20250911-2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"fastnetmon","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.4-1ubuntu0.1~esm1"}]}],"versions":["1.1.4-1","1.1.4-1build3","1.1.4-1build4","1.1.4-1build5"],"bundled":5},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"fastnetmon","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.6-1ubuntu0.1~esm1"}]}],"versions":["1.2.5-1","1.2.6-1","1.2.6-1build1","1.2.6-1build2","1.2.6-1build3","1.2.6-1build4"],"bundled":5},{"source":"osv","ecosystem":"Ubuntu:Pro:26.04:LTS","package":"fastnetmon","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.8+git20250911-2ubuntu0.1~esm1"}]}],"versions":["1.2.8+git20250911-1","1.2.8+git20250911-1build1","1.2.8+git20250911-1build2","1.2.8+git20250911-2"],"bundled":5}],"products":[{"vendor":"pavel-odintsov","product":"fastnetmon"}],"references":[{"url":"https://github.com/pavel-odintsov/fastnetmon","tags":["Product","package","report"]},{"url":"https://github.com/pavel-odintsov/fastnetmon/blob/master/src/bgp_protocol.hpp","tags":["Product","web","report"]},{"url":"https://lorikeetsecurity.com/blog/fastnetmon-cve-2026-48691-bgp-as-path-overflow","tags":["Third Party Advisory","article","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48691","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-pjmc-gjwh-qr2w"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/48xxx/CVE-2026-48691.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-48691","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-48691","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-48691","tags":["report"]},{"url":"https://github.com/pavel-odintsov/fastnetmon/commit/94c66d5b100c42fb8bd10a22ca595e46895d60d0","tags":["report"]},{"url":"https://github.com/pavel-odintsov/fastnetmon/pull/1054","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-8429-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-48686","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2026-48687","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2026-48689","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2026-48694","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2026-48691","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-\u003eas_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 \u003e 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.","status":"published","published":"2026-05-26T00:00:00Z","modified":"2026-05-27T20:37:43.097Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high","assessor":"adp"}],"cwes":["CWE-190","CWE-122"],"updated_at":"2026-11-02T13:50:49.872037Z"}],"euvd":[{"id":"EUVD-2026-31898","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-\u003eas_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 \u003e 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.","status":"published","published":"2026-05-26T00:00:00Z","modified":"2026-05-27T20:37:43Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high"}],"updated_at":"2026-11-02T18:21:03.450999Z"}],"ghsa":[{"id":"GHSA-pjmc-gjwh-qr2w","title":"FastNetMon Community Edition through 1.2.9 contains an integer overflow in the BGP AS_PATH...","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-\u003eas_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 \u003e 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.","status":"published","published":"2026-05-26T18:31:47Z","modified":"2026-05-27T21:31:19Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-122","CWE-190"],"updated_at":"2026-11-02T15:08:21.544183Z"}],"nvd":[{"id":"CVE-2026-48691","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-\u003eas_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 \u003e 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.","status":"published","published":"2026-05-26T17:16:53.67Z","modified":"2026-07-24T11:10:00.17Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high","assessor":"secondary"}],"cwes":["CWE-190","CWE-122"],"updated_at":"2026-11-02T14:12:20.511562Z"}],"osv":[{"id":"CVE-2026-48691","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-\u003eas_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 \u003e 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.","status":"published","published":"2026-05-26T00:00:00Z","modified":"2026-10-28T02:31:03.092136872Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high"}],"updated_at":"2026-11-02T15:45:06.701612Z"},{"id":"DEBIAN-CVE-2026-48691","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-\u003eas_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 \u003e 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.","status":"published","published":"2026-05-26T17:16:53.67Z","modified":"2026-10-01T03:03:16.501727595Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:45:56.444225Z"},{"id":"UBUNTU-CVE-2026-48691","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-\u003eas_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 \u003e 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.","status":"published","published":"2026-05-26T17:16:00Z","modified":"2026-10-17T12:58:31.034054842Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"},{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high"}],"updated_at":"2026-11-02T16:56:33.391918Z"},{"id":"USN-8429-1","title":"fastnetmon vulnerabilities","description":"It was discovered that FastNetMon incorrectly validated prefix lengths when\ndecoding BGP NLRI data. A remote attacker could possibly use this issue to\ncause a denial of service or execute arbitrary code. This issue only\naffected Ubuntu 24.04 LTS and Ubuntu 26.04 LTS. (CVE-2026-48686)\n\nIt was discovered that FastNetMon incorrectly sanitized input in the\nJuniper router integration plugin. An attacker could possibly use this\nissue to execute arbitrary commands. (CVE-2026-48687)\n\nIt was discovered that FastNetMon incorrectly handled buffer bounds checks\nwhen processing network traffic. A remote attacker could possibly use this\nissue to cause a denial of service or execute arbitrary code. This issue\nonly affected Ubuntu 24.04 LTS and Ubuntu 26.04 LTS. (CVE-2026-48689)\n\nIt was discovered that FastNetMon incorrectly handled encoding the BGP\nAS_PATH attribute. A remote attacker could possibly use this issue to cause\na denial of service or execute arbitrary code. This issue only affected\nUbuntu 24.04 LTS and Ubuntu 26.04 LTS. (CVE-2026-48691)\n\nIt was discovered that FastNetMon incorrectly validated IP address input in\nthe Juniper router integration plugin. An attacker could possibly use this\nissue to inject arbitrary router configuration commands. (CVE-2026-48694)","status":"published","published":"2026-06-15T16:11:00Z","modified":"2026-06-16T05:14:18.252687362Z","updated_at":"2026-11-02T16:58:25.103481Z"}]}}
