# CVE-2026-54578: mport verify can compare stale checksum data after hashing failures

- Severity: Low 2.0 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.11%, higher than 1% of CVEs (2026-12-02)
- Published: 2026-09-17T16:54:20.195Z
- Modified: 2026-09-18T15:17:09.320Z
- Weaknesses: CWE-354, CWE-755
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- MidnightBSD mport: < 2.7.8

## References

- <https://github.com/MidnightBSD/mport/security/advisories/GHSA-hgmr-9p75-q5cg>
- <https://github.com/MidnightBSD/mport/pull/138>
- <https://github.com/MidnightBSD/mport/commit/cd9991c3cc1f60ecb3f378852ad8b5caa820e990>
- <https://github.com/MidnightBSD/mport/releases/tag/2.7.8>

## Sources

- CVE List: [CVE-2026-54578](https://www.cve.org/CVERecord?id=CVE-2026-54578), CVE Terms of Use, modified 2026-09-18
- NVD: [CVE-2026-54578](https://nvd.nist.gov/vuln/detail/CVE-2026-54578), Public domain, modified 2026-09-18

---

Page: https://cve.day/CVE-2026-54578 · Whole record: https://cve.day/CVE-2026-54578.json · Rebuilt by cve.day 2026-11-25T22:59:39.281Z
