Skip to main content
No exploitation reportedFix available

CVE-2026-48686

No exploitation reported by the sources we read.

  • Published2026-05-26
  • WeaknessCWE-120 · CWE-787

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

FastNetMon Community Edition through 1.2.9 contains a stack-based buffer overflow in the BGP NLRI (Network Layer Reachability Information) decoder. The function decode_bgp_subnet_encoding_ipv4_raw() in src/bgp_protocol.cpp reads prefix_bit_length directly from the BGP packet (line 99) without validating it is <= 32 for IPv4 prefixes. This value is passed to how_much_bytes_we_need_for_storing_certain_subnet_mask() which computes ceil(prefix_bit_length / 8), returning up to 32 bytes for a prefix_bit_length of 255. The result is used as the length argument to memcpy() (line 106), which copies into a 4-byte uint32_t stack variable (prefix_ipv4). This causes a stack buffer overflow of up to 28 bytes, which can be exploited for arbitrary code execution. Additionally, the unvalidated prefix_bit_length is passed to convert_cidr_to_binary_netmask_local_function_copy() (line 111), where a shift of (32 - cidr) with cidr > 32 causes undefined behavior.

Timeline

dates in UTC
  1. 2026-05-2616:16CVE publishedNVD

Versions per branch

NVD
Pavel-odintsov fastnetmon
BranchAffectedFixed in
1.2≤ 1.2.9no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • fastnetmonUbuntu:Pro:26.04:LTSall versions · fixed in 1.2.8+git20250911-2ubuntu0.1~esm1
  • fastnetmonUbuntu:Pro:24.04:LTSall versions · fixed in 1.2.6-1ubuntu0.1~esm1
  • fastnetmonUbuntu:Pro:20.04:LTSall versions · fixed in 1.1.4-1ubuntu0.1~esm1
  • fastnetmonUbuntu:26.10all versions · no fixed version listed
  • fastnetmonUbuntu:25.10all versions · no fixed version listed
  • fastnetmonDebian:14all versions · fixed in 1.2.9-1
  • fastnetmonDebian:13all versions · fixed in 1.2.9-0+deb13u1
  • fastnetmonDebian:12all versions · no fixed version listed

Vendor advisories

  • CVE-2026-48686 Red Hat Product Security

    fastnetmon: stack-based buffer overflow in the BGP NLRI decoder

Full record on NVD

Fix

No fix published by the sources we read yet. NVD record

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
2026-05-26
Last modified
2026-07-24
NVD status
Analyzed
GitHub advisory
GHSA-7p7c-c3vp-p386

Frequently asked questions

What is CVE-2026-48686?

FastNetMon Community Edition through 1.2.9 contains a stack-based buffer overflow in the BGP NLRI (Network Layer Reachability Information) decoder. The function decode_bgp_subnet_encoding_ipv4_raw() in src/bgp_protocol.cpp reads prefix_bit_length directly from the BGP packet (line 99) without validating it is <= 32 for IPv4 prefixes. This value is passed to how_much_bytes_we_need_for_storing_certain_subnet_mask() which computes ceil(prefix_bit_length / 8), returning up to 32 bytes for a prefix_bit_length of 255. The result is used as the length argument to memcpy() (line 106), which copies into a 4-byte uint32_t stack variable (prefix_ipv4). This causes a stack buffer overflow of up to 28 bytes, which can be exploited for arbitrary code execution. Additionally, the unvalidated prefix_bit_length is passed to convert_cidr_to_binary_netmask_local_function_copy() (line 111), where a shift of (32 - cidr) with cidr > 32 causes undefined behavior.

Is CVE-2026-48686 actively exploited?

Active exploitation of CVE-2026-48686 has not been confirmed. Its EPSS score was 0.6% on 2026-12-03, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-48686?

CVE-2026-48686 has a CVSS v3 base score of 9.8 (Critical severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Running fastnetmon? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record