{"schemaVersion":3,"id":"CVE-2026-54578","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2026-09-17T16:54:20.195Z","modified":"2026-09-18T14:44:44.118Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":2,"severity":"low","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":2,"severity":"low","vector":"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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":2,"severity":"low","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00113,"percentile":0.01325,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.004999999999999991,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00108},"history":[{"date":"2026-09-18T00:00:00.000Z","score":0.00108,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00108,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00108,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00108,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00108,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00108,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00113,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00113,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00113,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00113,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00113,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00113,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00113,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00113,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00113,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00113,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00113,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00113,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00113,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00113,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00113,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00113,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00113,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00113,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00113,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00113,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00113,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00113,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00113,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00113,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00113,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00113,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00113,"percentile":0.01325}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00108,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00108,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00108,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00108,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00113,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00113,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00113,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00113,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00113,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00113,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00113,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00113,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00113,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00113,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00113,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00113,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00113,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00113,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00113,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00113,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00113,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00113,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00113,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00113,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00113,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00113,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00113,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00113,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00113,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00113,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00113,"percentile":0.01325}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-354","name":"Improper Validation of Integrity Check Value","description":"The product does not validate or incorrectly validates the integrity check values or \"checksums\" of a message. This may prevent it from detecting if the data has been modified or corrupted in transmission.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/354.html"},{"id":"CWE-755","name":"Improper Handling of Exceptional Conditions","description":"The product does not handle or incorrectly handles an exceptional condition.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/755.html"}],"affected":[{"vendor":"midnightbsd","product":"mport","name":"mport","label":"mport","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.7.8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.7.8","eol":null,"hubHref":"/vendor/midnightbsd/mport"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/MidnightBSD/mport/security/advisories/GHSA-hgmr-9p75-q5cg","label":"github.com/MidnightBSD/mport/security/advisories/GHSA-hgmr-9p75-q5cg","hostname":"github.com","tags":["X Refsource CONFIRM"]},{"url":"https://github.com/MidnightBSD/mport/pull/138","label":"github.com/MidnightBSD/mport/pull/138","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/MidnightBSD/mport/commit/cd9991c3cc1f60ecb3f378852ad8b5caa820e990","label":"github.com/MidnightBSD/mport/commit/cd9991c3cc1f60ecb3f378852ad8b5caa820e990","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/MidnightBSD/mport/releases/tag/2.7.8","label":"github.com/MidnightBSD/mport/releases/tag/2.7.8","hostname":"github.com","tags":["X Refsource MISC"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-09-17T16:54:20.195Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-09-18T14:44:44.118Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":8,"level":"minimal","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T03:46:18.382Z","stale":false,"partial":false}}