{"id":"CVE-2026-48689","aliases":["CVE-2026-48689"],"related":[],"kind":"vulnerability","state":"published","title":"FastNetMon Community Edition through 1.2.9 contains an off-by-one heap-based buffer overflow in the dynamicbinarybuffert class (src/dynamic…","summary":"FastNetMon Community Edition through 1.2.9 contains an off-by-one heap-based buffer overflow in the dynamic_binary_buffer_t class (src/dynamic_binary_buffer.hpp). Five methods (append_dynamic_buffer, append_data_as_pointer, append_data_as_object_ptr, memcpy_from_ptr, memcpy_from_object_ptr) use an incorrect bounds check of the form 'if (offset + length > maximum_internal_storage_size + 1)' instead of the correct 'if (offset + length > maximum_internal_storage_size)'. This allows writing exactly one byte past the end of the heap-allocated buffer. The class is used pervasively in BGP message encoding/decoding, NetFlow template processing, and Flow Spec NLRI construction. An attacker who can send network traffic (NetFlow, sFlow, IPFIX, or BGP) to a FastNetMon instance can trigger this overflow, potentially achieving arbitrary code execution by corrupting heap metadata. Notably, the append_byte() method uses the correct bounds check, confirming the inconsistency.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"FastNetMon Community Edition through 1.2.9 contains an off-by-one heap-based buffer overflow in the dynamic_binary_buffer_t class (src/dynamic_binary_buffer.hpp). Five methods (append_dynamic_buffer, append_data_as_pointer, append_data_as_object_ptr, memcpy_from_ptr, memcpy_from_object_ptr) use an incorrect bounds check of the form 'if (offset + length > maximum_internal_storage_size + 1)' instead of the correct 'if (offset + length > maximum_internal_storage_size)'. This allows writing exactly one byte past the end of the heap-allocated buffer. The class is used pervasively in BGP message encoding/decoding, NetFlow template processing, and Flow Spec NLRI construction. An attacker who can send network traffic (NetFlow, sFlow, IPFIX, or BGP) to a FastNetMon instance can trigger this overflow, potentially achieving arbitrary code execution by corrupting heap metadata. Notably, the append_byte() method uses the correct bounds check, confirming the inconsistency.","source":"cvelist"},{"lang":"es","text":"FastNetMon Community Edition hasta la versión 1.2.9 contiene un desbordamiento de búfer basado en montículo por un byte en la clase dynamic_binary_buffer_t (src/dynamic_binary_buffer.hpp). Cinco métodos (append_dynamic_buffer, append_data_as_pointer, append_data_as_object_ptr, memcpy_from_ptr, memcpy_from_object_ptr) utilizan una comprobación de límites incorrecta de la forma 'if (offset + length > maximum_internal_storage_size + 1)' en lugar de la correcta 'if (offset + length > maximum_internal_storage_size)'. Esto permite escribir exactamente un byte más allá del final del búfer asignado en el montículo. La clase se utiliza de forma generalizada en la codificación/decodificación de mensajes BGP, el procesamiento de plantillas NetFlow y la construcción de NLRI de Flow Spec. Un atacante que puede enviar tráfico de red (NetFlow, sFlow, IPFIX o BGP) a una instancia de FastNetMon puede desencadenar este desbordamiento, logrando potencialmente ejecución de código arbitrario al corromper los metadatos del montículo. Cabe destacar que el método append_byte() utiliza la comprobación de límites correcta, confirmando la inconsistencia.","source":"nvd"}],"published":"2026-05-26T00:00:00.000Z","modified":"2026-07-24T11:10:00.170Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-122","CWE-193","CWE-787"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"1.2.9"}],"vendor":"pavel-odintsov","product":"fastnetmon","cpe":"cpe:2.3:a:pavel-odintsov:fastnetmon:*:*:*:*:community:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/pavel-odintsov/fastnetmon","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://github.com/pavel-odintsov/fastnetmon/blob/master/src/dynamic_binary_buffer.hpp","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://lorikeetsecurity.com/blog/fastnetmon-cve-2026-48689-dynamic-buffer-off-by-one","tags":["exploit","third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-05-27T00:20:15.356Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-48689","url":"https://www.cve.org/CVERecord?id=CVE-2026-48689","licence":"CVE Terms of Use","modified":"2026-05-27T00:20:18.668Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-48689","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48689","licence":"Public domain","modified":"2026-07-24T11:10:00.170Z"}],"updatedAt":"2026-11-25T22:59:22.369Z","epss":{"score":0.0061,"percentile":0.50555,"date":"2026-12-01T12:00:22.000Z"}}