FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

p7zip -- out-of-bounds read vulnerability

Affected packages
p7zip < 15.14_1

Details

VuXML ID d706a3a3-4a7c-11e6-97f7-5453ed2e2b49
Discovery 2016-05-11
Entry 2016-07-15

Cisco Talos reports:

An out-of-bounds read vulnerability exists in the way 7-Zip handles Universal Disk Format (UDF) files.

Central to 7-Zip’s processing of UDF files is the CInArchive::ReadFileItem method. Because volumes can have more than one partition map, their objects are kept in an object vector. To start looking for an item, this method tries to reference the proper object using the partition map’s object vector and the "PartitionRef" field from the Long Allocation Descriptor. Lack of checking whether the "PartitionRef" field is bigger than the available amount of partition map objects causes a read out-of-bounds and can lead, in some circumstances, to arbitrary code execution.

References

CVE Name CVE-2016-2335
URL http://blog.talosintel.com/2016/05/multiple-7-zip-vulnerabilities.html