CVE-2026-48685
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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | fastnetmon | Fix pending | UBUNTU-CVE-2026-48685 | |
| Ubuntu 26.04 | fastnetmon | Fix pending | UBUNTU-CVE-2026-48685 | |
| Ubuntu 25.10 | fastnetmon | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-48685 | |
| Ubuntu 24.04 | fastnetmon | Fix pending | UBUNTU-CVE-2026-48685 | |
| Ubuntu 20.04 | fastnetmon | Fix pending | UBUNTU-CVE-2026-48685 | |
| Ubuntu 18.04 | fastnetmon | Fix pending | UBUNTU-CVE-2026-48685 | |
| Debian 14 | fastnetmon | Fixed | 1.2.9-1 | DEBIAN-CVE-2026-48685 |
| Debian 13 | fastnetmon | Fixed | 1.2.9-0+deb13u1 | DEBIAN-CVE-2026-48685 |
| Debian 12 | fastnetmon | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2026-48685 |
References
- https://github.com/pavel-odintsov/fastnetmon
- https://github.com/pavel-odintsov/fastnetmon/blob/master/src/bgp_protocol.hpp
- https://lorikeetsecurity.com/blog/fastnetmon-cve-2026-48685-bgp-extended-length
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.