fastnetmon — security advisory
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.
- Products
- fastnetmon
- Affected versions
- 1.1.3+dfsg-3, 1.1.3+dfsg-4, 1.1.3+dfsg-6build1, 1.1.4-1, 1.1.4-1build3, 1.1.4-1build4, 1.1.4-1build5, 1.1.4-1ubuntu0.1~esm1, 1.2.5-1, 1.2.6-1, 1.2.6-1build1, 1.2.6-1build2, 1.2.6-1build3, 1.2.6-1build4, 1.2.6-1ubuntu0.1~esm1, 1.2.8+git20250911-1, 1.2.8+git20250911-1build1, 1.2.8+git20250911-1build2, 1.2.8+git20250911-2, 1.2.8+git20250911-2ubuntu0.1~esm1, 1.2.8-1build1, 1.2.8-1build2, 1.2.9-1, 1.2.9-1build1, 1.2.9-1build2
- Fixed versions
- Not specified
- CVEs
- CVE-2026-48685
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 02:22 UTC · Revision 1
Source evidence
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.
osv:UBUNTU-CVE-2026-48685
fastnetmon
Fixed versions: Not specified
fastnetmon
Fixed versions: Not specified
fastnetmon
Fixed versions: Not specified
fastnetmon
Fixed versions: Not specified
fastnetmon
Fixed versions: Not specified
fastnetmon
Fixed versions: Not specified
Complete source record
{
"id": "c094582779068b94f8615112c6c9d7ce77910b6e42e0ada85c9503bcb3c1fd93",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-48685",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-48685",
"summary": "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.",
"evidence": "osv:UBUNTU-CVE-2026-48685",
"products": [
{
"name": {
"value": "fastnetmon",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.1.3+dfsg-3",
"evidence": "/affected/0/versions"
},
{
"value": "1.1.3+dfsg-4",
"evidence": "/affected/0/versions"
},
{
"value": "1.1.3+dfsg-6build1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "fastnetmon",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.1.4-1",
"evidence": "/affected/1/versions"
},
{
"value": "1.1.4-1build3",
"evidence": "/affected/1/versions"
},
{
"value": "1.1.4-1build4",
"evidence": "/affected/1/versions"
},
{
"value": "1.1.4-1build5",
"evidence": "/affected/1/versions"
},
{
"value": "1.1.4-1ubuntu0.1~esm1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "fastnetmon",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.2.5-1",
"evidence": "/affected/2/versions"
},
{
"value": "1.2.6-1",
"evidence": "/affected/2/versions"
},
{
"value": "1.2.6-1build1",
"evidence": "/affected/2/versions"
},
{
"value": "1.2.6-1build2",
"evidence": "/affected/2/versions"
},
{
"value": "1.2.6-1build3",
"evidence": "/affected/2/versions"
},
{
"value": "1.2.6-1build4",
"evidence": "/affected/2/versions"
},
{
"value": "1.2.6-1ubuntu0.1~esm1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "fastnetmon",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.2.8-1build1",
"evidence": "/affected/3/versions"
},
{
"value": "1.2.8-1build2",
"evidence": "/affected/3/versions"
},
{
"value": "1.2.8+git20250911-1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "fastnetmon",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.2.8+git20250911-2",
"evidence": "/affected/4/versions"
},
{
"value": "1.2.9-1",
"evidence": "/affected/4/versions"
},
{
"value": "1.2.9-1build1",
"evidence": "/affected/4/versions"
},
{
"value": "1.2.9-1build2",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "fastnetmon",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.2.8+git20250911-1",
"evidence": "/affected/5/versions"
},
{
"value": "1.2.8+git20250911-1build1",
"evidence": "/affected/5/versions"
},
{
"value": "1.2.8+git20250911-1build2",
"evidence": "/affected/5/versions"
},
{
"value": "1.2.8+git20250911-2",
"evidence": "/affected/5/versions"
},
{
"value": "1.2.8+git20250911-2ubuntu0.1~esm1",
"evidence": "/affected/5/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "UBUNTU-CVE-2026-48685",
"aliases": [
"UBUNTU-CVE-2026-48685"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "fastnetmon",
"purl": "pkg:deb/ubuntu/fastnetmon?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"1.1.3+dfsg-3",
"1.1.3+dfsg-4",
"1.1.3+dfsg-6build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-48685.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "fastnetmon",
"binary_version": "1.1.3+dfsg-6build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "fastnetmon",
"purl": "pkg:deb/ubuntu/fastnetmon?arch=source&distro=esm-apps%2Ffocal",
"ecosystem": "Ubuntu:Pro:20.04:LTS"
},
"versions": [
"1.1.4-1",
"1.1.4-1build3",
"1.1.4-1build4",
"1.1.4-1build5",
"1.1.4-1ubuntu0.1~esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-48685.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "fastnetmon",
"binary_version": "1.1.4-1ubuntu0.1~esm1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "fastnetmon",
"purl": "pkg:deb/ubuntu/fastnetmon?arch=source&distro=esm-apps%2Fnoble",
"ecosystem": "Ubuntu:Pro:24.04:LTS"
},
"versions": [
"1.2.5-1",
"1.2.6-1",
"1.2.6-1build1",
"1.2.6-1build2",
"1.2.6-1build3",
"1.2.6-1build4",
"1.2.6-1ubuntu0.1~esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-48685.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "fastnetmon",
"binary_version": "1.2.6-1ubuntu0.1~esm1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "fastnetmon",
"purl": "pkg:deb/ubuntu/fastnetmon?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"1.2.8-1build1",
"1.2.8-1build2",
"1.2.8+git20250911-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-48685.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "fastnetmon",
"binary_version": "1.2.8+git20250911-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "fastnetmon",
"purl": "pkg:deb/ubuntu/fastnetmon?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"1.2.8+git20250911-2",
"1.2.9-1",
"1.2.9-1build1",
"1.2.9-1build2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-48685.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "fastnetmon",
"binary_version": "1.2.9-1build2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "fastnetmon",
"purl": "pkg:deb/ubuntu/fastnetmon?arch=source&distro=esm-apps%2Fresolute",
"ecosystem": "Ubuntu:Pro:26.04:LTS"
},
"versions": [
"1.2.8+git20250911-1",
"1.2.8+git20250911-1build1",
"1.2.8+git20250911-1build2",
"1.2.8+git20250911-2",
"1.2.8+git20250911-2ubuntu0.1~esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-48685.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "fastnetmon",
"binary_version": "1.2.8+git20250911-2ubuntu0.1~esm1"
}
]
}
}
],
"modified": "2026-10-17T12:58:32.003861575Z",
"provider": "osv",
"upstream": [
"CVE-2026-48685"
],
"references": [
"https://ubuntu.com/security/CVE-2026-48685",
"https://www.cve.org/CVERecord?id=CVE-2026-48685",
"https://lorikeetsecurity.com/blog/fastnetmon-cve-2026-48685-bgp-extended-length",
"https://github.com/pavel-odintsov/fastnetmon/commit/2bf813b2590b9847308877a65fc72df560dd282f",
"https://github.com/pavel-odintsov/fastnetmon",
"https://github.com/pavel-odintsov/fastnetmon/blob/master/src/bgp_protocol.hpp"
]
},
"related_cves": [
{
"value": "CVE-2026-48685",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 358701,
"published_at": "2026-05-26T16:16:00+00:00"
}