Skip to main content

mport EUVDEUVD-2026-82325

| CVE-2026-54578 LOW
Improper Validation of Integrity Check Value (CWE-354)
2026-09-17 GitHub_M
2.0
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local low-priv access to host
  2. Delivery
    Tamper installed file or force hashing to fail
  3. Exploit
    Trigger mport package verification
  4. Execution
    verify.c compares expected checksum to stale buffer
  5. Impact
    Tampered file reported valid / failure hidden

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V15 - Secure Coding and Architecture Integrity verification
Exploitation Conditions

Exploitation requires local access with low privileges (PR:L) to the host running mport, plus the attacker's ability to either influence a file that mport has installed/tracks or induce the specific error conditions that cause MD5File() or SHA256_File() to fail (AT:P). Only mport versions prior to 2.7.8 are affected, and only the verification/recompute-checksum code path in libmport/verify.c is impacted. Limiting factors: no remote vector (AV:L), the outcome is confined to a misleading or suppressed integrity result rather than code execution or data exposure, and the flaw is inert unless the hashing operation actually fails or the tracked file is already attacker-controlled. Not exploitable against default operation where hashing succeeds normally.

Impact

This is a genuinely LOW-priority issue, and the signals agree. The vendor CVSS 4.0 base score is 2.0 with vector AV:L/AC:L/AT:P/PR:L/UI:N and impact limited to VI:L (integrity-low only; VC:N, VA:N) - a local, privileged, condition-dependent integrity-reporting flaw, not a code-execution or data-theft bug. No EPSS score, no CISA KEV listing, and no public POC are present in the input, so exploitation status is 'no public exploit identified at time of analysis.' The AT:P (Attack Requirements: Present) metric is the key limiter: the attacker must both influence an already-installed file AND engineer the specific conditions that make MD5File()/SHA256_File() fail, at which point mport_verify_package() compares against a stale hash buffer. The real-world consequence is only that a corrupted/tampered file may pass verification or a checksum failure may be hidden - i.e., an integrity-assurance weakness, not a direct compromise primitive. No conflicting signals: the description's 'local file influence + hashing failure' framing is consistent with AV:L and AT:P. The tag 'Information Disclosure' is inconsistent with the vector (VC:N) and appears mislabeled.

Exploit ScenarioDerived

A local attacker who can already modify a file that mport tracks (or induce a filesystem/permission condition that causes MD5File()/SHA256_File() to fail) runs or triggers a package verification. Because verify.c does not abort on the hashing failure, mport compares the expected checksum against leftover data in the reused hash buffer, so the tampered file can be reported as intact or the checksum error suppressed. No public exploit code is identified; exploitation requires the low-privilege local access and specific failure conditions captured by PR:L and AT:P.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 17, 2026

Checksum verification in MidnightBSD's mport package manager before 2.7.8 can silently continue after a hashing failure, causing an expected checksum to be compared against stale hash-buffer contents instead of a freshly computed digest, so a local low-privileged attacker who can influence an installed file or induce the hashing failure can obtain a misleading integrity result or suppress a checksum mismatch. Exploitation requires local access with low privileges (CVSS PR:L) and conditions that make MD5File() or SHA256_File() fail (AT:P); the impact is limited to integrity of the verification outcome (I:L) with no confidentiality or availability effect, and the flaw is inert whenever hashing completes normally. No public exploit code was identified at time of analysis and there is no CISA KEV entry, so this is a low-priority hardening issue rather than an active threat.

RemediationAI

Vendor-released patch: upgrade mport to 2.7.8, the version in which mport_verify_package() and mport_recompute_checksums() no longer compare against stale or uncomputed hash data (see https://github.com/MidnightBSD/mport/releases/tag/2.7.8 and advisory https://github.com/MidnightBSD/mport/security/advisories/GHSA-hgmr-9p75-q5cg; the code change is commit cd9991c3cc1f60ecb3f378852ad8b5caa820e990 via PR #138). No vendor workaround is documented, so until the upgrade can be applied, restrict local login and sudo/mport invocation to trusted operators, since exploitation requires low-privileged local access plus the ability to influence tracked files or induce a hashing failure - accept the trade-off that this reduces administrative convenience on shared hosts. As a compensating control, treat mport's self-reported integrity results as untrustworthy on unpatched systems and independently verify installed file digests out-of-band with a separate tool such as sha256sum or openssl dgst against known-good distribution hashes; the trade-off is added manual effort and it does not correct the underlying logging suppression, but it detects the condition a mismatched or missing checksum would otherwise hide. Finally, monitor mport output for 'Can't MD5', 'Can't SHA256', or 'Destination checksum could not be computed' messages, since on vulnerable versions these errors do not abort verification and may be the only visible indicator of a failed or manipulated integrity check.

Affected VersionsENISA

mport < 2.7.8

Affected Packages

euvd mport fix: 2.7.8

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The defect is an instance of CWE-354 (Improper Validation of Integrity Check Value) in libmport/verify.c, specifically the mport_verify_package() and mport_recompute_checksums() functions of the MidnightBSD mport package manager. In the pre-2.7.8 code, when MD5File() or SHA256_File() returned NULL - indicating that the digest could not be computed - execution fell through and the code performed strcmp() between the caller-supplied expected checksum and the shared 'hash' buffer, which still held either stale contents or was NULL; the intended failure signal (a hashing error or an uncomputable destination checksum) was therefore converted into a normal-looking comparison result. The upstream fix in PR #138 restructures the branch so that a NULL return from MD5File()/SHA256_File() logs the error and issues 'continue', preventing any comparison against uncomputed data, and additionally treats an empty-string checksum the same as a NULL checksum. The same patch also corrects related handling in mport_recompute_checksums(), adding a BEGIN TRANSACTION / ROLLBACK / COMMIT wrapper around the SQLite-backed checksum update so that a failure cannot leave the package metadata in a partially updated state. Because the affected logic is purely a local verification code path operating on files mport tracks, there is no network or protocol component: the attack surface is the integrity-checking trust boundary of the package manager itself.

Know when Mport gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 2.0 LOW
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
vuln.today AI 2.5 LOW

Local low-priv access (AV:L/PR:L); AC:H reflects the required hashing-failure/file-influence conditions (AT:P in 4.0); integrity-only impact (I:L), no confidentiality or availability effect.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
4.0 AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Sep 17, 2026 - 18:19 EUVD

DescriptionCVE.org

mport is the MidnightBSD Package Manager. Prior to 2.7.8, mport_verify_package() in libmport/verify.c could continue after MD5File() or SHA256_File() failed and compare an expected checksum with stale data in the hash buffer rather than a newly computed digest. An attacker able to influence an installed file or the conditions that make hashing fail could receive a misleading integrity result or hide a checksum failure. This issue is fixed in version 2.7.8.

Threat Intelligence Overview

EPSS Score
0.1%
Top 99% exploitable
Prevalence
Rare
MidnightBSD is an obscure hobby FreeBSD fork with tiny footprint
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

10
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

More in Mport

View all
CVE-2026-54580 HIGH
8.3 Sep 17

Package-index corruption and denial of package-management operations affect MidnightBSD mport before 2.7.8 when a malici

CVE-2026-54583 HIGH
8.3 Sep 17

Path traversal in the MidnightBSD mport package manager (libmport/fetch.c) before version 2.7.8 lets an attacker who con

CVE-2026-54581 HIGH
8.3 Sep 17

MidnightBSD's mport package manager prior to 2.7.8 can accept a tampered bootstrap package index as verified, because th

CVE-2026-54586 MEDIUM
6.0 Sep 17

On-path tampering with package-fetch traffic in MidnightBSD's mport package manager lets a network-positioned attacker s

CVE-2026-54585 MEDIUM
6.0 Sep 17

Path traversal in MidnightBSD mport before 2.7.8 allows a crafted package manifest to make the privileged sample-file ha

CVE-2026-54582 MEDIUM
6.0 Sep 17

Package file overwrite in MidnightBSD mport prior to 2.7.8 allows a crafted package installed with privileges to replace

CVE-2026-54575 MEDIUM
5.8 Sep 17

Path-racing and shell-invocation weaknesses in the MidnightBSD mport package manager (all versions prior to 2.7.8) let a

CVE-2026-54576 MEDIUM
5.8 Sep 17

Filesystem integrity compromise in MidnightBSD's mport package manager (versions prior to 2.7.8): a local user who alrea

CVE-2026-54587 MEDIUM
5.8 Sep 17

Symlink following and dot-dot path traversal in MidnightBSD mport prior to 2.7.8 lets a local attacker who can already w

CVE-2026-54584 MEDIUM
5.3 Sep 21

MidnightBSD's mport package manager before 2.7.8 trusts the TMPDIR environment variable when extracting package metafile

CVE-2026-54579 LOW
2.3 Sep 17

Spoofed or injected ICMP echo replies can steer mport's mirror-latency selection toward an attacker-chosen mirror and, i

CVE-2026-54577 LOW
2.0 Sep 17

MidnightBSD's mport package manager, in all versions prior to 2.7.8, mis-parses the argument list for its 'audit' subcom

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy