Skip to main content
← All vulnerabilities
CVE-2026-54577GHSA-H3M9-VJ4V-C35H

mport audit can inspect the wrong package when options are present

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.7.8
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

mport is the MidnightBSD Package Manager. Prior to 2.7.8, the audit command in mport/mport.c computed option-adjusted local_argv and local_argc values but passed the original argument entry to audit_package(). When an operator or automation used an option such as -r before a package name, stale optind state and the unadjusted argument could cause mport to audit the option token instead of the requested package, producing a false-negative or useless result that could leave a vulnerable package unidentified. The corrected parsing resets optind and optreset before using the adjusted local arguments. This issue is fixed in version 2.7.8.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • MidnightBSD mport

    fixed in 2.7.8

References 4

GitHub · MidnightBSD/mport