---
id: CVE-2026-54417
title: >-
  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
summary: >-
  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 …
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-190
  - CWE-835
published: '2026-06-17'
updated: '2026-08-10'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-54417'
references:
  - url: 'https://github.com/rxi/microtar'
    label: 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
  - url: 'https://github.com/rxi/microtar/blob/master/src/microtar.c#L239'
    label: 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
  - url: 'https://raw.githubusercontent.com/rxi/microtar/master/src/microtar.c'
    label: 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
tags:
  - nvd
epss: 0.0075
epssPercentile: 0.53015
ingestedAt: '2026-08-10T12:39:46.872Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
