php7.2-cli - command-line interpreter for the PHP scripting language

Property Value
Distribution Ubuntu 18.04 LTS (Bionic Beaver)
Repository Ubuntu Updates Main amd64
Package filename php7.2-cli_7.2.19-0ubuntu0.18.04.2_amd64.deb
Package name php7.2-cli
Package version 7.2.19
Package release 0ubuntu0.18.04.2
Package architecture amd64
Package type deb
Category php
License -
Maintainer Ubuntu Developers <>
Download size 1.34 MB
Installed size 4.73 MB
This package provides the /usr/bin/php7.2 command interpreter, useful for
testing PHP scripts from a shell or performing general shell scripting tasks.
The following extensions are built in: Core date filter hash libxml openssl
pcntl pcre Reflection session sodium SPL standard zlib.
PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used
open source general-purpose scripting language that is especially suited
for web development and can be embedded into HTML.


Package Version Architecture Repository
php7.2-cli_7.2.19-0ubuntu0.18.04.2_i386.deb 7.2.19 i386 Ubuntu Updates Main
php7.2-cli_7.2.3-1ubuntu1_i386.deb 7.2.3 i386 Ubuntu Main
php7.2-cli_7.2.3-1ubuntu1_amd64.deb 7.2.3 amd64 Ubuntu Main
php7.2-cli - - -


Name Value
libargon2-0 >= 0~20160406~
libc6 >= 2.27
libedit2 >= 2.11-20080614-4
libmagic1 -
libpcre3 >= 2:8.35
libsodium23 >= 1.0.14
libssl1.1 >= 1.1.0
libxml2 >= 2.8.0
mime-support -
php7.2-common = 7.2.19-0ubuntu0.18.04.2
php7.2-json -
php7.2-opcache -
php7.2-readline -
tzdata -
ucf -
zlib1g >= 1:1.1.4


Name Value
php-cli -
phpapi-20170718 -


Type URL
Binary Package php7.2-cli_7.2.19-0ubuntu0.18.04.2_amd64.deb
Source Package php7.2

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install php7.2-cli deb package:
    # sudo apt-get install php7.2-cli




2019-08-12 - Leonidas S. Barbosa <>
php7.2 (7.2.19-0ubuntu0.18.04.2) bionic-security; urgency=medium
* SECURITY UPDATE: Heap-buffer-overflow
- debian/patches/CVE-2019-11041.patch: check Thumbnail.size in order
to avoid an overflow in ext/exif.exif.c and adding test to
- CVE-2019-11041
* SECURITY UPDATE: Heap-buffer-overflow
- debian/patches/CVE-2019-11042.patch: check ByteCount in order to
avoid an overflow in ext/exif/exif.c and adding tests to
- CVE-2019-11042
2019-06-04 - Marc Deslauriers <>
php7.2 (7.2.19-0ubuntu0.18.04.1) bionic-security; urgency=medium
* Updated to 7.2.19 to fix multiple security issues.
- CVE-2019-11036
- CVE-2019-11039
- CVE-2019-11040
* Refreshed patches:
- debian/patches/0039-hack-phpdbg-to-explicitly-link-with-libedit.patch
2019-04-18 - Marc Deslauriers <>
php7.2 (7.2.17-0ubuntu0.18.04.1) bionic-security; urgency=medium
* Updated to 7.2.17 to fix multiple security issues.
- CVE-2019-11034
- CVE-2019-11035
* Refreshed patches:
- debian/patches/0013-Add-support-for-use-of-the-system-timezone-database.patch
* Removed patches included in new version:
- debian/patches/CVE-2019-9637.patch
- debian/patches/CVE-2019-9638-and-CVE-2019-9639-1.patch
- debian/patches/CVE-2019-9638-and-CVE-2019-9639-2.patch
- debian/patches/CVE-2019-9640.patch
- debian/patches/CVE-2019-9641.patch
- debian/patches/CVE-2019-9675.patch
2019-03-22 - Leonidas S. Barbosa <>
php7.2 (7.2.15-0ubuntu0.18.04.2) bionic-security; urgency=medium
* SECURITY UPDATE: Unauthorized users access
- debian/patches/CVE-2019-9637.patch: fix in
- CVE-2019-9637
* SECURITY UPDATE: Invalid read in exif_process_IFD_MAKERNOTE
- debian/patches/CVE-2019-9638-and-CVE-2019-9639-*.patch: fix in
ext/exif/exif.c, added tests in ext/exif/tests/bug77563.jpg,
- CVE-2019-9638
- CVE-2019-9639
* SECURITY UPDATE: Invalid read
- debian/patches/CVE-2019-9640.patch: fix in
ext/exif/exif.c, added tests in ext/exif/tests/bug77540.jpg,
- CVE-2019-9640
* SECURITY UPDATE: Unitialized read
- debian/patches/CVE-2019-9641.patch: fix in ext/exif/exif.c.
- CVE-2019-9641
* SECURITY UPDATE: Buffer overflow
- debian/patches/CVE-2019-9675.patch: fix in
ext/phar/tar.c, added tests in ext/phar/tests/bug71488.phpt,
ext/phar/tests/bug77586,phpt, ext/phar/tests/bug77586/files/*.
2019-02-08 - Mike Salvatore <>
php7.2 (7.2.15-0ubuntu0.18.04.1) bionic-security; urgency=medium
* SECURITY UPDATE: Update to 7.2.15 to fix security issues
- CVE-2018-19935
- CVE-2018-19518
2018-09-13 - Marc Deslauriers <>
php7.2 (7.2.10-0ubuntu0.18.04.1) bionic-security; urgency=medium
* SECURITY UPDATE: Update to 7.2.10 to fix security issues
- CVE-2015-9253
- CVE-2018-14851
- CVE-2018-14883
2018-07-04 - Marc Deslauriers <>
php7.2 (7.2.7-0ubuntu0.18.04.2) bionic-security; urgency=medium
* SECURITY UPDATE: 7.2.7 did not actually include the fix for the
CVE-2018-12882 exif security issue. This release adds backported
patches to fix the issue.
- debian/patches/CVE-2018-12882-1.patch: fix heap use after free in
_php_stream_free in ext/exif/exif.c, ext/exif/tests/bug76409.phpt.
- debian/patches/CVE-2018-12882-2.patch: fix test portability in
- CVE-2018-12882
2018-07-03 - Marc Deslauriers <>
php7.2 (7.2.7-0ubuntu0.18.04.1) bionic-security; urgency=medium
* SECURITY UPDATE: Update to 7.2.7 to fix security issue
- CVE-2018-12882

See Also

Package Description
php7.2-common_7.2.19-0ubuntu0.18.04.2_amd64.deb documentation, examples and common module for PHP
php7.2-curl_7.2.19-0ubuntu0.18.04.2_amd64.deb CURL module for PHP
php7.2-dev_7.2.19-0ubuntu0.18.04.2_amd64.deb Files for PHP7.2 module development
php7.2-gd_7.2.19-0ubuntu0.18.04.2_amd64.deb GD module for PHP
php7.2-gmp_7.2.19-0ubuntu0.18.04.2_amd64.deb GMP module for PHP
php7.2-json_7.2.19-0ubuntu0.18.04.2_amd64.deb JSON module for PHP
php7.2-ldap_7.2.19-0ubuntu0.18.04.2_amd64.deb LDAP module for PHP
php7.2-mysql_7.2.19-0ubuntu0.18.04.2_amd64.deb MySQL module for PHP
php7.2-odbc_7.2.19-0ubuntu0.18.04.2_amd64.deb ODBC module for PHP
php7.2-opcache_7.2.19-0ubuntu0.18.04.2_amd64.deb Zend OpCache module for PHP
php7.2-pgsql_7.2.19-0ubuntu0.18.04.2_amd64.deb PostgreSQL module for PHP
php7.2-pspell_7.2.19-0ubuntu0.18.04.2_amd64.deb pspell module for PHP
php7.2-readline_7.2.19-0ubuntu0.18.04.2_amd64.deb readline module for PHP
php7.2-recode_7.2.19-0ubuntu0.18.04.2_amd64.deb recode module for PHP
php7.2-snmp_7.2.19-0ubuntu0.18.04.2_amd64.deb SNMP module for PHP