CVE-2026-54580

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

State
Published
Severity
8.3 High
Published
Sep 17, 2026
Updated
Sep 24, 2026
Reserved
Jun 15, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
4.08.3 HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:NGitHub_M

Weaknesses

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

Affected Products

ProductVersions
mportMidnightBSD
  • < 2.7.8Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.