Critical Vulnerability in libgsf: Potential Remote Code Execution

libgsf Updated 03 Oct 2025

Summary

21/10/2024
N/A
Yes i
Unrated
Not published

USN-7062-2: libgsf vulnerabilities. Affects libgsf versions < 1.14.52-1ubuntu0.1. Fixed in 1.14.52-1ubuntu0.1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

libgsf is a library used in various applications for handling Compound Document Format files, allowing for the manipulation of complex file types. It is widely utilized in the Ubuntu ecosystem, particularly in applications that require document handling capabilities. The library's functionality is essential for users who work with diverse file formats, but it has been found to have vulnerabilities that could be exploited if not addressed promptly.

Vulnerability Detail

The vulnerability in libgsf arises from improper handling of certain Compound Document Binary files. This flaw allows a remote attacker to craft a malicious file that, when opened by a user or automated system, could lead to arbitrary code execution. The issue was identified in the context of specific versions of the library, making it critical for users to update to the patched version to mitigate risks.

How To Fix

Minimum fixed version

1.14.52-1ubuntu0.1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade libgsf

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users should avoid opening untrusted Compound Document Binary files until the package is updated. Additionally, consider using file type restrictions or sandboxing techniques to limit exposure to potentially harmful files.

Conclusion

The vulnerabilities in libgsf pose significant risks, including the potential for remote code execution. It is crucial for users to update to the latest patched version to ensure their systems remain secure. By following the recommended steps and utilizing available resources like Vulert, users can effectively manage and mitigate these risks.

See every vulnerability recorded for libgsf →

Share this vulnerability

FAQ

libgsf is a library for handling Compound Document Format files, commonly used in various applications within the Ubuntu ecosystem.

The vulnerability allows an attacker to execute arbitrary code on a user's system by tricking them into opening a specially crafted file.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Yes, a patch is available in the form of an updated libgsf package version 1.14.52-1ubuntu0.1.

If immediate updating is not possible, avoid opening untrusted files and consider implementing file type restrictions as a temporary measure.

Related vulnerabilities

Recent vulnerabilities recorded for libgsf.

How To Fix

Minimum fixed version

1.14.52-1ubuntu0.1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade libgsf

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback