{"id":"CVE-2026-54578","published":"2026-09-17T16:54:20Z","modified":"2026-09-18T14:44:44Z","title":"mport verify can compare stale checksum data after hashing failures","vendor":"MidnightBSD","product":"mport","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":2,"severity":"LOW","version":"4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00113,"percentile":0.0145,"provenance":"source"},"cwes":[{"id":"CWE-354","name":"Improper Validation of Integrity Check Value"},{"id":"CWE-755","name":"Improper Handling of Exceptional Conditions"}],"references":[{"url":"https://github.com/MidnightBSD/mport/security/advisories/GHSA-hgmr-9p75-q5cg","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/MidnightBSD/mport/pull/138","tags":["x_refsource_MISC"]},{"url":"https://github.com/MidnightBSD/mport/commit/cd9991c3cc1f60ecb3f378852ad8b5caa820e990","tags":["x_refsource_MISC"]},{"url":"https://github.com/MidnightBSD/mport/releases/tag/2.7.8","tags":["x_refsource_MISC"]}],"priority":{"score":1.7,"factors":[{"name":"EPSS percentile","points":0.29},{"name":"CVSS severity","points":1.4}]},"vendorSlug":"midnightbsd","affectedVersions":[{"vendor":"MidnightBSD","product":"mport","versions":["< 2.7.8"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-18T14:36:37.692551Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-82325","exploited":false,"provenance":"source"}}