CVE-2026-54580

high

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.

References

https://github.com/MidnightBSD/mport/security/advisories/GHSA-ffqj-j42r-747w

https://github.com/MidnightBSD/mport/releases/tag/2.7.8

https://github.com/MidnightBSD/mport/pull/135

https://github.com/MidnightBSD/mport/commit/b3e11ba078351402082a881209ee6fda5d332e3d

Details

Source: Mitre, NVD

Published: 2026-09-17

Updated: 2026-09-24

Risk Information

CVSS v2

Base Score: 6.4

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:P

Severity: Medium

CVSS v3

Base Score: 9.1

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Severity: Critical

CVSS v4

Base Score: 8.3

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

Severity: High

EPSS

EPSS: 0.0025