# CVE-2026-54580: mport index decompression can leave partial or corrupt index data after zstd failures

- Priority: **Prioritise**
- Reason: Severe, CVSS 8.3 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 2.7.8 (CNA); fix release not confirmed
- Status: published
- Published: 2026-09-17 · Modified: 2026-09-24
- Record: https://cvemate.com/vulnerability/CVE-2026-54580 · JSON: https://cvemate.com/vulnerability/CVE-2026-54580/json

## Description

```text
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.
```

## Signals

- CVSS: 8.3 high (v4.0, CVE.org) 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
- EPSS: 0.25%, percentile 17.49%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- midnightbsd mport: \< 2.7.8

## References

- <https://github.com/MidnightBSD/mport/security/advisories/GHSA-ffqj-j42r-747w>
- <https://github.com/MidnightBSD/mport/pull/135>
- <https://github.com/MidnightBSD/mport/commit/b3e11ba078351402082a881209ee6fda5d332e3d>
- <https://github.com/MidnightBSD/mport/releases/tag/2.7.8>

---

Data as of 2026-12-05T08:00:59.084Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
