Veille CVE

‹ Retour à la liste

CVE-2026-48690

7.1 Élevée

Publiée le 26/05/2026 à 19:16 · Modifiée le 24/07/2026 à 13:10 · Analysée par le NVD · Source : cve@mitre.org

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.

Traduire en français

Produits concernés

Scores CVSS

VersionScoreSourceVecteur
3.1 7.1 Élevée nvd@nist.gov (NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
3.1 7.1 Élevée 134c704f-9b21-4f2e-91b3-4a467353bcc0 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Faiblesses (CWE)

Références

Ailleurs