CVE-2026-54579 PUBLISHED

mport mirror-selection ping accepts insufficiently validated ICMP replies

Assigner: GitHub_M
Reserved: 15.06.2026 Published: 17.09.2026 Updated: 17.09.2026

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.

Metrics

CVSS Vector: 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
CVSS Score: 2.3

Product Status

Vendor MidnightBSD
Product mport
Versions
  • Version < 2.7.8 is affected

References

Problem Types

  • CWE-125: Out-of-bounds Read CWE
  • CWE-345: Insufficient Verification of Data Authenticity CWE