7.5high
FastNetMon Community Edition through 1.2.9 contains multiple out-of-bounds reads in the BGP MPREACHNLRI IPv6 attribute decoder.
- Severity
- 7.5high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.50% (higher than 35% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
Description
FastNetMon Community Edition through 1.2.9 contains multiple out-of-bounds reads in the BGP MP_REACH_NLRI IPv6 attribute decoder. The function decode_mp_reach_ipv6() in src/bgp_protocol.cpp contains a TODO comment at line 156 explicitly acknowledging 'we should add sanity checks to avoid reads after attribute memory block.' The function casts raw pointers to structure types without verifying sufficient data exists (line 158), uses the attacker-controlled length_of_next_hop field to determine memcpy size (line 181), and computes prefix_length by dereferencing a pointer calculated from multiple attacker-controlled offsets without bounds validation (line 189). The prefix_length is then used to calculate number_of_bytes_required_for_prefix which becomes a memcpy length (line 202) with no check against remaining buffer size.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| pavel-odintsov fastnetmon | up to 1.2.9 | NVD |
All scores
| CISA-ADP | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
FastNetMon Community Edition through 1.2.9 contains multiple out-of-bounds reads in the BGP MP_REACH_NLRI IPv6 attribute decoder. The function decode_mp_reach_ipv6() in src/bgp_protocol.cpp contains a TODO comment at line 156 explicitly acknowledging 'we should add sanity checks to avoid reads after attribute memory block.' The function casts raw pointers to structure types without verifying sufficient data exists (line 158), uses the attacker-controlled length_of_next_hop field to determine memcpy size (line 181), and computes prefix_length by dereferencing a pointer calculated from multiple attacker-controlled offsets without bounds validation (line 189). The prefix_length is then used to calculate number_of_bytes_required_for_prefix which becomes a memcpy length (line 202) with no check against remaining buffer size.
NVD (es)
FastNetMon Community Edition hasta la versión 1.2.9 contiene múltiples lecturas fuera de límites en el decodificador del atributo BGP MP_REACH_NLRI IPv6. La función decode_mp_reach_ipv6() en src/bgp_protocol.cpp contiene un comentario TODO en la línea 156 que reconoce explícitamente 'deberíamos añadir comprobaciones de cordura para evitar lecturas después del bloque de memoria del atributo'. La función convierte punteros sin procesar a tipos de estructura sin verificar que existan datos suficientes (línea 158), utiliza el campo length_of_next_hop controlado por el atacante para determinar el tamaño de memcpy (línea 181), y calcula prefix_length desreferenciando un puntero calculado a partir de múltiples desplazamientos controlados por el atacante sin validación de límites (línea 189). El prefix_length se utiliza entonces para calcular number_of_bytes_required_for_prefix, que se convierte en una longitud de memcpy (línea 202) sin ninguna comprobación contra el tamaño restante del búfer.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-48688 changed 2026-05-26 | CVE Terms of Use |
| NVD | CVE-2026-48688 changed 2026-07-24 | Public domain |