libarchive — security advisory
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).
- Products
- libarchive
- Affected 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.7.4-4+deb13u1, 3.8.10-1, 3.8.10-2, 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
- Fixed versions
- 3.8.8-1
- CVEs
- CVE-2026-5745
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 17:53 UTC · Revision 2
Source evidence
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).
osv:DEBIAN-CVE-2026-5745
libarchive
Fixed versions: Not specified
libarchive
Fixed versions: Not specified
libarchive
Fixed versions: 3.8.8-1
Complete source record
{
"id": "d739aa6658aee8f4526777af1275b4043484f0b6b25ab6e36c707f7352fff4e8",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-5745",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2026-5745",
"summary": "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).",
"evidence": "osv:DEBIAN-CVE-2026-5745",
"products": [
{
"name": {
"value": "libarchive",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.6.2-1",
"evidence": "/affected/0/versions"
},
{
"value": "3.6.2-1+deb12u1",
"evidence": "/affected/0/versions"
},
{
"value": "3.6.2-1+deb12u2",
"evidence": "/affected/0/versions"
},
{
"value": "3.6.2-1+deb12u3",
"evidence": "/affected/0/versions"
},
{
"value": "3.6.2-1+deb12u4",
"evidence": "/affected/0/versions"
},
{
"value": "3.6.2-1+deb12u5",
"evidence": "/affected/0/versions"
},
{
"value": "3.7.2-1",
"evidence": "/affected/0/versions"
},
{
"value": "3.7.2-1.1",
"evidence": "/affected/0/versions"
},
{
"value": "3.7.2-1.1~exp1",
"evidence": "/affected/0/versions"
},
{
"value": "3.7.2-2",
"evidence": "/affected/0/versions"
},
{
"value": "3.7.2-2.1",
"evidence": "/affected/0/versions"
},
{
"value": "3.7.4-1",
"evidence": "/affected/0/versions"
},
{
"value": "3.7.4-1.1",
"evidence": "/affected/0/versions"
},
{
"value": "3.7.4-2",
"evidence": "/affected/0/versions"
},
{
"value": "3.7.4-3",
"evidence": "/affected/0/versions"
},
{
"value": "3.7.4-4",
"evidence": "/affected/0/versions"
},
{
"value": "3.8.10-1",
"evidence": "/affected/0/versions"
},
{
"value": "3.8.10-2",
"evidence": "/affected/0/versions"
},
{
"value": "3.8.4-1",
"evidence": "/affected/0/versions"
},
{
"value": "3.8.5-1",
"evidence": "/affected/0/versions"
},
{
"value": "3.8.6-1",
"evidence": "/affected/0/versions"
},
{
"value": "3.8.7-1",
"evidence": "/affected/0/versions"
},
{
"value": "3.8.8-1",
"evidence": "/affected/0/versions"
},
{
"value": "3.8.8-2",
"evidence": "/affected/0/versions"
},
{
"value": "3.8.9-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "libarchive",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.7.4-4",
"evidence": "/affected/1/versions"
},
{
"value": "3.7.4-4+deb13u1",
"evidence": "/affected/1/versions"
},
{
"value": "3.8.10-1",
"evidence": "/affected/1/versions"
},
{
"value": "3.8.10-2",
"evidence": "/affected/1/versions"
},
{
"value": "3.8.4-1",
"evidence": "/affected/1/versions"
},
{
"value": "3.8.5-1",
"evidence": "/affected/1/versions"
},
{
"value": "3.8.6-1",
"evidence": "/affected/1/versions"
},
{
"value": "3.8.7-1",
"evidence": "/affected/1/versions"
},
{
"value": "3.8.8-1",
"evidence": "/affected/1/versions"
},
{
"value": "3.8.8-2",
"evidence": "/affected/1/versions"
},
{
"value": "3.8.9-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "libarchive",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.8.8-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": [
{
"value": "3.7.4-4",
"evidence": "/affected/2/versions"
},
{
"value": "3.8.4-1",
"evidence": "/affected/2/versions"
},
{
"value": "3.8.5-1",
"evidence": "/affected/2/versions"
},
{
"value": "3.8.6-1",
"evidence": "/affected/2/versions"
},
{
"value": "3.8.7-1",
"evidence": "/affected/2/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "DEBIAN-CVE-2026-5745",
"aliases": [
"DEBIAN-CVE-2026-5745"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libarchive",
"purl": "pkg:deb/debian/libarchive?arch=source&distro=bookworm",
"ecosystem": "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.10-1",
"3.8.10-2",
"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"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-5745.json"
},
"ecosystem_specific": {
"urgency": "unimportant"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libarchive",
"purl": "pkg:deb/debian/libarchive?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"3.7.4-4",
"3.7.4-4+deb13u1",
"3.8.10-1",
"3.8.10-2",
"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"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-5745.json"
},
"ecosystem_specific": {
"urgency": "unimportant"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.8.8-1"
}
]
}
],
"package": {
"name": "libarchive",
"purl": "pkg:deb/debian/libarchive?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"3.7.4-4",
"3.8.4-1",
"3.8.5-1",
"3.8.6-1",
"3.8.7-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-5745.json"
},
"ecosystem_specific": {
"urgency": "unimportant"
}
}
],
"modified": "2026-10-27T10:01:36.394389787Z",
"provider": "osv",
"upstream": [
"CVE-2026-5745"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2026-5745"
]
},
"related_cves": [
{
"value": "CVE-2026-5745",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 461416,
"published_at": "2026-04-07T16:16:32.307+00:00"
}