Vulnerabilities / CVE-2026-48686

critical

CVE-2026-48686

FastNetMon Community Edition through 1.2.9 contains a stack-based buff ...

Published Modified CWE 120, 787
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Ubuntu (medium).

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.

Affected packages and fixed versions

SourcePackageFixed in
debian 12fastnetmonno fix listed
debian 13fastnetmon1.2.9-0+deb13u1
debian 14fastnetmon1.2.9-1
echofastnetmon1.2.9-0+deb13u1
rapidfort debian 12fastnetmon0:1.2.9-0+deb13u1, 0:1.2.9-1
rapidfort debian 13fastnetmon0:1.2.9-0+deb13u1, 0:1.2.9-1
rapidfort fedora 43fastnetmon1.2.9-2.fc43
rapidfort Oracle Linux 10fastnetmonno fix listed
rapidfort Oracle Linux 9fastnetmonno fix listed
rapidfort ubuntu 20.04fastnetmonno fix listed
rapidfort ubuntu 22.04fastnetmonno fix listed
rapidfort ubuntu 24.04fastnetmonno fix listed
Show all 14 entries from 14 sources
SourcePackageFixed in
debian 12fastnetmonno fix listed
debian 13fastnetmon1.2.9-0+deb13u1
debian 14fastnetmon1.2.9-1
echofastnetmon1.2.9-0+deb13u1
rapidfort debian 12fastnetmon0:1.2.9-0+deb13u1, 0:1.2.9-1
rapidfort debian 13fastnetmon0:1.2.9-0+deb13u1, 0:1.2.9-1
rapidfort fedora 43fastnetmon1.2.9-2.fc43
rapidfort Oracle Linux 10fastnetmonno fix listed
rapidfort Oracle Linux 9fastnetmonno fix listed
rapidfort ubuntu 20.04fastnetmonno fix listed
rapidfort ubuntu 22.04fastnetmonno fix listed
rapidfort ubuntu 24.04fastnetmonno fix listed
ubuntu 24.04fastnetmonno fix listed
ubuntu 26.04fastnetmonno fix listed

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.