Every CVE Search/ Get API key

CVE-2026-5745

Libarchive: a null pointer dereference vulnerability exists in the acl parser of libarchive

5.5 MediumFix available

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).

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

0.17%Up 0.2 points since Apr 8, 2026
90%50%10%1%

What each source reports

CVE List Score used 5.5

Libarchive: a null pointer dereference vulnerability exists in the acl parser of libarchive

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).

Record
CVE-2026-5745
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-476
Updated
2026-11-06
EUVDEUVD-2026-19705 5.5

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).

Record
EUVD-2026-19705
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-06
GitHub AdvisoriesGHSA-fjqv-vj6q-4fcm 5.5

A flaw was found in libarchive. A NULL pointer dereference vulnerability exists in the ACL...

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).

Record
GHSA-fjqv-vj6q-4fcm
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-476
Updated
2026-11-02
NVD 5.5

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).

Record
CVE-2026-5745
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-476
Updated
2026-11-06
OSVDEBIAN-CVE-2026-5745 5.5

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).

Record
DEBIAN-CVE-2026-5745
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-07
OSVRHSA-2026:8944 7.5

Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update

Record
RHSA-2026:8944
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
Show 5 moreShow less
OSVUBUNTU-CVE-2026-5745 5.5

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).

Record
UBUNTU-CVE-2026-5745
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVCLSA-2026-1776429223 No score

libarchive: Fix of CVE-2026-5745

  • CVE-2026-5745: fix NULL pointer dereference in ACL parsing in archive_acl_from_text_w()
Record
CLSA-2026-1776429223
Updated
2026-11-02
OSVCLSA-2026-1776430169 No score

libarchive: Fix of CVE-2026-5745

  • CVE-2026-5745: fix NULL pointer dereference in ACL parsing in archive_acl_from_text_w()
Record
CLSA-2026-1776430169
Updated
2026-11-02
OSVMGASA-2026-0241 No score

Updated libarchive packages fix security vulnerabilities

The updated packages fix bugs including security ones.

Record
MGASA-2026-0241
Updated
2026-11-02
OSVMGASA-2026-0366 No score

Updated libarchive packages fix security vulnerabilities

Double-free vulnerability in rar5 decompression logic via dangling filtered_buf pointer in init_unpack(). (CVE-2026-14164) Heap overflow oob read while parsing a tar archive contains a pax extended header. (CVE-2026-15028) A null pointer dereference vulnerability exists in the acl parser of libarchive. (CVE-2026-5745) Reading past eof may be triggered for piped file streams. (CVE-2025-5918) An issue was discovered in libarchive bsdtar before version 3.8.1 in function apply_substitution in file tar/subst.c when processing crafted -s substitution rules. This can cause unbounded memory allocation and lead to denial of service (Out-of-Memory crash). (CVE-2025-60753) Infinite loop denial of service in rar5 decompression via archive_read_data() in libarchive. (CVE-2026-4111) Information disclosure via heap out-of-bounds read in rar archive processing. (CVE-2026-4424) Denial of service via malformed iso file processing. (CVE-2026-4426) Arbitrary code execution via integer overflow in iso9660 image processing. (CVE-2026-5121)

Record
MGASA-2026-0366
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
bsdcat
TuxCare:AlmaLinux:9.6
before 3.5.3-6.el9_6.tuxcare.els4
3.5.3-6.el9_6.tuxcare.els4
bsdcpio
TuxCare:AlmaLinux:9.6
before 3.5.3-6.el9_6.tuxcare.els4
3.5.3-6.el9_6.tuxcare.els4
bsdtar
TuxCare:AlmaLinux:9.6
before 3.5.3-6.el9_6.tuxcare.els4
3.5.3-6.el9_6.tuxcare.els4
libarchive
TuxCare:AlmaLinux:9.6
before 3.5.3-6.el9_6.tuxcare.els4
3.5.3-6.el9_6.tuxcare.els4
libarchive-devel
TuxCare:AlmaLinux:9.6
before 3.5.3-6.el9_6.tuxcare.els4
3.5.3-6.el9_6.tuxcare.els4
bsdcat
TuxCare:AlmaLinux:9.2
before 3.5.3-6.el9_2.tuxcare.els4
3.5.3-6.el9_2.tuxcare.els4
bsdcpio
TuxCare:AlmaLinux:9.2
before 3.5.3-6.el9_2.tuxcare.els4
3.5.3-6.el9_2.tuxcare.els4
bsdtar
TuxCare:AlmaLinux:9.2
before 3.5.3-6.el9_2.tuxcare.els4
3.5.3-6.el9_2.tuxcare.els4
libarchive
TuxCare:AlmaLinux:9.2
before 3.5.3-6.el9_2.tuxcare.els4
3.5.3-6.el9_2.tuxcare.els4
libarchive-devel
TuxCare:AlmaLinux:9.2
before 3.5.3-6.el9_2.tuxcare.els4
3.5.3-6.el9_2.tuxcare.els4
Show 13 moreShow less
Affected packages
PackageAffectedFixed
libarchive
Debian:12
All versions, plus listed versions
3.6.2-13.6.2-1+deb12u13.6.2-1+deb12u23.6.2-1+deb12u33.6.2-1+deb12u4
Show 21 moreShow less
3.6.2-1+deb12u53.7.2-13.7.2-1.13.7.2-1.1~exp13.7.2-23.7.2-2.13.7.4-13.7.4-1.13.7.4-23.7.4-33.7.4-43.8.10-13.8.10-23.8.11-13.8.4-13.8.5-13.8.6-13.8.7-13.8.8-13.8.8-23.8.9-1
None known
libarchive
Debian:13
All versions, plus listed versions
3.7.4-43.7.4-4+deb13u13.8.10-13.8.10-23.8.11-1
Show 7 moreShow less
3.8.4-13.8.5-13.8.6-13.8.7-13.8.8-13.8.8-23.8.9-1
None known
libarchive
Debian:14
before 3.8.8-1, plus listed versions
3.7.4-43.8.4-13.8.5-13.8.6-13.8.7-1
3.8.8-1
libarchive
Mageia:10
From an advisory covering 6 CVEs
before 3.8.8-1.mga10
3.8.8-1.mga10
libarchive
Mageia:10
From an advisory covering 9 CVEs
before 3.8.9-1.mga10
3.8.9-1.mga10
libarchive
Mageia:9
From an advisory covering 9 CVEs
before 3.6.2-5.6.mga9
3.6.2-5.6.mga9
libarchive
Red Hat:hummingbird:1
From an advisory covering 6 CVEs
before 0:3.8.7-1.hum1
0:3.8.7-1.hum1
libarchive-devel
Red Hat:hummingbird:1
From an advisory covering 6 CVEs
before 0:3.8.7-1.hum1
0:3.8.7-1.hum1
libarchive
Ubuntu:Pro:20.04:LTS
before 3.4.0-2ubuntu1.5+esm3, plus listed versions
3.4.0-13.4.0-1build13.4.0-1ubuntu23.4.0-2ubuntu13.4.0-2ubuntu1.1
Show 6 moreShow less
3.4.0-2ubuntu1.23.4.0-2ubuntu1.33.4.0-2ubuntu1.43.4.0-2ubuntu1.53.4.0-2ubuntu1.5+esm13.4.0-2ubuntu1.5+esm2
3.4.0-2ubuntu1.5+esm3
libarchive
Ubuntu:22.04:LTS
before 3.6.0-1ubuntu1.8, plus listed versions
3.4.3-23.4.3-2build13.5.2-13.5.2-1ubuntu13.6.0-1ubuntu1
Show 7 moreShow less
3.6.0-1ubuntu1.13.6.0-1ubuntu1.23.6.0-1ubuntu1.33.6.0-1ubuntu1.43.6.0-1ubuntu1.53.6.0-1ubuntu1.63.6.0-1ubuntu1.7
3.6.0-1ubuntu1.8
libarchive
Ubuntu:24.04:LTS
before 3.7.2-2ubuntu0.8, plus listed versions
3.6.2-1ubuntu13.7.2-1ubuntu13.7.2-1ubuntu23.7.2-1.1ubuntu23.7.2-2
Show 7 moreShow less
3.7.2-2ubuntu0.13.7.2-2ubuntu0.23.7.2-2ubuntu0.33.7.2-2ubuntu0.43.7.2-2ubuntu0.53.7.2-2ubuntu0.63.7.2-2ubuntu0.7
3.7.2-2ubuntu0.8
libarchive
Ubuntu:25.10
All versions, plus listed versions
3.7.7-0ubuntu23.7.7-0ubuntu2.13.7.7-0ubuntu2.23.7.7-0ubuntu33.7.7-0ubuntu3.13.7.7-0ubuntu3.2
None known
libarchive
Ubuntu:26.04:LTS
before 3.8.5-1ubuntu2.2, plus listed versions
3.7.7-0ubuntu33.8.5-1ubuntu13.8.5-1ubuntu23.8.5-1ubuntu2.1
3.8.5-1ubuntu2.2

History

History
RecordedChangedSources
affectedNVD, OSV
affected, productsCVE List, EUVD, NVD
factsEUVD
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2026-5745 is a medium vulnerability (CVSS 5.5) in Libarchive, published April 7, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.17%, the 5th percentile. Fixed in bsdcat 3.5.3-6.el9_6.tuxcare.els4.

References

Show 40 moreShow less
MoveEnter Open