Skip to content
Heist/ feed
Back to feed
Low

mport mirror-selection ping accepts insufficiently validated ICMP replies

Type: advisorySources: OSV

mport is the MidnightBSD Package Manager. Prior to 2.7.8, ping() in libmport/ping.c accepted ICMP replies without validating icmp_id or icmp_seq and parsed the reply using a fixed IP-header offset instead of ip_hl. A network attacker able to inject or spoof visible ICMP replies could influence mirror latency selection, while a malformed packet carrying IP options could shift the ICMP header and trigger an out-of-bounds read. This issue is fixed in version 2.7.8.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-54579
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 13:56 UTC · Revision 1

Source evidence

mport mirror-selection ping accepts insufficiently validated ICMP replies

core-osv · Original source

Published 17 Sept 2026, 16:59 UTC

mport is the MidnightBSD Package Manager. Prior to 2.7.8, ping() in libmport/ping.c accepted ICMP replies without validating icmp_id or icmp_seq and parsed the reply using a fixed IP-header offset instead of ip_hl. A network attacker able to inject or spoof visible ICMP replies could influence mirror latency selection, while a malformed packet carrying IP options could shift the ICMP header and trigger an out-of-bounds read. This issue is fixed in version 2.7.8.

osv:CVE-2026-54579
Complete source record
{
  "id": "d545e48534b905dede43a426936f6966df3ab9951d12b92ee037e7c723bbf0f6",
  "url": "https://osv.dev/vulnerability/CVE-2026-54579",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "mport mirror-selection ping accepts insufficiently validated ICMP replies",
    "summary": "mport is the MidnightBSD Package Manager. Prior to 2.7.8, ping() in libmport/ping.c accepted ICMP replies without validating icmp_id or icmp_seq and parsed the reply using a fixed IP-header offset instead of ip_hl. A network attacker able to inject or spoof visible ICMP replies could influence mirror latency selection, while a malformed packet carrying IP options could shift the ICMP header and trigger an out-of-bounds read. This issue is fixed in version 2.7.8.",
    "evidence": "osv:CVE-2026-54579",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2026-54579",
      "aliases": [
        "CVE-2026-54579",
        "GHSA-qc2f-2j7j-m3r7"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/midnightbsd/mport",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "899c8fe2d3ceb25d899e70dbd0c7744b7d7a0946"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.7.8"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.7.8"
                      }
                    ],
                    "source": "DESCRIPTION"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.7.6",
            "2.7.5",
            "2.7.4",
            "2.7.3",
            "2.7.2",
            "2.7.1",
            "2.7.0",
            "2.6.8",
            "2.6.7",
            "2.6.5",
            "2.6.4",
            "2.6.3",
            "2.6.2",
            "2.6.1",
            "2.6.0",
            "2.5.1",
            "2.5.0",
            "2.4.8",
            "2.4.7",
            "2.4.6",
            "2.4.5",
            "2.4.4",
            "2.4.3",
            "2.4.1",
            "2.4.0",
            "2.3.0",
            "2.2.9.1",
            "2.2.9",
            "2.2.8",
            "2.2.7",
            "2.2.6",
            "2.2.5",
            "2.2.4",
            "2.2.3",
            "2.2.2",
            "2.2.1",
            "2.2.0",
            "2.1.9",
            "2.1.8",
            "2.1.7",
            "2.1.6",
            "2.1.5",
            "2.1.4",
            "2.1.3",
            "2.1.2",
            "2.1.1",
            "2.1.0",
            "2.0.9",
            "2.0.8",
            "2.0.7",
            "2.0.6",
            "2.0.5",
            "2.0.2",
            "2.0.1",
            "2.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-54579.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:35.857740954Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54579.json",
        "https://github.com/MidnightBSD/mport/security/advisories/GHSA-qc2f-2j7j-m3r7",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-54579"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-125",
          "CWE-345"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54579.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-54579",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 503374,
  "published_at": "2026-09-17T16:59:52.147+00:00"
}