
CVE catalog
CVE-2026-48686
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() i
- Severity
- Critical · CVSS 9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.56% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | fastnetmon | sid | 1.2.9-1 | fixed |
| Debian | fastnetmon | forky | 1.2.9-1 | fixed |
| Debian | fastnetmon | trixie | 1.2.9-0+deb13u1 | fixed |
| Debian | fastnetmon | trixie-security | 1.2.9-0+deb13u1 | fixed |
| Debian | fastnetmon | bookworm | 1.2.4-2+deb12u1 | vulnerable |
| Debian | fastnetmon | bookworm-security | 1.2.4-2+deb12u1 | vulnerable |
| Cpe | fastnetmon | Not reported | Not reported | vulnerable |
| Cpe | fastnetmon | Not reported | Not reported | unknown |
| Ubuntu | fastnetmon | pro | 1.2.8+git20250911-1 | vulnerable |
| Ubuntu | fastnetmon | pro | 1.2.8+git20250911-1build1 | vulnerable |
| Ubuntu | fastnetmon | pro | 1.2.8+git20250911-1build2 | vulnerable |
| Ubuntu | fastnetmon | pro | 1.2.8+git20250911-2 | vulnerable |
| Ubuntu | fastnetmon | pro | 1.2.8+git20250911-2ubuntu0.1~esm1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | fastnetmon | source | sid | 1.2.9-1 | unimportant | Not reported | [1138646] |
| Debian | fastnetmon | source | forky | 1.2.9-1 | unimportant | Not reported | [1138646] |
| Debian | fastnetmon | source | trixie | 1.2.9-0+deb13u1 | not yet assigned | Not reported | [1138646] |
| Debian | fastnetmon | source | bookworm | (unfixed) | unimportant | Not reported | [1138646] |
| Ubuntu | fastnetmon | deb | pro | 1.2.8+git20250911-2ubuntu0.1~esm1 | Not reported | USN-8429-1 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [fastnetmon]Affected
Details (6)
1.2.4-2+deb12u1· amd64 · bookwormAffected
nvd · fastnetmon · debian · bookworm; nvd · fastnetmon · debian · 12
1.2.4-2+deb12u1· arm64 · bookwormAffected
nvd · fastnetmon · debian · bookworm; nvd · fastnetmon · debian · 12
1.2.8-1~bpo12+1· amd64 · bookworm-backportsAffected
nvd · fastnetmon · debian · bookworm; nvd · fastnetmon · debian · 12
1.2.8-1~bpo12+1· arm64 · bookworm-backportsAffected
nvd · fastnetmon · debian · bookworm; nvd · fastnetmon · debian · 12
1.2.4-2+deb12u1· amd64 · bookworm-securityAffected
nvd · fastnetmon · debian · bookworm; nvd · fastnetmon · debian · 12
1.2.4-2+deb12u1· arm64 · bookworm-securityAffected
nvd · fastnetmon · debian · bookworm; nvd · fastnetmon · debian · 12
[Debian 13 (Trixie)]
- [fastnetmon]Fixed
Details (4)
1.2.9-0+deb13u1· amd64 · trixieFixed · Fixed:
1.2.9-0+deb13u1nvd · fastnetmon · debian · 13
1.2.9-0+deb13u1· arm64 · trixieFixed · Fixed:
1.2.9-0+deb13u1nvd · fastnetmon · debian · 13
1.2.9-0+deb13u1· amd64 · trixie-securityFixed · Fixed:
1.2.9-0+deb13u1nvd · fastnetmon · debian · 13
1.2.9-0+deb13u1· arm64 · trixie-securityFixed · Fixed:
1.2.9-0+deb13u1nvd · fastnetmon · debian · 13
Observed:
References
- [https://nvd.nist.gov/vuln/detail/CVE-2026-48686]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-48686]
- [https://osv.dev/vulnerability/USN-8429-1]
- [https://security-tracker.debian.org/tracker/CVE-2026-48686]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-48686.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]