Critical Eval Injection Vulnerability in php-gettext Package

php-gettext Updated 03 Oct 2025

Summary

07/02/2017
N/A
No i
Critical
9.8

UBUNTU-CVE-2016-6175: Eval injection vulnerability in php-gettext 1.0.12 and earlier allows remote attackers to execute arbitrary PHP code via a crafted plural forms header. Affects php-gettext versions 1.0.11-1 – 1.0.11-1ubuntu0.1~esm1. No fix is published. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The php-gettext package is a PHP library that facilitates the use of GNU gettext for internationalization and localization of applications. It allows developers to manage translations and plural forms effectively. However, versions 1.0.12 and earlier are vulnerable to a critical eval injection flaw that can be exploited by remote attackers.

Vulnerability Detail

The vulnerability, identified as CVE-2016-6175, stems from an eval injection issue in php-gettext versions 1.0.12 and earlier. This flaw allows remote attackers to execute arbitrary PHP code by crafting a malicious plural forms header. The implications of this vulnerability are severe, as it can lead to unauthorized access, data manipulation, and potentially complete system compromise. The CVSS score for this vulnerability is 9.8, indicating a critical severity level.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, users can avoid using the vulnerable features of the php-gettext package until an update can be applied. This may involve disabling certain functionalities related to plural forms handling.

Conclusion

The eval injection vulnerability in the php-gettext package poses a significant risk to applications utilizing this library. It is crucial for users to update to the latest patched version to safeguard against potential exploits. Utilizing tools like Vulert can further enhance security by monitoring for vulnerabilities in real-time.

See every vulnerability recorded for php-gettext →

Share this vulnerability

FAQ

CVE-2016-6175 is a critical eval injection vulnerability in the php-gettext package that allows remote code execution.

You can check if your application is affected by using the Vulert playground at Vulert Scanner, which analyzes your manifest file for vulnerabilities.

Failing to address this vulnerability can lead to unauthorized access, data breaches, and potential system takeover by attackers.

Yes, a patched version of php-gettext is available. Users should upgrade to version 1.0.12-0.1 or later to mitigate the risk.

Vulert is a service that monitors and alerts for open-source vulnerabilities in software using a manifest file. It provides real-time insights without requiring code access.

Related vulnerabilities

Recent vulnerabilities recorded for php-gettext.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. 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