Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 631294 (CVE-2017-14502, CVE-2017-14503) - <app-arch/libarchive-3.3.3: out-of-bounds read in archive_read_format_rar_read_header
Summary: <app-arch/libarchive-3.3.3: out-of-bounds read in archive_read_format_rar_rea...
Alias: CVE-2017-14502, CVE-2017-14503
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Security
Whiteboard: A4 [glsa+ cve]
Depends on:
Reported: 2017-09-18 02:07 UTC by D'juan McDonald (domhnall)
Modified: 2019-08-15 15:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description D'juan McDonald (domhnall) 2017-09-18 02:07:38 UTC
from {URL}:

read_header in archive_read_support_format_rar.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 archive_read_format_rar_read_header.


Additional Source:(

CVE Details:(

@maintainer(s), after bump, please call for stabilization if needed, thank you.

Daj Uan (jmbailey)
Gentoo Security Padawan
Comment 1 D'juan McDonald (domhnall) 2017-09-18 02:25:18 UTC

libarchive 3.3.2 suffers from an out-of-bounds read within lha_read_data_none() in archive_read_support_format_lha.c when extracting a specially crafted lha archive, related to lha_crc16.

@maintainer(s), no patch yet for CVE-2017-14503.
Comment 2 D'juan McDonald (domhnall) 2018-06-22 08:45:23 UTC

libarchive issues go in the opposite order as issues and as CVEs…

CVE-2017-14503 is libarchive/libarchive#948 and CVE-2017-14501 is libarchive/libarchive#949

Both are found with AFL, both originally reported to Debian, apparently neither Debian nor the upstream has any patches or specific ideas about causes.


An out-of-bounds read flaw exists in parse_file_info in archive_read_support_format_iso9660.c in libarchive 3.3.2 when extracting a specially crafted iso9660 iso file, related to archive_read_format_iso9660_read_header.

Comment 3 Aaron Bauman (RETIRED) gentoo-dev 2019-08-10 17:04:14 UTC
both fixes are in 3.3.3.
Comment 4 GLSAMaker/CVETool Bot gentoo-dev 2019-08-15 15:50:44 UTC
This issue was resolved and addressed in
 GLSA 201908-11 at
by GLSA coordinator Aaron Bauman (b-man).