cve.bz

CVE-2026-48686 pavel-odintsov fastnetmon: Classic Buffer Overflow

9.8 criticalEPSS 0.6%

Critical (9.8) in pavel-odintsov fastnetmon. EPSS 0.6% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.6% (unchanged from 0.6% a week ago; 0.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 48th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: total, assessed 2026-05-26. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-120 Buffer Copy without Checking Size of Input (Classic Buffer Overflow)
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-48686 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-48686?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-48686?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-48686 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
pavel-odintsov:fastnetmonthrough 1.2.9

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12fastnetmonno fix listedDEBIAN-CVE-2026-48686
Debian13fastnetmon1.2.9-0+deb13u1DEBIAN-CVE-2026-48686 DSA-6375-1
Debian14fastnetmon1.2.9-1DEBIAN-CVE-2026-48686
Ubuntu25.10, 26.10fastnetmonno fix listedUBUNTU-CVE-2026-48686
UbuntuPro:20.04:LTSfastnetmon1.1.4-1ubuntu0.1~esm1USN-8429-1
UbuntuPro:24.04:LTSfastnetmon1.2.6-1ubuntu0.1~esm1UBUNTU-CVE-2026-48686 USN-8429-1
UbuntuPro:26.04:LTSfastnetmon1.2.8+git20250911-2ubuntu0.1~esm1UBUNTU-CVE-2026-48686 USN-8429-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-120 (13).

References

Check your stackJSON