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

- Severity: Low 2.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-09-17T16:59:52.147Z
- Modified: 2026-09-24T21:17:16.357Z
- Weaknesses: CWE-125, CWE-345
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- MidnightBSD mport: < 2.7.8

## References

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

## Sources

- CVE List: [CVE-2026-54579](https://www.cve.org/CVERecord?id=CVE-2026-54579), CVE Terms of Use, modified 2026-09-24
- NVD: [CVE-2026-54579](https://nvd.nist.gov/vuln/detail/CVE-2026-54579), Public domain, modified 2026-09-24

---

Page: https://cve.day/CVE-2026-54579 · Whole record: https://cve.day/CVE-2026-54579.json · Rebuilt by cve.day 2026-11-25T22:59:39.281Z
