Description
libLAS through 1.8.1 contains a heap out-of-bounds write vulnerability in the point record reader caused by truncating the schema byte size to 16 bits when sizing the point buffer. Attackers can craft a .las file with a LASSchema variable length record whose schema exceeds 65535 bytes, so tools like lasinfo, las2las, or las2txt write attacker-controlled bytes past the heap buffer, causing memory corruption and crashes.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
libLAS libLAS
Default version status: unaffected
0 to ≤ 1.8.1affected
pkg:github/libLAS/libLASReferences
- https://hackmd.io/@haindpwn/liblas-record-length-truncation-heap-overflow ↗
- https://github.com/libLAS/libLAS/blob/1.8.1/src/detail/reader/reader.cpp ↗
- https://github.com/libLAS/libLAS/blob/1.8.1/src/header.cpp ↗
- https://www.vulncheck.com/advisories/liblas-through-1.8.1-heap-out-of-bounds-write-via-lasschema-vlr ↗
- https://hackmd.io/@haindpwn/cve-2026-112059-liblas-record-length-truncation-heap-overflow ↗