An integer overflow vulnerability exists in the Compound Document Binary File format parser of the GNOME Project G Structured File Library (libgsf) version v1.14.52. A specially crafted file can result in an integer overflow when processing the directory from the file that allows for an out-of-bounds index to be used when reading and writing to an array. This can lead to arbitrary code execution. An attacker can provide a malicious file to trigger this vulnerability.
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://talosintelligence.com/vulnerability_reports/TALOS-2024-2068 | third party advisory technical description |
https://gitlab.gnome.org/GNOME/libgsf/-/issues/34 | issue tracking |
https://www.talosintelligence.com/vulnerability_reports/TALOS-2024-2068 |