CVE-2026-9538: CWE-789 Memory Allocation with Excessive Size Value in BINGOS Archive::Tar
Archive::Tar versions before 3.10 for Perl allow memory exhaustion via attacker controlled entry size field in tar header. _read_tar() reads each entry's payload with $handle->read($$data, $block), where $block is derived from the entry's 12-byte size field in the tar header with no upper bound on that value. A crafted header declaring a multi-gigabyte size causes Perl to allocate a scalar of that size.
AI Analysis
Technical Summary
The vulnerability exists in the _read_tar() function of Archive::Tar before version 3.10, where the size field from the 12-byte tar header entry is used to determine the amount of memory to allocate for reading the entry's payload. Because there is no upper bound check on this size value, an attacker can craft a tar header declaring an excessively large size, causing Perl to allocate a very large scalar. This leads to memory exhaustion and potential denial of service. The CVSS 3.1 score is 7.5 (high), reflecting network attack vector, low complexity, no privileges required, no user interaction, unchanged scope, no confidentiality impact, high integrity impact, and no availability impact.
Potential Impact
An attacker can cause memory exhaustion on systems processing malicious tar archives using vulnerable versions of Archive::Tar. This can lead to denial of service conditions due to excessive memory allocation. There is no indication of confidentiality or availability impact, but integrity impact is rated high per CVSS. No known exploits are reported in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or patch links are provided, users should monitor for updates from BINGOS or the Archive::Tar maintainers. Until a fix is available, avoid processing untrusted tar archives with vulnerable versions of Archive::Tar to mitigate risk.
CVE-2026-9538: CWE-789 Memory Allocation with Excessive Size Value in BINGOS Archive::Tar
Description
Archive::Tar versions before 3.10 for Perl allow memory exhaustion via attacker controlled entry size field in tar header. _read_tar() reads each entry's payload with $handle->read($$data, $block), where $block is derived from the entry's 12-byte size field in the tar header with no upper bound on that value. A crafted header declaring a multi-gigabyte size causes Perl to allocate a scalar of that size.
CVSS v3.1
Score 7.5high
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability exists in the _read_tar() function of Archive::Tar before version 3.10, where the size field from the 12-byte tar header entry is used to determine the amount of memory to allocate for reading the entry's payload. Because there is no upper bound check on this size value, an attacker can craft a tar header declaring an excessively large size, causing Perl to allocate a very large scalar. This leads to memory exhaustion and potential denial of service. The CVSS 3.1 score is 7.5 (high), reflecting network attack vector, low complexity, no privileges required, no user interaction, unchanged scope, no confidentiality impact, high integrity impact, and no availability impact.
Potential Impact
An attacker can cause memory exhaustion on systems processing malicious tar archives using vulnerable versions of Archive::Tar. This can lead to denial of service conditions due to excessive memory allocation. There is no indication of confidentiality or availability impact, but integrity impact is rated high per CVSS. No known exploits are reported in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or patch links are provided, users should monitor for updates from BINGOS or the Archive::Tar maintainers. Until a fix is available, avoid processing untrusted tar archives with vulnerable versions of Archive::Tar to mitigate risk.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- CPANSec
- Date Reserved
- 2026-05-25T23:04:04.116Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a14f66ba5ae1af1aa1760b3
Added to database: 05/26/2026, 01:24:59 UTC
Last enriched: 06/02/2026, 21:04:56 UTC
Last updated: 07/31/2026, 19:23:00 UTC
Views: 167
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.