CVE-2026-54578
mport is the MidnightBSD Package Manager. Prior to 2.7.8, …
mport is the MidnightBSD Package Manager. Prior to 2.7.8, mport_verify_package() in libmport/verify.c could continue after MD5File() or SHA256_File() failed and compare an expected checksum with stale data in the hash buffer rather than a newly computed digest. An attacker able to influence an installed file or the conditions that make hashing fail could receive a misleading integrity result or hide a checksum failure. This issue is fixed in version 2.7.8.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/MidnightBSD/mport/commit/cd9991c3cc1f60ecb3f378852ad8b5caa820e990
- github.com/MidnightBSD/mport/pull/138
- github.com/MidnightBSD/mport/releases/tag/2.7.8
- github.com/MidnightBSD/mport/security/advisories/GHSA-hgmr-9p75-q5cg
- nvd.nist.gov/vuln/detail/CVE-2026-54578
- cve.org/CVERecord?id=CVE-2026-54578
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.