Command Injection in libitext5-java

libitext5-java Updated 02 Oct 2025

Summary

19/01/2023
N/A
Yes i
Unrated
Not published

DSA-5323-1: libitext5-java - security update. Affects libitext5-java versions < 5.5.13.2-1+deb11u1. Fixed in 5.5.13.2-1+deb11u1. 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

libitext5-java is a Java PDF library that utilizes the external ghostscript software to compare PDFs at a pixel level. It provides functionality for creating, manipulating, and comparing PDF documents. The library is widely used in various applications for PDF generation and processing.

Vulnerability Detail

The CompareTool component of libitext5-java is susceptible to command injection when parsing a specially crafted filename. This vulnerability allows an attacker to inject arbitrary commands into the system, potentially leading to remote code execution or unauthorized access to sensitive information. The issue arises due to improper input validation and sanitization of filenames, enabling an attacker to execute arbitrary commands during the comparison process.

How To Fix

Minimum fixed version

5.5.13.2-1+deb11u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade libitext5-java

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

Workaround

There is no known workaround for this vulnerability. It is essential to apply the provided fix by upgrading to the patched version of libitext5-java.

Conclusion

The command injection vulnerability in libitext5-java poses a significant risk to systems utilizing the library for PDF processing. It is crucial to upgrade to the patched version to mitigate the potential impact of this vulnerability. For further assistance or support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for libitext5-java →

Share this vulnerability

FAQ

libitext5-java is a Java PDF library used for creating, manipulating, and comparing PDF documents.

The vulnerability allows an attacker to execute arbitrary commands, potentially leading to remote code execution or unauthorized access to sensitive information.

To fix this vulnerability, upgrade the libitext5-java package to version 5.5.13.2-1+deb11u1 or later.

No, there is no known workaround for this vulnerability. It is crucial to apply the provided fix by upgrading to the patched version of libitext5-java.

You can find more information about this vulnerability in the security tracker page for libitext5-java: https://security-tracker.debian.org/tracker/libitext5-java

Related vulnerabilities

Recent vulnerabilities recorded for libitext5-java.

How To Fix

Minimum fixed version

5.5.13.2-1+deb11u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade libitext5-java

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