CVE Catalog

CVE-2026-54578

LowCVSS 2.0
Published: Translated: NVD NIST

Summary

The MidnightBSD package manager mport in versions prior to 2.7.8 continues after MD5File() or SHA256_File() failure and compares an expected checksum with stale data in the hash buffer instead of a newly computed digest. An attacker able to influence an installed file or hashing failure conditions can obtain a misleading integrity result or hide a checksum failure. The issue is fixed in version 2.7.8.

Risk Assessment

A modified package could be installed without detecting an integrity violation, leading to system compromise. Organizations using mport are exposed to installation of malicious software.

Recommendation

Update mport to version 2.7.8 or later. Regularly verify the integrity of installed packages using independent tools.

Other vulnerabilities in mport

See all
Original NVD description (English source)

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.

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