CVE-2026-54580: CWE-354: Improper Validation of Integrity Check Value in MidnightBSD mport
CVE-2026-54580 is a vulnerability in MidnightBSD's mport package manager prior to version 2.7.8. The issue involves improper validation of integrity check values during decompression of compressed package index data. Specifically, failures in decompressing or writing output were not always treated as fatal, allowing partial corrupted index data to be used. This can lead to package index integrity loss or denial of service. The vulnerability is fixed in version 2.7.8.
AI Analysis
Technical Summary
MidnightBSD mport versions before 2.7.8 contain a flaw in libmport/util.c and libmport/fetch.c where truncated, corrupt, or failed zstd compressed streams during decompression are not consistently handled as fatal errors. This allows partial corrupted package index data to be processed, potentially causing integrity loss or denial of service. The issue is addressed by ensuring all such decompression failures are treated as fatal and properly propagated to callers. The fix is included in version 2.7.8.
Potential Impact
An attacker controlling a malicious or faulty mirror could supply corrupted compressed package index data that triggers decompression or output write failures. Because these failures were not always fatal, partial corrupted index data could be used, resulting in package index integrity loss or denial of service. This could disrupt package management operations on affected systems.
Mitigation Recommendations
Upgrade to MidnightBSD mport version 2.7.8 or later, where this vulnerability is fixed. No other mitigations are specified. Patch status is confirmed fixed in version 2.7.8.
CVE-2026-54580: CWE-354: Improper Validation of Integrity Check Value in MidnightBSD mport
Description
CVE-2026-54580 is a vulnerability in MidnightBSD's mport package manager prior to version 2.7.8. The issue involves improper validation of integrity check values during decompression of compressed package index data. Specifically, failures in decompressing or writing output were not always treated as fatal, allowing partial corrupted index data to be used. This can lead to package index integrity loss or denial of service. The vulnerability is fixed in version 2.7.8.
CVSS v4.0
Score 8.3high
Affected software
MidnightBSD
mport
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
MidnightBSD mport versions before 2.7.8 contain a flaw in libmport/util.c and libmport/fetch.c where truncated, corrupt, or failed zstd compressed streams during decompression are not consistently handled as fatal errors. This allows partial corrupted package index data to be processed, potentially causing integrity loss or denial of service. The issue is addressed by ensuring all such decompression failures are treated as fatal and properly propagated to callers. The fix is included in version 2.7.8.
Potential Impact
An attacker controlling a malicious or faulty mirror could supply corrupted compressed package index data that triggers decompression or output write failures. Because these failures were not always fatal, partial corrupted index data could be used, resulting in package index integrity loss or denial of service. This could disrupt package management operations on affected systems.
Mitigation Recommendations
Upgrade to MidnightBSD mport version 2.7.8 or later, where this vulnerability is fixed. No other mitigations are specified. Patch status is confirmed fixed in version 2.7.8.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-15T19:15:27.344Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6aac1d2055bf5e2cf5a696d3
Added to database: 09/17/2026, 17:02:24 UTC
Last enriched: 09/17/2026, 17:16:36 UTC
Last updated: 09/17/2026, 17:35:42 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.