Vulnerability · Published Oct 3, 2024 · Assigned by talos
CVE-2024-36474
High 8.4
In plain English
A high-severity integer overflow in G Structured File Library (libgsf) from GNOME Project. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 35% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | libgsf | 1.14.50-1+deb12u1 | DSA-5786-1 |
| Debian:12 | libgsf | 1.14.50-1+deb12u1 | DEBIAN-CVE-2024-36474 |
| Debian:13 | libgsf | 1.14.52-1.1 | DEBIAN-CVE-2024-36474 |
| Debian:14 | libgsf | 1.14.52-1.1 | DEBIAN-CVE-2024-36474 |
| Ubuntu:22.04:LTS | libgsf | 1.14.47-1ubuntu0.1 | USN-7062-1 |
| Ubuntu:22.04:LTS | libgsf | 1.14.47-1ubuntu0.1 | UBUNTU-CVE-2024-36474 |
| Ubuntu:24.04:LTS | libgsf | 1.14.51-2ubuntu0.1 | UBUNTU-CVE-2024-36474 |
| Ubuntu:24.04:LTS | libgsf | 1.14.51-2ubuntu0.1 | USN-7062-1 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| GNOME Project | G Structured File Library (libgsf) | 1.14.52 |
Weakness: CWE-190 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H