{"id":"CVE-2026-54577","title":"mport is the MidnightBSD Package Manager","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 automat…","severity":"low","cvss":2,"cvssVector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","cwe":["CWE-20","CWE-693"],"vendor":"MidnightBSD","product":"mport","affected":["mport < 2.7.8"],"published":"2026-09-17","updated":"2026-09-17","sourceUpdated":"2026-09-17T21:15:06.427","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-54577","references":[{"url":"https://github.com/MidnightBSD/mport/commit/b897240dc8181c53fbee231e77f88657c1edb9a0","label":"security-advisories@github.com"},{"url":"https://github.com/MidnightBSD/mport/pull/149","label":"security-advisories@github.com"},{"url":"https://github.com/MidnightBSD/mport/releases/tag/2.7.8","label":"security-advisories@github.com"},{"url":"https://github.com/MidnightBSD/mport/security/advisories/GHSA-h3m9-vj4v-c35h","label":"security-advisories@github.com"}],"tags":["nvd","cve.org"],"cvssSource":"cna","ingestedAt":"2026-09-17T17:23:30.627Z","epss":0.00153,"epssPercentile":0.04842,"slug":"CVE-2026-54577","body":"## Overview\n\nmport 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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":11,"depthScoreParts":{"impact":11,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}