{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0.1.0"
              },
              {
                "last_affected": "0.1.0"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "956791770defa4d06696b30db276e88a09ad3538"
            },
            {
              "last_affected": "956791770defa4d06696b30db276e88a09ad3538"
            }
          ],
          "repo": "https://github.com/rxi/microtar",
          "type": "GIT"
        }
      ],
      "versions": [
        "0.1.0"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "TuranSec",
    "cwe_ids": [
      "CWE-190",
      "CWE-835"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54417.json"
  },
  "details": "An integer overflow in the mtar_next() function in src/microtar.c in rxi microtar 0.1.0 allows a remote attacker to cause a denial of service (uncontrolled CPU consumption / infinite loop) via a crafted tar archive. mtar_next() computes the offset to the next record as round_up(h.size, 512) + sizeof(mtar_raw_header_t) using 32-bit arithmetic. When the header size field is a multiple of 512 in the range 0xFFFFFC01-0xFFFFFE00 (e.g. 0xFFFFFE00), the addition wraps to 0, so mtar_next() seeks to the current record position instead of advancing. As a result, mtar_find() and any loop that iterates entries with mtar_next() repeat indefinitely over the same record, hanging the process at 100% CPU with no recovery.",
  "id": "CVE-2026-54417",
  "modified": "2026-07-08T05:36:52.623199458Z",
  "published": "2026-06-17T13:25:54.502Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/rxi/microtar/blob/master/src/microtar.c#L239"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54417.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-54417"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/rxi/microtar"
    },
    {
      "type": "ARTICLE",
      "url": "https://raw.githubusercontent.com/rxi/microtar/master/src/microtar.c"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Integer Overflow in rxi/microtar mtar_next() Causes Infinite Loop DoS"
}