Integer underflow in the decode_level3_header function in lib/lha_file_header.c in Lhasa before 0.3.1 allows remote attackers to execute arbitrary code via a crafted archive.
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Link | Tags |
---|---|
https://github.com/fragglet/lhasa/releases/tag/v0.3.1 | patch third party advisory issue tracking |
http://www.talosintelligence.com/reports/TALOS-2016-0095/ | third party advisory exploit technical description |
https://github.com/fragglet/lhasa/commit/6fcdb8f1f538b9d63e63a5fa199c5514a15d4564 | patch third party advisory issue tracking |
http://lists.opensuse.org/opensuse-updates/2016-04/msg00038.html | third party advisory vendor advisory |
http://lists.opensuse.org/opensuse-updates/2016-04/msg00039.html | third party advisory vendor advisory |
http://www.debian.org/security/2016/dsa-3540 | third party advisory vendor advisory |