CVEfocus › CVE database › CVE-2026-48686

CVE-2026-48686

CVSS 9.8 CriticalEPSS 0.6% (higher than 48% of CVEs)Published 2026-05-26Updated 2026-05-26Assigner: mitre

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.

CWE-120CWE-787

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
3Fix pending
2Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10fastnetmonFix pendingUBUNTU-CVE-2026-48686
Ubuntu 26.04fastnetmonFix pending1.2.8+git20250911-2ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-48686
Ubuntu 25.10fastnetmonWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-48686
Ubuntu 24.04fastnetmonFix pending1.2.6-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-48686
Debian 14fastnetmonFixed1.2.9-1DEBIAN-CVE-2026-48686
Debian 13fastnetmonFixed1.2.9-0+deb13u1DEBIAN-CVE-2026-48686
Debian 12fastnetmonWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2026-48686

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.