Skip to content
OpenAdvisories
High · 7.1 CVE-2026-48690 EUVD-2026-31897GHSA-h9r4-jj3x-8857

FastNetMon Community Edition through 1.2.9 contains an integer overflow vulnerability in the packet capture buffer allocation. In src/packe…

Published May 26, 2026 · Updated May 26, 2026 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 fastnetmon 1.2.9-1 —
Debian 13 fastnetmon 1.2.9-0+deb13u1 —
Debian 12 fastnetmon No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 fastnetmon No fix yet —
Ubuntu 25.10 fastnetmon No fix yet —
Ubuntu 18.04 LTS fastnetmon No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 26.04 LTS fastnetmon No fix yet —
Ubuntu Pro 24.04 LTS fastnetmon No fix yet —
Ubuntu Pro 20.04 LTS fastnetmon No fix yet —

References