Description
LASzip through 3.5.0 contains an invalid free vulnerability in laszip_read_header() that allows attackers to free uninitialized heap pointers via truncated variable length record data. Attackers can supply a crafted LAS/LAZ file with an inflated VLR count that, when opened and destroyed through the C API, crashes the process and corrupts the heap.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
rapidlasso LASzip
Default version status: unaffected
0 to ≤ 3.5.0affected
pkg:github/LASzip/LASzipReferences
- https://github.com/LASzip/LASzip/commit/c9bfd3e68d65c84d513a2286ae06cbbe17afda02 ↗
- https://github.com/LASzip/LASzip/blob/3.5.0/src/laszip_dll.cpp#L3967-L3995 ↗
- https://github.com/LASzip/LASzip/blob/3.5.0/src/laszip_dll.cpp#L497-L511 ↗
- https://hackmd.io/@haind-pwn/laszip-vlr-uninitialized-free ↗
- https://www.vulncheck.com/advisories/laszip-through-3.5.0-invalid-free-via-truncated-vlr-header-in-laszip-read-header ↗