CVE-2025-2723
Medium · 5.3CVSS
5.3
EPSS
—
Published
Mar 25, 2025
CISA due date
—
Cloudanix analysis
A bug in a file-handling library on certain Red Hat systems lets someone already on the computer cause crashes or run unwanted code.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- Moderate
- Impact
- Full Compromise
- Component
- Library
- Class
- Buffer Overflow
- Remediation
- No Fix Yet
- Effort
- Other
- Patch risk
- Other
What it actually does
Heap-based buffer overflow in the gsf_property_settings_collec function triggered by manipulation of the n_alloced_params argument, enabling memory corruption.
Why it matters to the business
Local compromise of affected Red Hat virtualization host systems can lead to application crashes, unauthorized code execution, and potential full system takeover, increasing operational risk on enterprise Linux 7 hypervisor deployments.
How an attack unfolds
An attacker with local access crafts input that manipulates n_alloced_params in the vulnerable collection function, overflowing the heap buffer to corrupt memory and potentially achieve arbitrary code execution within the process context.
How to fix it
Update affected Red Hat packages to the fixed versions: redhat-virtualization-host to 0:4.2-20190129.0.el7_6, redhat-virtualization-host-image-update to 0:4.2-20190129.0.el7_6, redhat-release-virtualization-host to 0:4.2-8.1.el7, and redhat-virtualization-host-image-update-placeholder to 0:4.2-8.1.el7. Reboot hypervisor hosts after patching.
How to confirm the fix worked
Verify installed package versions match or exceed the listed fixed releases using package managers, and confirm libgsf is updated beyond 1.14.53 in the environment.
Typical attack path
- Gain local shell or process execution on the target system
- Identify or trigger usage of the gsf_property_settings_collec function with attacker-controlled parameters
- Supply a malicious n_alloced_params value to induce heap overflow
- Leverage memory corruption for code execution or denial of service
How to detect it
Review system logs for segmentation faults or crashes involving libgsf or gsf_property_settings_collec, and inspect process memory dumps or audit trails for unexpected local invocations of the library.
What your security team should do
- Apply the specified package updates immediately on all Red Hat Enterprise Linux 7 hypervisor systems
- Restrict local access and review processes that invoke libgsf functions
- Monitor for post-patch stability and scan for any remaining vulnerable instances
The record
A vulnerability was found in GNOME libgsf up to 1.14.53. It has been rated as critical. This issue affects the function gsf_property_settings_collec. The manipulation of the argument n_alloced_params leads to heap-based buffer overflow. Attacking locally is a requirement. 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-2722 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