{"id":"CVE-2026-54580","state":"PUBLISHED","title":"mport index decompression can leave partial or corrupt index data after zstd failures","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.","publishedAt":"2026-09-17T16:51:29.785Z","updatedAt":"2026-09-24T20:55:22.459Z","severity":{"score":8.3,"label":"High","version":"4.0","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","source":"GitHub_M"},"assigner":"GitHub_M","products":["MidnightBSD mport"],"affected":[{"vendor":"MidnightBSD","product":"mport","versions":[{"version":"< 2.7.8","status":"affected"}]}],"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"],"weaknesses":["CWE-354","CWE-755"],"ingestedAt":"2026-10-29T20:12:24.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/54xxx/CVE-2026-54580.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-54580","state":"PUBLISHED","datePublished":"2026-09-17T16:51:29.785Z","dateUpdated":"2026-09-24T20:55:22.459Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-06-15T19:15:27.344Z"},"containers":{"cna":{"title":"mport index decompression can leave partial or corrupt index data after zstd failures","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"MidnightBSD","product":"mport","versions":[{"version":"< 2.7.8","status":"affected"}]}],"references":[{"url":"https://github.com/MidnightBSD/mport/security/advisories/GHSA-ffqj-j42r-747w","name":"https://github.com/MidnightBSD/mport/security/advisories/GHSA-ffqj-j42r-747w","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/MidnightBSD/mport/pull/135","name":"https://github.com/MidnightBSD/mport/pull/135","tags":["x_refsource_MISC"]},{"url":"https://github.com/MidnightBSD/mport/commit/b3e11ba078351402082a881209ee6fda5d332e3d","name":"https://github.com/MidnightBSD/mport/commit/b3e11ba078351402082a881209ee6fda5d332e3d","tags":["x_refsource_MISC"]},{"url":"https://github.com/MidnightBSD/mport/releases/tag/2.7.8","name":"https://github.com/MidnightBSD/mport/releases/tag/2.7.8","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.3,"baseSeverity":"HIGH","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-354","lang":"en","description":"CWE-354: Improper Validation of Integrity Check Value","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-755","lang":"en","description":"CWE-755: Improper Handling of Exceptional Conditions","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-09-17T16:51:29.785Z"},"source":{"advisory":"GHSA-ffqj-j42r-747w","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2026-54580","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2026-09-24T20:37:31.208937Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-24T20:55:22.459Z"}}]}}}