CVE-2025-2722
Medium · 5.3CVSS
5.3
EPSS
—
Published
Mar 25, 2025
CISA due date
—
Cloudanix analysis
A flaw in a common file-handling component could let someone already on the computer run unwanted code or crash programs.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- Moderate
- Impact
- Privilege Gain
- Component
- Library
- Class
- Buffer Overflow
- Remediation
- No Fix Yet
- Effort
- Other
- Patch risk
- Other
What it actually does
The vulnerability allows a local attacker to trigger a heap-based buffer overflow by supplying a manipulated value for the n_alloced_params argument to the gsf_prop_settings_collect_va function in GNOME libgsf.
Why it matters to the business
Successful exploitation could allow local code execution or application crashes on affected systems, leading to privilege escalation or denial of service for users and processes relying on the library.
How an attack unfolds
An attacker with local access identifies an application using the vulnerable libgsf function, then supplies crafted input that manipulates n_alloced_params to overflow a heap buffer and achieve code execution.
How to fix it
Upgrade affected packages to the fixed versions provided by the vendor, such as chromium-browser 0:72.0.3626.81-1.el6_10.
How to confirm the fix worked
Confirm installed package versions meet or exceed the listed fixed releases and test that the vulnerable function is no longer reachable with malicious input.
Typical attack path
- Obtain local access to a target system
- Locate processes or applications that invoke gsf_prop_settings_collect_va
- Craft input to manipulate the n_alloced_params argument
- Trigger the heap buffer overflow to execute arbitrary code or crash the process
How to detect it
Review application crash logs and memory allocation events for signs of unexpected heap behavior in processes linked to libgsf; monitor for anomalous local process activity.
What your security team should do
- Apply vendor patches to all affected packages without delay
- Restrict local user access where feasible until updates are deployed
- Inventory applications that depend on libgsf and prioritize upgrades based on exposure
The record
A vulnerability was found in GNOME libgsf up to 1.14.53. It has been declared as critical. This vulnerability affects the function gsf_prop_settings_collect_va. The manipulation of the argument n_alloced_params leads to heap-based buffer overflow. Local access is required to approach this attack. The vendor was contacted early about this disclosure but did not respond in any way.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | libgsf | 0 | No fix |
| Debian:12 | libgsf | 0 | No fix |
| Debian:13 | libgsf | 0 | No fix |
| Ubuntu:20.04:LTS | libgsf | 0 | No fix |
| Ubuntu:22.04:LTS | libgsf | 0 | No fix |
| Ubuntu:24.04:LTS | libgsf | 0 | No fix |
| Ubuntu:24.10 | libgsf | 0 | No fix |
| Ubuntu:25.04 | libgsf | 0 | No fix |
| Ubuntu:Pro:14.04:LTS | libgsf | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | libgsf | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | libgsf | 0 | No fix |
Related vulnerabilities
- CVE-2025-2724 A vulnerability classified as problematic has been found in GNOME libgsf up to 1.14.53. Also affects libgsf
- CVE-2025-2723 A vulnerability was found in GNOME libgsf up to 1.14.53. Also affects libgsf
- CVE-2025-2721 A vulnerability was found in GNOME libgsf up to 1.14.53. Also affects libgsf
- CVE-2024-36474 An integer overflow vulnerability exists in the Compound Document Binary File format… Also affects libgsf
- CVE-2024-42415 An integer overflow vulnerability exists in the Compound Document Binary File format… Also affects libgsf