{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "0.1.0"
              },
              {
                "fixed": "0.1.0"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "DESCRIPTION"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "956791770defa4d06696b30db276e88a09ad3538"
            }
          ],
          "repo": "https://github.com/rxi/microtar",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-121"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43623.json"
  },
  "details": "microtar through 0.1.0 contains a stack-based buffer overflow vulnerability in the raw_to_header() function in src/microtar.c that allows attackers to corrupt adjacent stack memory by supplying a crafted TAR archive with non-null-terminated name or linkname fields. The function uses strcpy() to copy 100-byte ustar format fields that lack null terminators, causing writes of up to 355 bytes into a 100-byte destination buffer when mtar_open(), mtar_find(), or mtar_read_header() process attacker-supplied TAR archives.",
  "id": "CVE-2026-43623",
  "modified": "2026-07-15T01:48:53.357558680Z",
  "published": "2026-06-01T18:04:14.379Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43623.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-43623"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/microtar-stack-based-buffer-overflow-via-raw-to-header"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/rxi/microtar/issues/28"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/rxi/microtar/issues/29"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/rxi/microtar/issues/30"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/rxi/microtar"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "microtar 0.1.0 Stack-Based Buffer Overflow via raw_to_header()"
}