CVE-2026-54580 PUBLISHED

mport index decompression can leave partial or corrupt index data after zstd failures

Assigner: GitHub_M
Reserved: 15.06.2026 Published: 17.09.2026 Updated: 17.09.2026

mport is the MidnightBSD Package Manager. Prior to 2.7.8, libmport/util.c did not make every truncated, corrupt, or failed zstd stream fatal in mport_decompress_zstd(), and libmport/fetch.c did not consistently propagate those failures to index-fetch callers. A malicious or faulty mirror could supply compressed package index data that caused ZSTD_decompressStream() or an output write to fail while leaving partial index output available for later use, resulting in package-index integrity loss or denial of service. This issue is fixed in version 2.7.8.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
CVSS Score: 8.3

Product Status

Vendor MidnightBSD
Product mport
Versions
  • Version < 2.7.8 is affected

References

Problem Types

  • CWE-354: Improper Validation of Integrity Check Value CWE
  • CWE-755: Improper Handling of Exceptional Conditions CWE