Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

Quick assessment

Affected
MidnightBSD mport
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

mport 是 MidnightBSD 的包管理器。在 2.7.8 之前的版本中, 中的 函数在接收 ICMP 回复时,未验证 或 ,并使用固定的 IP 头偏移量(而非根据 动态计算)来解析回复。能够注入或伪造可见的 ICMP 回复的网络攻击者可能会影响镜像延迟的选择;此外,带有 IP 选项的格式错误的数据包可能会使 ICMP 头部发生偏移,从而触发越界读取(out-of-bounds read)。该问题已在 2.7.8 版本中修复。

CVSS 2.3 · Low
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-54579

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
mport mirror-selection ping accepts insufficiently validated ICMP replies
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
跨界内存读
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
MidnightBSD mport < 2.7.8 -

II. Public POCs for CVE-2026-54579

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-54579

登录查看更多情报信息。

Vendor Advisories for CVE-2026-54579 (1)

Same Patch Batch · MidnightBSD · 2026-09-17 · 12 CVEs total

CVE-2026-54583 8.3 HIGH mport package bundle downloads allow unsafe destination filenames
CVE-2026-54581 8.3 HIGH mport bootstrap index fetch can continue after hash verification failure
CVE-2026-54580 8.3 HIGH mport index decompression can leave partial or corrupt index data after zstd failures
CVE-2026-54582 6.0 MEDIUM mport package installation can overwrite existing unmanaged or differently owned files
CVE-2026-54585 6.0 MEDIUM mport sample file handling can write outside the configured root
CVE-2026-54586 6.0 MEDIUM mport permits repository and package mirror fetches over insecure transport
CVE-2026-54587 5.8 MEDIUM mport directory asset installation is vulnerable to symlink and path traversal races
CVE-2026-54576 5.8 MEDIUM mport package installation has symlink TOCTOU in chown and chmod handling
CVE-2026-54575 5.8 MEDIUM mport package fetch and clean paths are vulnerable to TOCTOU filesystem races
CVE-2026-54577 2.0 LOW mport audit can inspect the wrong package when options are present
CVE-2026-54578 2.0 LOW mport verify can compare stale checksum data after hashing failures

IV. Related Vulnerabilities

V. Comments for CVE-2026-54579

No comments yet


Leave a comment