CVE-2026-54581 Details
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.
A vulnerability exists in the MidnightBSD Package Manager, Mport, in versions prior to 2.7.8. The issue arises in the mport_fetch_bootstrap_index() function, where the hash verification of the bootstrap index can be improperly handled. Specifically, the function could mistakenly report a successful verification even when the hash was missing or invalid. This flaw allows a network attacker or a compromised mirror to introduce unverified or tampered bootstrap index data, which Mport could then use without proper validation.
Users can upgrade to Mport version 2.7.8 or later to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 17, 2026CISA-ADP
Assessed Sep 17, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/MidnightBSD/mport/commit/64ebf3f60dc3df72a3b47fbb20a7f8072c0a0f5e | [email protected] | Source CodeVendor |
| https://github.com/MidnightBSD/mport/commit/b3e11ba078351402082a881209ee6fda5d332e3d | [email protected] | Source CodeVendor |
| https://github.com/MidnightBSD/mport/pull/134 | [email protected] | Issue TrackingVendor |
| https://github.com/MidnightBSD/mport/pull/135 | [email protected] | Issue TrackingVendor |
| https://github.com/MidnightBSD/mport/releases/tag/2.7.8 | [email protected] | Release NotesVendor |
| https://github.com/MidnightBSD/mport/security/advisories/GHSA-895r-rv8j-7g23 | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-345 | Insufficient Verification of Data Authenticity | [email protected] |
| CWE-347 | Improper Verification of Cryptographic Signature | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| MidnightBSD mport | < 2.7.8 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 17, 2026 | CVE Modified | CISA-ADP |
| Sep 17, 2026 | New CVE Received | [email protected] |
Volerion