{
  "id": "CVE-2026-54580",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-54580",
  "published_at": "2026-09-17T16:51:29.785Z",
  "title": "mport index decompression can leave partial or corrupt index data after zstd failures",
  "vendor": "MidnightBSD",
  "product": "mport",
  "cvss": {
    "score": 8.3,
    "source": "cna",
    "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-354",
  "cvss_by_source": {
    "cna": 8.3
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "MidnightBSD",
        "product": "mport",
        "ranges": [
          "\u003c 2.7.8"
        ],
        "fixed_in": [
          "2.7.8"
        ]
      }
    ],
    "upgrade": [
      "Upgrade mport to 2.7.8 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/MidnightBSD/mport/security/advisories/GHSA-ffqj-j42r-747w"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/MidnightBSD/mport/pull/135"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/MidnightBSD/mport/commit/b3e11ba078351402082a881209ee6fda5d332e3d"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/MidnightBSD/mport/releases/tag/2.7.8"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
