Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2017-14166

libarchive 3.3.2 allows remote attackers to cause a denial of service (xml_data heap-based buffer over-read and application crash) via a crafted xar archive, related to the mishandling of empty strings in the atol8 function in archive_read_support_format_xar.c.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2017-14166
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:09 UTC · Revision 1

Source evidence

CVE-2017-14166

core-osv · Original source

Published 6 Sept 2017, 18:29 UTC

libarchive 3.3.2 allows remote attackers to cause a denial of service (xml_data heap-based buffer over-read and application crash) via a crafted xar archive, related to the mishandling of empty strings in the atol8 function in archive_read_support_format_xar.c.

osv:CVE-2017-14166
Complete source record
{
  "id": "7da90565abb11aeb2da7ce5cccc2e5cd975da68919bc1307306901429e89838a",
  "url": "https://osv.dev/vulnerability/CVE-2017-14166",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2017-14166",
    "summary": "libarchive 3.3.2 allows remote attackers to cause a denial of service (xml_data heap-based buffer over-read and application crash) via a crafted xar archive, related to the mishandling of empty strings in the atol8 function in archive_read_support_format_xar.c.",
    "evidence": "osv:CVE-2017-14166",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2017-14166",
      "aliases": [
        "CVE-2017-14166"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/libarchive/libarchive",
              "type": "GIT",
              "events": [
                {
                  "introduced": "98a695399e8e7420635a5448aecde8b0a82fb83a"
                },
                {
                  "last_affected": "98a695399e8e7420635a5448aecde8b0a82fb83a"
                },
                {
                  "fixed": "fa7438a0ff4033e4741c807394a9af6207940d71"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:libarchive:libarchive:3.3.2:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.3.2"
                      },
                      {
                        "last_affected": "3.3.2"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "fa7438a0ff4033e4741c807394a9af6207940d71"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3.3.2",
            "v3.3.2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-14166.json",
            "vanir_signatures": [
              {
                "id": "CVE-2017-14166-8b8c9fe3",
                "digest": {
                  "length": 252,
                  "function_hash": "22896334843526093180736066296199390258"
                },
                "source": "https://github.com/libarchive/libarchive/commit/fa7438a0ff4033e4741c807394a9af6207940d71",
                "target": {
                  "file": "libarchive/archive_read_support_format_xar.c",
                  "function": "atol8"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2017-14166-d6ce55c2",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "306826382494510933660800859828621127375",
                    "263019307768072499342249514957965856663",
                    "335663963310048766376761345995812168806",
                    "99099958808001043042586216301068977286",
                    "202259133909944234003097793124428872639",
                    "182001944860290744146342507656516228755"
                  ]
                },
                "source": "https://github.com/libarchive/libarchive/commit/fa7438a0ff4033e4741c807394a9af6207940d71",
                "target": {
                  "file": "libarchive/archive_read_support_format_xar.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2017-14166-efb70994",
                "digest": {
                  "length": 239,
                  "function_hash": "23263452411327199978277794560809399548"
                },
                "source": "https://github.com/libarchive/libarchive/commit/fa7438a0ff4033e4741c807394a9af6207940d71",
                "target": {
                  "file": "libarchive/archive_read_support_format_xar.c",
                  "function": "atol10"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:14:13Z"
          }
        }
      ],
      "modified": "2026-10-20T13:14:13.782247508Z",
      "provider": "osv",
      "references": [
        "https://lists.debian.org/debian-lts-announce/2018/11/msg00037.html",
        "https://security.gentoo.org/glsa/201908-11",
        "https://usn.ubuntu.com/3736-1/",
        "https://www.debian.org/security/2018/dsa-4360",
        "https://blogs.gentoo.org/ago/2017/09/06/libarchive-heap-based-buffer-overflow-in-xml_data-archive_read_support_format_xar-c/",
        "https://github.com/libarchive/libarchive/commit/fa7438a0ff4033e4741c807394a9af6207940d71"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*",
              "cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*"
            ],
            "vendor_product": "canonical:ubuntu_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "14.04"
                  },
                  {
                    "last_affected": "14.04"
                  },
                  {
                    "introduced": "16.04"
                  },
                  {
                    "last_affected": "16.04"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "8.0"
                  },
                  {
                    "last_affected": "8.0"
                  },
                  {
                    "introduced": "9.0"
                  },
                  {
                    "last_affected": "9.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2017-14166",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 387357,
  "published_at": "2017-09-06T18:29:00.273+00:00"
}