CVE-2026-48685

FastNetMon BGP Extended Length Parsing Flaw

Published May 26, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
FastNetMon Community Edition through 1.2.9 has out-of-bounds memory access because it incorrectly parses BGP path attributes with the extended length flag set. In src/bgp_protocol.hpp, the parse_raw_bgp_attribute() function correctly identifies when extended_length_bit is set and sets length_of_length_field to 2, but then reads only a single byte for the attribute value length (attribute_value_length = value[2] at line 173). Per RFC 4271 Section 4.3, when the Extended Length bit is set, the Attribute Length field is two octets and the value should be read as a 16-bit big-endian integer from value[2] and value[3]. As a result, any attribute longer than 255 bytes has its length silently truncated to the low byte (e.g., 300 bytes = 0x012C is read as 0x2C = 44 bytes). The remaining 256 bytes are then misinterpreted as subsequent attributes, causing cascading parse failures and potential out-of-bounds memory access.

Analysis

AI-generated

Technical impact

FastNetMon Community Edition through 1.2.9 incorrectly parses BGP path attributes when the extended length flag is set. The parsing routine reads only a single byte for the attribute value length, truncating the real length and mis‑interpreting remaining data as additional attributes. This flaw can trigger out-of-bounds memory accesses that may destabilise the daemon or allow malicious actors to crash the system. The vulnerability is an example of CWE-130 (Incorrect Length Calculation) and does not directly provide code execution capability but can be leveraged for service disruption.

Affected Systems

The flaw affects the FastNetMon Community Edition software, specifically any release with a version number of 1.2.9 or earlier. No further vendor information is supplied beyond the project name, and no additional affected versions are identified.

Risk and Exploitability

The CVSS score of 6.5 categorises this out-of-bounds parsing flaw as a moderate‑severity issue. The EPSS score is not available, and the vulnerability has not been listed in the CISA KEV catalog, indicating limited evidence of active exploitation. Attackers would need to send malformed BGP updates that set the extended‑length bit from a BGP‑speaking router reachable by the FastNetMon instance. Successfully parsing such a packet would trigger out-of-bounds memory access and could cause the daemon to crash, leading to service disruption for traffic monitoring.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade FastNetMon to the latest available version to eliminate the parsing flaw
  • If an upgrade is not feasible, configure routing or firewall rules to block BGP messages that set the extended‑length bit until the fix is applied
  • Monitor FastNetMon logs for parse errors or crashes and set up alerts to detect potential exploitation attempts

Generated by OpenCVE AI on May 27, 2026 at 02:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-6375-1 fastnetmon security update
History
Type Values Removed Values Added
CPEs cpe:2.3:a:pavel-odintsov:fastnetmon:*:*:*:*:community:*:*:*
Type Values Removed Values Added
Title FastNetMon BGP Extended Length Parsing Flaw
Type Values Removed Values Added
Title FastNetMon Community Edition BGP Attribute Length Parsing Vulnerability Causing OOB Access
Weaknesses CWE-119
Type Values Removed Values Added
Weaknesses CWE-130
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Pavel-odintsov
Pavel-odintsov fastnetmon
Vendors & Products Pavel-odintsov
Pavel-odintsov fastnetmon
Type Values Removed Values Added
Title FastNetMon Community Edition BGP Attribute Length Parsing Vulnerability Causing OOB Access
Weaknesses CWE-119
Type Values Removed Values Added
Description FastNetMon Community Edition through 1.2.9 has out-of-bounds memory access because it incorrectly parses BGP path attributes with the extended length flag set. In src/bgp_protocol.hpp, the parse_raw_bgp_attribute() function correctly identifies when extended_length_bit is set and sets length_of_length_field to 2, but then reads only a single byte for the attribute value length (attribute_value_length = value[2] at line 173). Per RFC 4271 Section 4.3, when the Extended Length bit is set, the Attribute Length field is two octets and the value should be read as a 16-bit big-endian integer from value[2] and value[3]. As a result, any attribute longer than 255 bytes has its length silently truncated to the low byte (e.g., 300 bytes = 0x012C is read as 0x2C = 44 bytes). The remaining 256 bytes are then misinterpreted as subsequent attributes, causing cascading parse failures and potential out-of-bounds memory access.
References
Weaknesses
  • CWE-130

    Improper Handling of Length Parameter Inconsistency

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
May 26, 2026, 8:56 PM
Reserved
May 22, 2026, 12:00 AM
Status
Analyzed
Published
May 26, 2026, 4:16 PM
Modified
Jul 24, 2026, 11:10 AM