Skip to content
OpenAdvisories
Critical 1 exploited CVE SUSE-SU-2022:4067-1 52 CVEs

Security update for php7

Published Nov 18, 2022 · Updated Feb 4, 2026

Summary

This update for php7 fixes the following issues:

- Version update to 7.2.34 [jsc#SLE-23639]

- CVE-2022-37454: Fixed SHA-3 buffer overflow (bsc#1204577).
- Fix integer overflow in PHP_SHA3##bits (bsc#1204577#c26).

Fixed packages 11

ReleasePackageFixed in
SUSE · Enterprise Storage 6 php7 7.2.34-150000.4.103.1
openSUSE · Leap 15.4 php7 7.2.34-150000.4.103.1
SUSE · SLE HPC 15 SP1 Linux Enterprise High Performance Computing 15 SP1-ESPOS php7 7.2.34-150000.4.103.1
SUSE · SLE HPC 15 SP1 Linux Enterprise High Performance Computing 15 SP1-LTSS php7 7.2.34-150000.4.103.1
SUSE · SLE HPC 15 Linux Enterprise High Performance Computing 15-ESPOS php7 7.2.34-150000.4.103.1
SUSE · SLE HPC 15 Linux Enterprise High Performance Computing 15-LTSS php7 7.2.34-150000.4.103.1
SUSE · SLES 15 SP1 Linux Enterprise Server 15 SP1-BCL php7 7.2.34-150000.4.103.1
SUSE · SLES 15 SP1 Linux Enterprise Server 15 SP1-LTSS php7 7.2.34-150000.4.103.1
SUSE · SLES 15 Linux Enterprise Server 15-LTSS php7 7.2.34-150000.4.103.1
SUSE · SLES for SAP 15 Linux Enterprise Server for SAP Applications 15 php7 7.2.34-150000.4.103.1
SUSE · SLES for SAP 15 SP1 Linux Enterprise Server for SAP Applications 15 SP1 php7 7.2.34-150000.4.103.1

Vulnerabilities 52

  • High 8.7
    CVE-2019-11043 Exploited · Ransomware Public exploit Scanner template EPSS 100%

    Underflow in PHP-FPM can lead to RCE

    In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it is possible to cause FPM module to write past allocated buffers into the space reserved for FCGI protocol data, thus opening the possibilit…

    KEV Mar 25, 2022
  • Critical 9.8

    Buffer overflow in sponge queue functions

    The Keccak XKCP SHA-3 reference implementation before fdc6fef has an integer overflow and resultant buffer overflow that allows attackers to execute arbitrary code or eliminate expected cryptographic properties. This occurs in the sponge function interface.

  • High 8.1

    Freeing unallocated memory in php_pgsql_free_params()

    In PHP versions 7.4.x below 7.4.30, 8.0.x below 8.0.20, and 8.1.x below 8.1.7, when using Postgres database extension, supplying invalid parameters to the parametrized query may lead to PHP attempting to free memory using uninitialized data as pointers. This …

  • High 7.8

    PHP-FPM memory access in root process leading to privilege escalation

    In PHP versions 7.3.x up to and including 7.3.31, 7.4.x below 7.4.25 and 8.0.x below 8.0.12, when running PHP FPM SAPI with main FPM daemon process running as root and child worker processes running as lower-privileged users, it is possible for the child proc…

  • High 7.5

    Null Pointer Dereference in PHP Session Upload Progress

    In PHP versions 7.2.x below 7.2.28, 7.3.x below 7.3.15 and 7.4.x below 7.4.3, when using file upload functionality, if upload progress tracking is enabled, but session.upload_progress.cleanup is set to 0 (disabled), and the file upload fails, the upload proce…

  • High 7.5
    CVE-2022-31626 Public exploit EPSS 58%

    mysqlnd/pdo password buffer overflow

    In PHP versions 7.4.x below 7.4.30, 8.0.x below 8.0.20, and 8.1.x below 8.1.7, when pdo_mysql extension with mysqlnd driver, if the third party is allowed to supply host to connect to and the password for the connection, password of excessive length can trigg…

  • Medium 6.5

    OOB read in php_strip_tags_ex

    When using fgetss() function to read data with stripping tags, in PHP versions 7.2.x below 7.2.27, 7.3.x below 7.3.14 and 7.4.x below 7.4.2 it is possible to supply data that will cause this function to read past the allocated buffer. This may lead to informa…

  • Medium 6.5

    global buffer-overflow in mbfl_filt_conv_big5_wchar

    When using certain mbstring functions to convert multibyte encodings, in PHP versions 7.2.x below 7.2.27, 7.3.x below 7.3.14 and 7.4.x below 7.4.2 it is possible to supply data that will cause function mbfl_filt_conv_big5_wchar to read past the allocated buff…

  • Medium 6.5

    Use-of-uninitialized-value in exif

    In PHP versions 7.2.x below 7.2.9, 7.3.x below 7.3.16 and 7.4.x below 7.4.4, while parsing EXIF data with exif_read_data() function, it is possible for malicious data to cause PHP to read one byte of uninitialized memory. This could potentially lead to inform…

  • Medium 6.5
    CVE-2022-31629 Public exploit EPSS 50%

    $_COOKIE names string replacement (. -> _): cookie integrity vulnerabilities

    In PHP versions before 7.4.31, 8.0.24 and 8.1.11, the vulnerability enables network and same-site attackers to set a standard insecure cookie in the victim's browser which is treated as a `__Host-` or `__Secure-` cookie by PHP applications.

  • Medium 5.5

    Files added to tar with Phar::buildFromIterator have all-access permissions

    In PHP versions 7.2.x below 7.2.28, 7.3.x below 7.3.15 and 7.4.x below 7.4.3, when creating PHAR archive using PharData::buildFromIterator() function, the files are added with default permissions (0666, or all access) even if the original files on the filesys…

  • Medium 5.4

    Wrong ciphertext/tag in AES-CCM encryption for a 12 bytes IV

    In PHP versions 7.2.x below 7.2.34, 7.3.x below 7.3.23 and 7.4.x below 7.4.11, when AES-CCM mode is used with openssl_encrypt() function with 12 bytes IV, only first 7 bytes of the IV is actually used. This can lead to both decreased security and incorrect en…

  • Medium 5.3

    Temporary files are not cleaned after OOM when parsing HTTP request data

    In PHP versions 7.2.x below 7.2.31, 7.3.x below 7.3.18 and 7.4.x below 7.4.6, when HTTP file uploads are allowed, supplying overly long filenames or field names could lead PHP engine to try to allocate oversized memory storage, hit the memory limit and stop p…

  • Medium 5.3

    get_headers() silently truncates after a null byte

    In PHP versions 7.2.x below 7.2.29, 7.3.x below 7.3.16 and 7.4.x below 7.4.4, while using get_headers() with user-supplied URL, if the URL contains zero (\0) character, the URL will be silently truncated at it. This may cause some software to make incorrect a…

  • Medium 5.3

    FILTER_VALIDATE_URL accepts URLs with invalid userinfo

    In PHP versions 7.3.x below 7.3.26, 7.4.x below 7.4.14 and 8.0.0, when validating URL with functions like filter_var($url, FILTER_VALIDATE_URL), PHP will accept an URL with invalid password as valid URL. This may lead to functions that rely on URL being valid…

  • Medium 5.3

    Null Dereference in SoapClient

    In PHP versions 7.3.x below 7.3.27, 7.4.x below 7.4.15 and 8.0.x below 8.0.2, when using SOAP extension to connect to a SOAP server, a malicious SOAP server could return malformed XML data as a response that would cause PHP to access a null pointer and thus c…

  • Medium 5.3
    CVE-2021-21707 Public exploit EPSS 25%

    Special characters break path parsing in XML functions

    In PHP versions 7.3.x below 7.3.33, 7.4.x below 7.4.26 and 8.0.x below 8.0.13, certain XML parsing functions, like simplexml_load_file(), URL-decode the filename passed to them. If that filename contains URL-encoded NUL character, this may cause the function …

  • Medium 5.0

    Multiple vulnerabilities in Firebird client extension

    In PHP versions 7.3.x below 7.3.29, 7.4.x below 7.4.21 and 8.0.x below 8.0.8, when using Firebird PDO driver extension, a malicious database server could cause crashes in various database functions, such as getAttribute(), execute(), fetch() and others by ret…

  • Medium 4.8

    Heap over-read in PHP EXIF extension

    When processing certain files, PHP EXIF extension in versions 7.1.x below 7.1.28, 7.2.x below 7.2.17 and 7.3.x below 7.3.4 can be caused to read past allocated buffer in exif_process_IFD_TAG function. This may lead to information disclosure or crash.

  • Medium 4.8

    Heap over-read in PHP EXIF extension

    When processing certain files, PHP EXIF extension in versions 7.1.x below 7.1.28, 7.2.x below 7.2.17 and 7.3.x below 7.3.4 can be caused to read past allocated buffer in exif_iif_add_value function. This may lead to information disclosure or crash.

  • Medium 4.8

    Heap over-read in PHP EXIF extension

    When processing certain files, PHP EXIF extension in versions 7.1.x below 7.1.29, 7.2.x below 7.2.18 and 7.3.x below 7.3.5 can be caused to read past allocated buffer in exif_process_IFD_TAG function. This may lead to information disclosure or crash.

  • Medium 4.8

    Heap buffer overflow in EXIF extension

    When PHP EXIF extension is parsing EXIF information from an image, e.g. via exif_read_data() function, in PHP versions 7.1.x below 7.1.30, 7.2.x below 7.2.19 and 7.3.x below 7.3.6 it is possible to supply it with data what will cause it to read past the alloc…

  • Medium 4.8

    heap-buffer-overflow on exif_scan_thumbnail in EXIF extension

    When PHP EXIF extension is parsing EXIF information from an image, e.g. via exif_read_data() function, in PHP versions 7.1.x below 7.1.31, 7.2.x below 7.2.21 and 7.3.x below 7.3.8 it is possible to supply it with data what will cause it to read past the alloc…

  • Medium 4.8

    heap-buffer-overflow on exif_process_user_comment in EXIF extension

    When PHP EXIF extension is parsing EXIF information from an image, e.g. via exif_read_data() function, in PHP versions 7.1.x below 7.1.31, 7.2.x below 7.2.21 and 7.3.x below 7.3.8 it is possible to supply it with data what will cause it to read past the alloc…

  • Medium 4.8

    Heap-buffer-overflow READ in exif

    When PHP EXIF extension is parsing EXIF information from an image, e.g. via exif_read_data() function, in PHP versions 7.2.x below 7.2.26, 7.3.x below 7.3.13 and 7.4.0 it is possible to supply it with data what will cause it to read past the allocated buffer.…

  • Medium 4.8

    Use-after-free in exif parsing under memory sanitizer

    When PHP EXIF extension is parsing EXIF information from an image, e.g. via exif_read_data() function, in PHP versions 7.2.x below 7.2.26, 7.3.x below 7.3.13 and 7.4.0 it is possible to supply it with data what will cause it to read past the allocated buffer.…

  • Medium 4.8

    Use of freed hash key in the phar_parse_zipfile function

    In PHP versions 7.2.x below 7.2.33, 7.3.x below 7.3.21 and 7.4.x below 7.4.9, while processing PHAR files using phar extension, phar_parse_zipfile could be tricked into accessing freed memory, which could lead to a crash or information disclosure.

  • Medium 4.3

    PHP parses encoded cookie names so malicious `__Host-` cookies can be sent

    In PHP versions 7.2.x below 7.2.34, 7.3.x below 7.3.23 and 7.4.x below 7.4.11, when PHP is processing incoming HTTP cookie values, the cookie names are url-decoded. This may lead to cookies with prefixes like __Host confused with cookies that decode to such p…

  • Medium 4.3

    Incorrect URL validation in FILTER_VALIDATE_URL

    In PHP versions 7.3.x below 7.3.29, 7.4.x below 7.4.21 and 8.0.x below 8.0.8, when using URL validation functionality via filter_var() function with FILTER_VALIDATE_URL parameter, an URL with invalid password field can be accepted as valid. This can lead to t…

  • Medium 4.2

    Out-of-bounds read in iconv.c

    Function iconv_mime_decode_headers() in PHP versions 7.1.x below 7.1.30, 7.2.x below 7.2.19 and 7.3.x below 7.3.6 may perform out-of-buffer read due to integer overflow when parsing MIME headers. This may lead to information disclosure or crash.

  • Low 3.7

    DirectoryIterator class silently truncates after a null byte

    In PHP versions 7.2.x below 7.2.26, 7.3.x below 7.3.13 and 7.4.0, PHP DirectoryIterator class accepts filenames with embedded \0 byte and treats them as terminating at that byte. This could lead to security vulnerabilities, e.g. in applications checking paths…

  • Low 3.7

    Buffer underflow in bc_shift_addsub

    In PHP versions 7.2.x below 7.2.26, 7.3.x below 7.3.13 and 7.4.0, PHP bcmath extension functions on some systems, including Windows, can be tricked into reading beyond the allocated space by supplying it with string containing characters that are identified a…

  • Low 2.3

    phar wrapper can occur dos when using quine gzip file

    In PHP versions before 7.4.31, 8.0.24 and 8.1.11, the phar uncompressor code would recursively uncompress "quines" gzip files, resulting in an infinite loop.

  • Unscored —

    An issue was discovered in PHP 7.3.x before 7.3.0alpha3, 7.2.x before 7.2.8, and before 7.1.20. The php-fpm master proc…

  • Unscored —

    The zend_string_extend function in Zend/zend_string.h in PHP through 7.1.5 does not prevent changes to string objects t…

  • Unscored —

    PHP 7.x through 7.1.5 allows remote attackers to cause a denial of service (buffer overflow and application crash) or p…

  • Unscored —

    Libgd version 2.2.5 contains a Double Free Vulnerability vulnerability in gdImageBmpPtr Function that can result in Rem…

  • Unscored —

    exif_read_from_impl in ext/exif/exif.c in PHP 7.2.x through 7.2.7 allows attackers to trigger a use-after-free (in exif…

  • Unscored —

    exif_process_IFD_in_MAKERNOTE in ext/exif/exif.c in PHP before 5.6.37, 7.0.x before 7.0.31, 7.1.x before 7.1.20, and 7.…

  • Unscored —
    CVE-2018-17082 Scanner template

    The Apache2 component in PHP before 5.6.38, 7.0.x before 7.0.32, 7.1.x before 7.1.22, and 7.2.x before 7.2.10 allows XS…

  • Unscored —

    ext/imap/php_imap.c in PHP 5.x and 7.x before 7.3.0 allows remote attackers to cause a denial of service (NULL pointer …

  • Unscored —

    In PHP before 5.6.39, 7.x before 7.0.33, 7.1.x before 7.1.25, and 7.2.x before 7.2.13, a buffer over-read in PHAR readi…

  • Unscored —
    CVE-2019-9020 EPSS 10%

    An issue was discovered in PHP before 5.6.40, 7.x before 7.1.26, 7.2.x before 7.2.14, and 7.3.x before 7.3.1. Invalid i…

  • Unscored —
    CVE-2019-9021 EPSS 10%

    An issue was discovered in PHP before 5.6.40, 7.x before 7.1.26, 7.2.x before 7.2.14, and 7.3.x before 7.3.1. A heap-ba…

  • Unscored —

    An issue was discovered in PHP 7.x before 7.1.26, 7.2.x before 7.2.14, and 7.3.x before 7.3.2. dns_get_record misparses…

  • Unscored —

    An issue was discovered in PHP before 5.6.40, 7.x before 7.1.26, 7.2.x before 7.2.14, and 7.3.x before 7.3.1. A number …

  • Unscored —

    An issue was discovered in PHP before 5.6.40, 7.x before 7.1.26, 7.2.x before 7.2.14, and 7.3.x before 7.3.1. xmlrpc_de…

  • Unscored —

    An issue was discovered in PHP before 7.1.27, 7.2.x before 7.2.16, and 7.3.x before 7.3.3. Due to the way rename() acro…

  • Unscored —

    An issue was discovered in the EXIF component in PHP before 7.1.27, 7.2.x before 7.2.16, and 7.3.x before 7.3.3. There …

  • Unscored —

    An issue was discovered in the EXIF component in PHP before 7.1.27, 7.2.x before 7.2.16, and 7.3.x before 7.3.3. There …

  • Unscored —

    An issue was discovered in the EXIF component in PHP before 7.1.27, 7.2.x before 7.2.16, and 7.3.x before 7.3.3. There …

  • Unscored —

    An issue was discovered in PHP 7.x before 7.1.27 and 7.3.x before 7.3.3. phar_tar_writeheaders_int in ext/phar/tar.c ha…

References

  • report
    https://bugzilla.suse.com/1204577
  • web
    https://www.suse.com/security/cve/CVE-2015-9253
  • web
    https://www.suse.com/security/cve/CVE-2017-8923
  • web
    https://www.suse.com/security/cve/CVE-2017-9120
  • web
    https://www.suse.com/security/cve/CVE-2018-1000222
  • web
    https://www.suse.com/security/cve/CVE-2018-12882
  • web
    https://www.suse.com/security/cve/CVE-2018-14851
  • web
    https://www.suse.com/security/cve/CVE-2018-17082
  • web
    https://www.suse.com/security/cve/CVE-2018-19935
  • web
    https://www.suse.com/security/cve/CVE-2018-20783
  • web
    https://www.suse.com/security/cve/CVE-2019-11034
  • web
    https://www.suse.com/security/cve/CVE-2019-11035
  • web
    https://www.suse.com/security/cve/CVE-2019-11036
  • web
    https://www.suse.com/security/cve/CVE-2019-11039
  • web
    https://www.suse.com/security/cve/CVE-2019-11040
  • web
    https://www.suse.com/security/cve/CVE-2019-11041
  • web
    https://www.suse.com/security/cve/CVE-2019-11042
  • web
    https://www.suse.com/security/cve/CVE-2019-11043
  • web
    https://www.suse.com/security/cve/CVE-2019-11045
  • web
    https://www.suse.com/security/cve/CVE-2019-11046
  • web
    https://www.suse.com/security/cve/CVE-2019-11047
  • web
    https://www.suse.com/security/cve/CVE-2019-11048
  • web
    https://www.suse.com/security/cve/CVE-2019-11050
  • web
    https://www.suse.com/security/cve/CVE-2019-9020
  • web
    https://www.suse.com/security/cve/CVE-2019-9021
  • web
    https://www.suse.com/security/cve/CVE-2019-9022
  • web
    https://www.suse.com/security/cve/CVE-2019-9023
  • web
    https://www.suse.com/security/cve/CVE-2019-9024
  • web
    https://www.suse.com/security/cve/CVE-2019-9637
  • web
    https://www.suse.com/security/cve/CVE-2019-9638
  • web
    https://www.suse.com/security/cve/CVE-2019-9640
  • web
    https://www.suse.com/security/cve/CVE-2019-9641
  • web
    https://www.suse.com/security/cve/CVE-2019-9675
  • web
    https://www.suse.com/security/cve/CVE-2020-7059
  • web
    https://www.suse.com/security/cve/CVE-2020-7060
  • web
    https://www.suse.com/security/cve/CVE-2020-7062
  • web
    https://www.suse.com/security/cve/CVE-2020-7063
  • web
    https://www.suse.com/security/cve/CVE-2020-7064
  • web
    https://www.suse.com/security/cve/CVE-2020-7066