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

Published Sep 17, 2026
·
Updated

mport is the MidnightBSD Package Manager. Prior to 2.7.8, ping() in libmport/ping.c accepted ICMP replies without validating icmpid or icmpseq and parsed the reply using a fixed IP-header offset instead of iphl. 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.

Affected Software

0 affected components

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade mport (MidnightBSD Package Manager) ping() in libmport/ping.c to a version that resolves this vulnerability.

    Fixed in 2.7.8

Event History

Sep 17, 2026
CVE Published
via MITRE·04:59 PM
Data Sourced
via MITRE·04:59 PM
DescriptionWeakness

Frequently Asked Questions

1

Who is exposed to mirror-selection manipulation?

Systems running mport before 2.7.8 are exposed when an attacker can inject or spoof ICMP replies that are visible to the mport ping operation. Such replies can influence the latency measurements used for mirror selection.

2

What conditions are required to trigger the out-of-bounds read?

An attacker needs to provide a malformed ICMP reply with IP options that changes the IP header length. The vulnerable code uses a fixed IP-header offset rather than the actual ip_hl value when locating the ICMP header.

3

How can I determine whether my installation is affected?

Check the installed mport version. Versions prior to 2.7.8 are affected; version 2.7.8 contains the fix.

4

What should be done if patching cannot happen immediately?

The available information identifies exploitation as requiring injected or spoofed visible ICMP replies. Reducing the ability of untrusted network parties to send or spoof ICMP traffic visible to the affected host can reduce exposure until mport is updated.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203