Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconGain low-priv local access to host
-
DeliveryModify ban_details_records_count above 2,832,542 in fastnetmon.conf
-
ExploitRestart or reload FastNetMon service
-
Installallocate_buffer() overflows to tiny heap chunk
-
C2Ban event triggers write_packet() out-of-bounds writes
-
ExecuteCorrupt heap to hijack control flow
-
ImpactExecute code as FastNetMon process user
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Attacker must have local write access to FastNetMon's configuration (fastnetmon.conf) on a host running Community Edition through 1.2.9, specifically the ability to set ban_details_records_count above approximately 2,832,542 so that the unsigned 32-bit product of buffer_size_in_packets * 1516 + header wraps. Exploitation further requires that FastNetMon subsequently invoke allocate_buffer() and then write_packet() - i.e., a packet capture / ban event must occur after the malicious configuration is loaded - and the host must run a 32-bit-arithmetic build of the vulnerable code path (the literal use of unsigned int in the multiplication). Limiting factors per CVSS AV:L/PR:L: no network-reachable trigger, no unauthenticated path, and no user interaction component beyond service restart/config reload; default deployments with modest ban_details_records_count values are not exploitable until the parameter is deliberately set high. |
| Impact | The CVSS 3.1 vector AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N yields 7.1 and characterizes this as a local, low-complexity, low-privilege issue requiring the ability to influence configuration values - consistent with an operator-controlled parameter rather than an unauthenticated network input. CISA SSVC corroborates the lower urgency: Exploitation 'none', Automatable 'no', though Technical Impact is 'total' given heap corruption can plausibly lead to code execution in the FastNetMon process. EPSS is effectively zero (0.01%, 2nd percentile), the CVE is not in CISA KEV, and no public exploit identified at time of analysis. Note an inconsistency worth flagging: A:N in the vector seems conservative given that heap corruption typically risks process crash - defenders may want to treat availability impact as plausible despite the vector. Overall this is a real but lower-priority hardening fix; risk is concentrated in environments where untrusted users can edit fastnetmon.conf. |
| Exploit ScenarioDerived | A low-privileged local user with the ability to modify fastnetmon.conf (or a compromised automation account that templates this file) sets ban_details_records_count to a value greater than ~2,832,542. On the next packet capture event triggered by a ban, allocate_buffer() returns a tiny heap chunk due to the 32-bit overflow, and subsequent write_packet() calls overflow the chunk with attacker-influenceable packet bytes, corrupting heap metadata and potentially escalating to code execution in the FastNetMon process context. No public exploit identified at time of analysis, and the SSVC 'Automatable: no' rating reflects that exploitation requires per-target tuning of configuration and heap state. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 08, 2026
Heap corruption in FastNetMon Community Edition through 1.2.9 allows authenticated local users to trigger an integer overflow in the packet capture buffer allocation routine, resulting in undersized allocations followed by out-of-bounds heap writes during packet storage. The flaw stems from 32-bit unsigned arithmetic in allocate_buffer() in src/packet_storage.hpp, where a sufficiently large ban_details_records_count configuration value causes the memory size calculation to wrap. No public exploit identified at time of analysis and EPSS exploitation probability is negligible at 0.01%.
RemediationAI
No vendor-released patch identified at time of analysis; the CVE references point to the upstream repository and the Lorikeet Security disclosure at https://lorikeetsecurity.com/blog/fastnetmon-cve-2026-48690-packet-storage-integer-overflow rather than a tagged fix release, so operators should monitor https://github.com/pavel-odintsov/fastnetmon for a release above 1.2.9 and upgrade once published. As an interim compensating control, set ban_details_records_count in fastnetmon.conf to a conservative value well below 2,832,542 (e.g., the default or a few thousand records) - this directly prevents the multiplication from wrapping and has the trade-off of reducing the per-ban packet capture depth used for forensics. Additionally, restrict write access to fastnetmon.conf and the service's configuration management path to root/trusted operators only, since the overflow is reached through the configuration parser; this has minimal operational side effect in typical deployments where only administrators tune the tool.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
FastNetMon is an open-source DDoS detection and traffic analysis tool that captures packets into a pre-allocated ring-style buffer for forensic recording when bans are triggered. The vulnerable routine computes memory_size_in_bytes using unsigned 32-bit arithmetic as buffer_size_in_packets * (max_captured_packet_size + sizeof(fastnetmon_pcap_pkthdr_t)) + sizeof(fastnetmon_pcap_file_header_t); with the default 1500-byte capture size plus a 16-byte pcap packet header, each packet consumes ~1516 bytes, so a buffer_size_in_packets value above approximately 2,832,542 wraps the 32-bit product. The buffer_size_in_packets is derived from the ban_details_records_count configuration parameter parsed via atoi(), which performs no range or overflow validation. This maps to CWE-122 (Heap-based Buffer Overflow): the undersized allocation succeeds, then write_packet() iterates assuming the originally-requested size and writes past the heap chunk, corrupting adjacent heap metadata or objects.
Know when N A gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionNVD
FastNetMon Community Edition through 1.2.9 contains an integer overflow vulnerability in the packet capture buffer allocation. In src/packet_storage.hpp, the allocate_buffer() function computes memory_size_in_bytes as 'buffer_size_in_packets * (max_captured_packet_size + sizeof(fastnetmon_pcap_pkthdr_t)) + sizeof(fastnetmon_pcap_file_header_t)' using unsigned int (32-bit) arithmetic. With max_captured_packet_size=1500 and sizeof(fastnetmon_pcap_pkthdr_t)=16, each packet requires approximately 1516 bytes. If buffer_size_in_packets exceeds approximately 2,832,542, the multiplication overflows, resulting in a much smaller allocation than expected. Subsequent write_packet() calls then write past the allocated buffer, causing heap corruption. The buffer_size_in_packets value is derived from the ban_details_records_count configuration parameter, which is parsed using atoi() with no overflow checking.
Executive ViewAI
FastNetMon Community Edition through version 1.2.9 contains a heap corruption vulnerability that allows authenticated local users to trigger memory corruption and potential code execution through integer overflow in packet buffer allocation. Organizations relying on FastNetMon for network monitoring and attack detection face compromise of their monitoring infrastructure-attackers with local access could disable visibility into network threats while mounting attacks, creating blind spots in security operations.
Until patch availability: (1) Restrict local shell access to FastNetMon systems to trusted administrators only, disable shared accounts; (2) Disable packet capture and ban_details_records features if not operationally required; (3) Implement system-level monitoring (auditd, osquery) to detect heap corruption crashes and unauthorized local process execution; (4) Segment FastNetMon infrastructure on isolated network subnets with strict ingress/egress controls; (5) Review and strengthen local privilege escalation mitigations (ASLR, stack canaries) at the OS level.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.
LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr
Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han
A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi
Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc
Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula
Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root
LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(
Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti
Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr
SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg
Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ
Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali
EUVD-2026-31897
GHSA-h9r4-jj3x-8857
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB