CVE Catalog

CVE-2026-54579

LowCVSS 2.3
Published: Translated: NVD NIST

Summary

The MidnightBSD package manager mport in versions prior to 2.7.8 does not validate icmp_id and icmp_seq in ICMP replies and uses a fixed IP-header offset instead of ip_hl. A network attacker can influence mirror latency selection or trigger an out-of-bounds read via a malformed packet. The issue is fixed in version 2.7.8.

Risk Assessment

A network attacker can manipulate mirror selection or cause an application crash through an out-of-bounds read. This may result in installation of packages from untrusted sources or system instability.

Recommendation

Update mport to version 2.7.8 or later. Restrict network access to trusted sources to make injection of fake ICMP replies harder.

Other vulnerabilities in mport

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS