---
id: CVE-2026-111273
title: unarr through 1.1.1 Off-by-One Heap Buffer Overflow via tar_get_name
summary: >-
  unarr through 1.1.1 contains an off-by-one heap-based buffer overflow in
  tar_get_name() in tar/parse-tar.c, reachable through the ar_entry_get_name()
  API. Attackers can supply a crafted TAR archive with a full ustar prefix and
  name to wr…
severity: medium
cvss: 6.1
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H'
cvssSource: cna
cwe:
  - CWE-193
vendor: selmf
product: unarr
affected:
  - unarr <= 1.1.1
published: '2026-10-15'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T21:43:19.717Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-111273'
references:
  - url: 'https://hackmd.io/@haind-pwn/unarr-tar-zip-oob'
  - url: >-
      https://github.com/selmf/unarr/blob/b211040df83dee513362cdeb9bd87afa26fd5e38/tar/parse-tar.c#L242-L254
  - url: 'https://github.com/selmf/unarr'
  - url: >-
      https://www.vulncheck.com/advisories/unarr-through-1.1.1-off-by-one-heap-buffer-overflow-via-tar-get-name
    label: >-
      VulnCheck Advisory: unarr through 1.1.1 Off-by-One Heap Buffer Overflow
      via tar_get_name
tags:
  - cve.org
ingestedAt: '2026-10-15T22:48:25.447Z'
---

## Overview

unarr through 1.1.1 contains an off-by-one heap-based buffer overflow in tar_get_name() in tar/parse-tar.c, reachable through the ar_entry_get_name() API. Attackers can supply a crafted TAR archive with a full ustar prefix and name to write a NUL byte past the allocation, corrupting heap memory and crashing the process.

## Affected

- `unarr <= 1.1.1`

## Remediation

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