CVE-2026-16517
Awaiting Analysis Awaiting Analysis - Queue

Integer Overflow in libarchive ZIP Writer

Vulnerability report for CVE-2026-16517, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-21

Last updated on: 2026-07-22

Assigner: Red Hat, Inc.

Description

A signed integer overflow vulnerability was found in libarchive's ZIP writer. In the archive_write_zip_header function in archive_write_set_format_zip.c, when ZIP encryption is enabled and the entry file size is close to INT64_MAX, the addition of the encryption overhead to the entry size overflows int64_t, resulting in undefined behavior. This could lead to incorrect Zip64 extension decisions or potential memory corruption.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-21
Last Modified
2026-07-22
Generated
2026-08-11
AI Q&A
2026-07-22
EPSS Evaluated
2026-08-09
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
libarchive libarchive *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-190 The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a signed integer overflow vulnerability in libarchive's ZIP writer. When ZIP encryption is enabled and a file size is near INT64_MAX, adding encryption overhead causes an overflow in int64_t. This leads to undefined behavior, potentially causing incorrect Zip64 extension decisions or memory corruption.

Detection Guidance

To detect this vulnerability, check if your system uses a vulnerable version of libarchive with ZIP encryption enabled. Inspect the libarchive version and search for ZIP operations in logs or processes. No specific commands are provided in the context.

Impact Analysis

The impact is limited due to specific conditions required for exploitation. It could cause crashes or data corruption when creating encrypted ZIP files with very large entries. However, real-world exploitation is unlikely as it requires both encryption enabled and file sizes near INT64_MAX.

Compliance Impact

This vulnerability does not directly impact compliance with GDPR or HIPAA as it involves a low-severity signed integer overflow in libarchive's ZIP writer with unlikely real-world exploitation. Compliance risks would only arise if the vulnerability were exploited to corrupt data during ZIP encryption operations, which is not indicated in the provided context.

Mitigation Strategies

Update libarchive to the latest patched version. Disable ZIP encryption if not required. Monitor for unusual ZIP operations or memory corruption issues. Apply vendor patches promptly.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-16517. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart