p PatchFirst

CVE-2026-5745

CVE-2026-5745 · Libarchive: a null pointer dereference vulnerability exists in the acl parser of libarchive

This page contains facts from public vulnerability sources. Check the original advisory before updating.

A flaw was found in libarchive. A NULL pointer dereference vulnerability exists in the ACL parsing logic, specifically within the archive_acl_from_text_nl() function. When processing a malformed ACL string (such as a bare "d" or "default" tag without subsequent fields), the function fails to perform adequate validation before advancing the pointer. An attacker can exploit this by providing a maliciously crafted archive, causing an application utilizing the libarchive API (such as bsdtar) to crash, resulting in a Denial of Service (DoS).

CVSS 5.5 · Medium · EPSS 0.2% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • red hat hardened images

    Versions
    • ≥ 3.8.7-1.hum1: Not affected (rpm)

    No fix published

  • red hat enterprise linux 10

    No fix published

  • red hat enterprise linux 6

    No fix published

  • red hat enterprise linux 7

    No fix published

  • red hat enterprise linux 8

    No fix published

  • red hat enterprise linux 9

    No fix published

  • red hat openshift container platform 4

    No fix published

  • libarchive Debian:12

    Versions
    • 3.6.2-1
    • 3.6.2-1+deb12u1
    • 3.6.2-1+deb12u2
    • 3.6.2-1+deb12u3
    • 3.6.2-1+deb12u4
    • 3.6.2-1+deb12u5
    • 3.7.2-1
    • 3.7.2-1.1
    • 3.7.2-1.1~exp1
    • 3.7.2-2
    • 3.7.2-2.1
    • 3.7.4-1
    • 3.7.4-1.1
    • 3.7.4-2
    • 3.7.4-3
    • 3.7.4-4
    • 3.8.4-1
    • 3.8.5-1
    • 3.8.6-1
    • 3.8.7-1
    • 3.8.8-1
    • 3.8.8-2
    • 3.8.9-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libarchive Debian:13

    Versions
    • 3.7.4-4
    • 3.7.4-4+deb13u1
    • 3.8.4-1
    • 3.8.5-1
    • 3.8.6-1
    • 3.8.7-1
    • 3.8.8-1
    • 3.8.8-2
    • 3.8.9-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libarchive Debian:14

    Versions
    • 3.7.4-4
    • 3.8.4-1
    • 3.8.5-1
    • 3.8.6-1
    • 3.8.7-1
    Affected ranges
    • ECOSYSTEM: < 3.8.8-1

    Update to 3.8.8-1

  • libarchive Ubuntu:Pro:20.04:LTS

    Versions
    • 3.4.0-1
    • 3.4.0-1build1
    • 3.4.0-1ubuntu2
    • 3.4.0-2ubuntu1
    • 3.4.0-2ubuntu1.1
    • 3.4.0-2ubuntu1.2
    • 3.4.0-2ubuntu1.3
    • 3.4.0-2ubuntu1.4
    • 3.4.0-2ubuntu1.5
    • 3.4.0-2ubuntu1.5+esm1
    • 3.4.0-2ubuntu1.5+esm2
    Affected ranges
    • ECOSYSTEM: < 3.4.0-2ubuntu1.5+esm3

    Update to 3.4.0-2ubuntu1.5+esm3

  • libarchive Ubuntu:22.04:LTS

    Versions
    • 3.4.3-2
    • 3.4.3-2build1
    • 3.5.2-1
    • 3.5.2-1ubuntu1
    • 3.6.0-1ubuntu1
    • 3.6.0-1ubuntu1.1
    • 3.6.0-1ubuntu1.2
    • 3.6.0-1ubuntu1.3
    • 3.6.0-1ubuntu1.4
    • 3.6.0-1ubuntu1.5
    • 3.6.0-1ubuntu1.6
    • 3.6.0-1ubuntu1.7
    Affected ranges
    • ECOSYSTEM: < 3.6.0-1ubuntu1.8

    Update to 3.6.0-1ubuntu1.8

  • libarchive Ubuntu:24.04:LTS

    Versions
    • 3.6.2-1ubuntu1
    • 3.7.2-1ubuntu1
    • 3.7.2-1ubuntu2
    • 3.7.2-1.1ubuntu2
    • 3.7.2-2
    • 3.7.2-2ubuntu0.1
    • 3.7.2-2ubuntu0.2
    • 3.7.2-2ubuntu0.3
    • 3.7.2-2ubuntu0.4
    • 3.7.2-2ubuntu0.5
    • 3.7.2-2ubuntu0.6
    • 3.7.2-2ubuntu0.7
    Affected ranges
    • ECOSYSTEM: < 3.7.2-2ubuntu0.8

    Update to 3.7.2-2ubuntu0.8

  • libarchive Ubuntu:25.10

    Versions
    • 3.7.7-0ubuntu2
    • 3.7.7-0ubuntu2.1
    • 3.7.7-0ubuntu2.2
    • 3.7.7-0ubuntu3
    • 3.7.7-0ubuntu3.1
    • 3.7.7-0ubuntu3.2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libarchive Ubuntu:26.04:LTS

    Versions
    • 3.7.7-0ubuntu3
    • 3.8.5-1ubuntu1
    • 3.8.5-1ubuntu2
    • 3.8.5-1ubuntu2.1
    Affected ranges
    • ECOSYSTEM: < 3.8.5-1ubuntu2.2

    Update to 3.8.5-1ubuntu2.2

Original sources

Check your server →