archive_read_support_format_tar.c in libarchive before 2.2.4 does not properly compute the length of a certain buffer when processing a malf
archive_read_support_format_tar.c in libarchive before 2.2.4 does not properly compute the length of a certain buffer when processing a malformed pax extension header, which allows user-assisted remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted (1) PAX or (2) TAR archive that triggers a buffer overflow.
- Published
- Jul 13, 2007
- Updated
- Jun 16, 2026
- EPSS
- 7.4% · 94th percentile
- CWE
- —
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
39
Monitor
Low priority for now.
- CVSS
- 37 / 40 · 9.3 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 2 / 30 · 7.4%
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| freebsd | libarchive | cpe:2.3:a:freebsd:libarchive |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- freebsd libarchiveup to 2.2.3 inclusive
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | libarchive | before 2.2.4-1 | 2.2.4-1 |
| Debian:4.0 | libarchive | before 1.2.53-2etch1 | 1.2.53-2etch1 |
| openSUSE:Tumbleweed | bsdtar | before 3.5.1-1.5 | 3.5.1-1.5 |
Same product
freebsd: all recordsOther highest-scoring records for the same primary product.
- CVE-2010-4666Buffer overflow in libarchive 3.0 pre-release code allows remote attackers to cause a denial of service (application crash) or possibly have31Monitor
- CVE-2011-1779Multiple use-after-free vulnerabilities in libarchive 2.8.4 and 2.8.5 allow remote attackers to cause a denial of service (application crash30Monitor
- CVE-2011-1778Buffer overflow in libarchive through 2.8.5 allows remote attackers to cause a denial of service (application crash) or possibly execute arb28Monitor
- CVE-2011-1777Multiple buffer overflows in the (1) heap_add_entry and (2) relocate_dir functions in archive_read_support_format_iso9660.c in libarchive th28Monitor
- CVE-2007-3645archive_read_support_format_tar.c in libarchive before 2.2.4 allows user-assisted remote attackers to cause a denial of service (crash) via 18Monitor
- CVE-2007-3644archive_read_support_format_tar.c in libarchive before 2.2.4 allows user-assisted remote attackers to cause a denial of service (infinite lo18Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:libarchive | 2.2.4-1 · Debian:12 | Package registry (OSV) |
| opensuse:bsdtar | 3.5.1-1.5 · openSUSE:Tumbleweed | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
If successful
- Confidentiality
- C · data can be read
- Integrity
- C · data or configuration can be modified
- Availability
- C · the service can be disrupted
- Attack complexity
- M
- Confidentiality impact
- C
- Integrity impact
- C
- Availability impact
- C
Weakness class (CWE)
—
CVSS vector
AV:N/AC:M/Au:N/C:C/I:C/A:C
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- bugs.debian.org/cgi-bin/bugreport.cgi?bug=432924
- osvdb.org/38092
- people.freebsd.org/~kientzle/libarchive/
- secunia.com/advisories/26050
- secunia.com/advisories/26062
- secunia.com/advisories/26355
- secunia.com/advisories/28377
- security.freebsd.org/advisories/FreeBSD-SA-07:05.libarchive.asc
- security.freebsd.org/patches/SA-07:05/libarchive.patch
- security.gentoo.org/glsa/glsa-200708-03.xml
- www.debian.org/security/2008/dsa-1455
- www.novell.com/linux/security/advisories/2007_15_sr.html
- www.securityfocus.com/bid/24885
- www.securitytracker.com/id?1018379
- www.vupen.com/english/advisories/2007/2521
- exchange.xforce.ibmcloud.com/vulnerabilities/35405
Vendor advisories and official records. Exploit/PoC links are deliberately left out.