Description
The plural form formula in ngettext family of calls in php-gettext before 1.0.12 allows remote attackers to execute arbitrary code.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | php-gettext | before 1.0.12 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | php-gettext | 1.0.12-0.1 | — |
| Debian 14 | phpmyadmin | 4:4.6.6-1 | — |
| Debian 13 | phpmyadmin | 4:4.6.6-1 | — |
| Debian 12 | php-gettext | 1.0.12-0.1 | — |
| Debian 12 | phpmyadmin | 4:4.6.6-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | php-gettext | 1.0.11-2ubuntu0.1~esm1 | USN-4779-1 |
| Ubuntu Pro 14.04 LTS | php-gettext | 1.0.11-1ubuntu0.1~esm1 | USN-4779-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | phpMyAdmin | 5.1.1-1.2 | openSUSE-SU-2024:11171-1 |
Advisories 2
- USN-4779-1 php-gettext vulnerability Ubuntu Security Notices (USN) · Jun 29, 2026
- openSUSE-SU-2024:11171-1 phpMyAdmin-5.1.1-1.2 on GA media SUSE / openSUSE Security Updates · May 7, 2025
References
- 95754 vdb-entry
- openSUSE-SU-2017:0372 vendor-advisory
- [oss-security] 20170118 Re: CVE Request: php-gettext: Arbitrary code execution in select_string, ngettext and npgettext count parameter mailing-list
- https://bugzilla.redhat.com/show_bug.cgi?id=1367462
- https://lwn.net/Alerts/708838/
- [Full Disclosure] 20160815 php-gettext php code execution in select_string, ngettext, npgettext count parameter <1.0.12 mailing-list
- https://launchpad.net/php-gettext/trunk/1.0.12