# CVE-2026-54581: mport bootstrap index fetch can continue after hash verification failure

- Severity: High 8.3 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:L/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.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-09-17T16:45:37.688Z
- Modified: 2026-09-17T21:15:06.427Z
- Weaknesses: CWE-345, CWE-347
- 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, the mport_fetch_bootstrap_index() function in libmport/fetch.c could return success when bootstrap index hash verification encountered a missing or invalid hash because the failure path did not preserve a fatal result. A network attacker or compromised mirror able to alter bootstrap index content or its transport path could therefore cause mport to proceed with an unverified or tampered bootstrap package index. 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-895r-rv8j-7g23>
- <https://github.com/MidnightBSD/mport/pull/134>
- <https://github.com/MidnightBSD/mport/pull/135>
- <https://github.com/MidnightBSD/mport/commit/64ebf3f60dc3df72a3b47fbb20a7f8072c0a0f5e>
- <https://github.com/MidnightBSD/mport/commit/b3e11ba078351402082a881209ee6fda5d332e3d>
- <https://github.com/MidnightBSD/mport/releases/tag/2.7.8>

## Sources

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

---

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