製品・ソフトウェアに関する情報
Pavel OdintsovのFastNetMonにおける複数の脆弱性
Title Pavel OdintsovのFastNetMonにおける複数の脆弱性
Summary

FastNetMon Community Edition バージョン1.2.9までに、パケットキャプチャバッファの割り当てで整数オーバーフローの脆弱性が存在します。src/packet_storage.hpp の allocate_buffer() 関数では、memory_size_in_bytes を「buffer_size_in_packets * (max_captured_packet_size + sizeof(fastnetmon_pcap_pkthdr_t)) + sizeof(fastnetmon_pcap_file_header_t)」として計算しており、ここで使用されているのは符号なし32ビット整数の算術演算です。max_captured_packet_size が1500、sizeof(fastnetmon_pcap_pkthdr_t) が16の場合、各パケットは約1516バイトを必要とします。もし buffer_size_in_packets が約2,832,542を超えると、この乗算がオーバーフローを起こし、期待したよりもはるかに小さいメモリを割り当ててしまいます。その後の write_packet() 呼び出しで割り当てられたバッファの範囲外に書き込みが行われ、ヒープの破損が発生します。buffer_size_in_packets の値は ban_details_records_count 設定パラメータから取得されており、これは atoi() を用いて解析されているため、オーバーフローの検査を行っていません。

Possible impacts ・当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 ・当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 ・当該ソフトウェアは停止しません。 
Solution

ベンダ情報を参照して適切な対策を実施してください。

Publication Date May 26, 2026, midnight
Registration Date May 29, 2026, 11:16 a.m.
Last Update May 29, 2026, 11:16 a.m.
CVSS3.0 : 重要
Score 7.1
Vector CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
その他
Change Log
No Changed Details Date of change
1 [2026年05月29日]
  掲載
May 29, 2026, 11:16 a.m.

NVD Vulnerability Information
CVE-2026-48690
Summary

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.

Publication Date May 27, 2026, 2:16 a.m.
Registration Date May 27, 2026, 4:08 a.m.
Last Update May 27, 2026, 11:34 p.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:pavel-odintsov:fastnetmon:*:*:*:*:community:*:*:* 1.2.9
Related information, measures and tools
Common Vulnerabilities List