{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-54578",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-06-15T19:15:27.344Z",
        "datePublished": "2026-09-17T16:54:20.195Z",
        "dateUpdated": "2026-09-18T14:44:44.118Z"
    },
    "containers": {
        "cna": {
            "title": "mport verify can compare stale checksum data after hashing failures",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-354",
                            "lang": "en",
                            "description": "CWE-354: Improper Validation of Integrity Check Value",
                            "type": "CWE"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-755",
                            "lang": "en",
                            "description": "CWE-755: Improper Handling of Exceptional Conditions",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV4_0": {
                        "attackVector": "LOCAL",
                        "attackComplexity": "LOW",
                        "attackRequirements": "PRESENT",
                        "privilegesRequired": "LOW",
                        "userInteraction": "NONE",
                        "vulnConfidentialityImpact": "NONE",
                        "vulnIntegrityImpact": "LOW",
                        "vulnAvailabilityImpact": "NONE",
                        "subConfidentialityImpact": "NONE",
                        "subIntegrityImpact": "NONE",
                        "subAvailabilityImpact": "NONE",
                        "baseScore": 2,
                        "baseSeverity": "LOW",
                        "vectorString": "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",
                        "version": "4.0"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/MidnightBSD/mport/security/advisories/GHSA-hgmr-9p75-q5cg",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/MidnightBSD/mport/security/advisories/GHSA-hgmr-9p75-q5cg"
                },
                {
                    "name": "https://github.com/MidnightBSD/mport/pull/138",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/MidnightBSD/mport/pull/138"
                },
                {
                    "name": "https://github.com/MidnightBSD/mport/commit/cd9991c3cc1f60ecb3f378852ad8b5caa820e990",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/MidnightBSD/mport/commit/cd9991c3cc1f60ecb3f378852ad8b5caa820e990"
                },
                {
                    "name": "https://github.com/MidnightBSD/mport/releases/tag/2.7.8",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/MidnightBSD/mport/releases/tag/2.7.8"
                }
            ],
            "affected": [
                {
                    "vendor": "MidnightBSD",
                    "product": "mport",
                    "versions": [
                        {
                            "version": "< 2.7.8",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2026-09-17T16:54:20.195Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "source": {
                "advisory": "GHSA-hgmr-9p75-q5cg",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-09-18T14:36:37.692551Z",
                                "id": "CVE-2026-54578",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-09-18T14:44:44.118Z"
                }
            }
        ]
    }
}