CVE-2017-14502: Buffer Overflow

Published Sep 17, 2017
·
Updated

Last updated 25 August 2025

Other sources

libarchive is vulnerable to a buffer overflow, caused by improper bounds checking by the readheader function in archivereadsupportformatrar.c. By persuading a victim to open a specially-crafted RAR file, a remote attacker could overflow a buffer and execute arbitrary code on the system.

IBM

readheader in archivereadsupportformatrar.c in libarchive 3.3.2 suffers from an off-by-one error for UTF-16 names in RAR archives, leading to an out-of-bounds read in archivereadformatrarreadheader.

Launchpad

Affected Software

5 affected componentsFixes available
IBM Cloud Pak for Security (CP4S)<=1.7.2.0
IBM Cloud Pak for Security (CP4S)<=1.7.1.0
IBM Cloud Pak for Security (CP4S)<=1.7.0.0
Libarchive libarchive=3.3.2
debian/libarchive
3.4.3-2+deb11u13.4.3-2+deb11u33.6.2-1+deb12u33.6.2-1+deb12u23.7.4-43.8.5-1

Event History

Sep 17, 2017
CVE Published
via MITRE·06:00 PM
Data Sourced
via MITRE·06:00 PM
Description
Data Sourced
via NVD·06:29 PM
DescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·10:30 PM
Description
Feb 19, 2026
Data Sourced
via Ubuntu·09:04 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Debian·09:05 PM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2017-14502?

CVE-2017-14502 is a vulnerability in libarchive 3.3.2 that allows a remote attacker to execute arbitrary code on the system by exploiting a buffer overflow in the read_header function in archive_read_support_format_rar.c.

2

How does CVE-2017-14502 impact libarchive?

CVE-2017-14502 can lead to a buffer overflow in libarchive, potentially allowing an attacker to execute arbitrary code on the system.

3

Which versions of libarchive are affected by CVE-2017-14502?

CVE-2017-14502 affects libarchive version 3.3.2.

4

What is the severity of CVE-2017-14502?

CVE-2017-14502 has a severity rating of 7.8 (High).

5

How can I fix CVE-2017-14502 in libarchive?

To fix CVE-2017-14502 in libarchive, it is recommended to update to a version that includes the fix, such as version 3.3.3 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203