# CVE-2026-54579: mport mirror-selection ping accepts insufficiently validated ICMP replies

- Priority: **Routine**
- Reason: Not severe (CVSS 2.3, adjacent network); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-09-17 · Modified: 2026-09-24
- Record: https://cvemate.com/vulnerability/CVE-2026-54579 · JSON: https://cvemate.com/vulnerability/CVE-2026-54579/json

## Description

```text
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.
```

## Signals

- CVSS: 2.3 low (v4.0, CVE.org) 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
- EPSS: 0.139%, percentile 3.441%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- midnightbsd mport: \< 2.7.8

## References

- <https://github.com/MidnightBSD/mport/security/advisories/GHSA-qc2f-2j7j-m3r7>

---

Data as of 2026-12-05T08:00:55.905Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
