CVE-2026-48686: FastNetMon Community Edition through 1.2.9 contains a stack-based buffer overflow in the BGP NLRI
Affects fastnetmonSource GCVE Database
Not known to be exploited · CVSS 9.8 Critical · fixed in 1.2.6-1ubuntu0.1~esm1 : patch fastnetmon as a priority.
Data as of 24 Nov 2026, 21:15 UTC
Contested
Critical score, yet low EPSS after six months- EPSS
- 0.5% chance of exploitation in 30 days – higher than 47% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.2.6-1ubuntu0.1~esm1, 1.2.8+git20250911-2ubuntu0.1~esm1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 26 May 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Upgrade the Ubuntu fastnetmon to 1.2.6-1ubuntu0.1~esm1 (package) or 1.2.8+git20250911-2ubuntu0.1~esm1 (package).
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10fastnetmonpkg:deb/ubuntu/fastnetmon?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu Pro 26.04 LTSfastnetmonpkg:deb/ubuntu/fastnetmon?arch=source&distro=esm-apps/resoluteOther threats | Affected
| Fixed in
|
Ubuntu 25.10fastnetmonpkg:deb/ubuntu/fastnetmon?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu Pro 24.04 LTSfastnetmonpkg:deb/ubuntu/fastnetmon?arch=source&distro=esm-apps/nobleOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
FastNetMon Community Edition through 1.2.9 contains a stack-based buffer overflow in the BGP NLRI (Network Layer Reachability Information) decoder. The function decode_bgp_subnet_encoding_ipv4_raw() in src/bgp_protocol.cpp reads prefix_bit_length directly from the BGP packet (line 99) without validating it is <= 32 for IPv4 prefixes. This value is passed to how_much_bytes_we_need_for_storing_certain_subnet_mask() which computes ceil(prefix_bit_length / 8), returning up to 32 bytes for a prefix_bit_length of 255. The result is used as the length argument to memcpy() (line 106), which copies into a 4-byte uint32_t stack variable (prefix_ipv4). This causes a stack buffer overflow of up to 28 bytes, which can be exploited for arbitrary code execution. Additionally, the unvalidated prefix_bit_length is passed to convert_cidr_to_binary_netmask_local_function_copy() (line 111), where a shift of (32 - cidr) with cidr > 32 causes undefined behavior.
References
- ubuntu.com/security/CVE-2026-48686 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-48686 (opens in a new tab)
- lorikeetsecurity.com/blog/fastnetmon-cve-2026-48686-bgp-nlri-stack-overflow (opens in a new tab)
- github.com/pavel-odintsov/fastnetmon/pull/1053 (opens in a new tab)
- github.com/pavel-odintsov/fastnetmon/commit/265a767635767d7a08391dbe7f98f750d2ea04d0 (opens in a new tab)
- github.com/pavel-odintsov/fastnetmon (opens in a new tab)
- github.com/pavel-odintsov/fastnetmon/blob/master/src/bgp_protocol.cpp (opens in a new tab)
- ubuntu.com/security/notices/USN-8429-1 (opens in a new tab)