Vulnerability Description
mport is the MidnightBSD Package Manager. Prior to 2.7.8, libmport/util.c did not make every truncated, corrupt, or failed zstd stream fatal in mport_decompress_zstd(), and libmport/fetch.c did not consistently propagate those failures to index-fetch callers. A malicious or faulty mirror could supply compressed package index data that caused ZSTD_decompressStream() or an output write to fail while leaving partial index output available for later use, resulting in package-index integrity loss or denial of service. This issue is fixed in version 2.7.8.
Related Weaknesses (CWE)
References
- https://github.com/MidnightBSD/mport/commit/b3e11ba078351402082a881209ee6fda5d33
- https://github.com/MidnightBSD/mport/pull/135
- https://github.com/MidnightBSD/mport/releases/tag/2.7.8
- https://github.com/MidnightBSD/mport/security/advisories/GHSA-ffqj-j42r-747w
FAQ
What is CVE-2026-54580?
CVE-2026-54580 is a documented vulnerability. mport is the MidnightBSD Package Manager. Prior to 2.7.8, libmport/util.c did not make every truncated, corrupt, or failed zstd stream fatal in mport_decompress_zstd(), and libmport/fetch.c did not co...
How severe is CVE-2026-54580?
CVSS scoring is not yet available for CVE-2026-54580. Check NVD for updates.
Is there a patch for CVE-2026-54580?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.