Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain adjacent-network position
-
DeliveryObserve mport ICMP mirror probing
-
ExploitInject spoofed/malformed ICMP replies
-
ExecutionBypass missing icmp_id/icmp_seq validation
-
ImpactSkew mirror selection or trigger OOB read
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK
1 technique across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires the attacker to be on the same adjacent network segment (AV:A) as an mport client and able to inject or spoof ICMP echo replies that reach the victim while mport is actively performing its ICMP-based mirror-latency probing (the ping()/mirror-selection code path in libmport/ping.c). Exploitation is limited to that probing window and to attackers who can already place visible ICMP traffic on-path (AT:P), which is why real-world reach is narrow; the OOB-read variant additionally requires crafting a reply with IP options to shift the ICMP header past mport's hardcoded offset. No authentication or user interaction is needed, but the adjacency requirement and the transient probing window sharply constrain feasibility. |
| Impact | This is a low-priority, low-real-risk issue despite being a memory-safety flaw. The vendor CVSS 4.0 vector (AV:A/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L, base 2.3) is internally consistent with the description: exploitation requires adjacent-network positioning (AV:A) and the attacker must be able to inject or spoof ICMP replies that are visible to the victim during mport's mirror-latency probing (AT:P, a real attack requirement/race gate). Impact is bounded - low integrity (nudging which mirror mport selects) and low availability (an OOB read that can crash the client); the vendor correctly rates confidentiality N because the out-of-bounds bytes are consumed by local parsing, not returned to the attacker. There is no EPSS score, no CISA KEV listing, and no public exploit code identified at time of analysis, so no exploitation signals elevate it. The only mild inconsistency is tagging: the record is labeled 'Information Disclosure' while the vendor vector sets VC:N (no confidentiality impact), so that tag overstates the real effect. Net: a genuine but minor bug that matters only to attackers already on the same L2 segment as an mport user actively fetching packages - verify by patching to 2.7.8 rather than treating as urgent. |
| Exploit ScenarioDerived | An attacker on the same local/adjacent network as a MidnightBSD host running mport waits for the client to probe candidate mirrors via ICMP, then injects or spoofs unsolicited ICMP echo replies. Because ping() never checks icmp_id/icmp_seq, these forged replies are accepted and can skew latency measurements to steer mport toward an attacker-preferred mirror; alternatively, a reply crafted with IP options shifts the ICMP header past mport's fixed offset assumption and triggers an out-of-bounds read that can crash the client. No public proof-of-concept is known. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 17, 2026
Spoofed or injected ICMP echo replies can steer mport's mirror-latency selection toward an attacker-chosen mirror and, if the reply carries IP options, shift the parsed ICMP header past the hardcoded offset used by ping() in libmport/ping.c, causing an out-of-bounds read. The flaw affects MidnightBSD mport releases prior to 2.7.8 and is only reachable by an unauthenticated attacker on the same adjacent network segment who can place visible ICMP traffic on-path while an mport client is actively probing mirrors (assessed CVSS:3.1 AV:A/AC:H/PR:N/UI:N/C:N/I:L/A:L; CVSS 4.0 base 2.3). Impact is low and confined to the transient probing window; no public exploit code and no confirmed active exploitation were identified at time of analysis, and the vendor has released version 2.7.8 as the fix.
RemediationAI
Upgrade mport to version 2.7.8, which is the vendor-released fix for this issue, and re-run any mirror-selection or package operations afterward; the advisory at https://github.com/MidnightBSD/mport/security/advisories/GHSA-qc2f-2j7j-m3r7 should be consulted for the exact package or source update procedure. Where an immediate upgrade is not possible, the practical compensating control is to remove the vulnerable code path from the threat model: pre-configure a static, trusted mirror (or otherwise avoid ICMP-based mirror latency probing) so the ping() routine is never exercised, accepting the trade-off that dynamic mirror ranking and failover quality degrade. Network-side, restrict the client to a segment where untrusted hosts cannot transmit, spoof, or be on-path for ICMP echo replies destined for it, and filter inbound ICMP echo replies at the boundary of the mport client's segment, understanding that this also blocks legitimate mirror probing and may cause mport to fall back to slower or unreachable mirrors. Because no authentication or user interaction is required, do not rely on user-side caution or credential hardening as mitigation.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
mport is the package manager shipped with MidnightBSD, and its libmport/ping.c implements a raw-ICMP ping used to rank mirrors by latency. The routine did not validate the icmp_id or icmp_seq fields of incoming echo replies, so any ICMP reply visible on the path could be accepted as a response to mport's own probes and used to bias mirror selection. Worse, the parser located the ICMP header at a fixed byte offset from the start of the IP header rather than computing it from the IP header length field (ip_hl); a reply carrying IP options shifts the ICMP header further into the packet, so the fixed offset points into unrelated bytes and produces an out-of-bounds read (CWE-125). The class of defect is a memory-safety read bug combined with missing provenance checks on network input, in a code path that runs with the privileges of the mport client. Because the vector is AV:A with AC:H under the independent 3.1 assessment (AT:P in the CVSS 4.0 vector), an attacker must be adjacent to the victim and must be able to inject spoofed ICMP replies that reach the client during the narrow latency-probing window, which sharply limits realistic exposure.
Know when Mport gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
Adjacent network positioning (AV:A) plus the need to spoof visible ICMP replies during a probing race maps to AC:H; effects are low-integrity mirror tampering and low-availability crash, with no confidentiality leak (C:N).
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
mport is the MidnightBSD Package Manager. Prior to 2.7.8, ping() in libmport/ping.c accepted ICMP replies without validating icmp_id or icmp_seq and parsed the reply using a fixed IP-header offset instead of ip_hl. A network attacker able to inject or spoof visible ICMP replies could influence mirror latency selection, while a malformed packet carrying IP options could shift the ICMP header and trigger an out-of-bounds read. This issue is fixed in version 2.7.8.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Package-index corruption and denial of package-management operations affect MidnightBSD mport before 2.7.8 when a malici
Path traversal in the MidnightBSD mport package manager (libmport/fetch.c) before version 2.7.8 lets an attacker who con
MidnightBSD's mport package manager prior to 2.7.8 can accept a tampered bootstrap package index as verified, because th
On-path tampering with package-fetch traffic in MidnightBSD's mport package manager lets a network-positioned attacker s
Path traversal in MidnightBSD mport before 2.7.8 allows a crafted package manifest to make the privileged sample-file ha
Package file overwrite in MidnightBSD mport prior to 2.7.8 allows a crafted package installed with privileges to replace
Path-racing and shell-invocation weaknesses in the MidnightBSD mport package manager (all versions prior to 2.7.8) let a
Filesystem integrity compromise in MidnightBSD's mport package manager (versions prior to 2.7.8): a local user who alrea
Symlink following and dot-dot path traversal in MidnightBSD mport prior to 2.7.8 lets a local attacker who can already w
MidnightBSD's mport package manager before 2.7.8 trusts the TMPDIR environment variable when extracting package metafile
MidnightBSD's mport package manager, in all versions prior to 2.7.8, mis-parses the argument list for its 'audit' subcom
Checksum verification in MidnightBSD's mport package manager before 2.7.8 can silently continue after a hashing failure,
EUVD-2026-82330
NVD
CVE.org
EPSS
GitHub
Exploit-DB