[CLSA-2026:1788336108] Fix CVE(s): CVE-2019-9641
Type:
security
Severity:
Critical
Release date:
2026-09-02 08:01:58 UTC
Description:
* SECURITY UPDATE: uninitialized read in exif_process_IFD_in_TIFF - debian/patches/php-5.6-CVE-2019-9641.patch: backport upstream commit 5e824a88d073 ("Fix integer overflows on 32-bits", PHP bug #77509) in ext/exif/exif.c. exif_process_IFD_in_TIFF() computed dir_offset+2, dir_offset+dir_size and dir_offset+ifd_size before comparing the sum against ImageInfo->FileSize. dir_offset comes from php_ifd_get32u() and is attacker-controlled up to 0xFFFFFFFF, so where size_t is 32 bits the additions wrap, the range checks pass, php_stream_seek() lands past EOF and php_stream_read() returns nothing; the 2-byte section that exif_file_sections_add() allocated with safe_emalloc() is never zeroed, so php_ifd_get16u() reads uninitialised heap memory that exif_read_data()/exif_thumbnail() can disclose. Each addition is rewritten as a subtraction from FileSize with the matching underflow guard, and num_entries is widened to size_t before being scaled by 12. - Note: byte-identical to upstream, only the hunk line numbers differ. Upstream ships no test for this commit, so none is added. The 5.6 line ended at 5.6.40 on 2019-01-10, before the 2019-03-01 fix, so no 5.6 release ever carried it; the sibling 7.1.27 EXIF fixes for #77540 and #77563/#77659 were backported in 5.6.40-9 but #77509 was skipped. - CVE-2019-9641
CVEs fixed:
Updated packages:
  • alt-php56_5.6.40-141_amd64.deb
    sha:0ef83226e704881b9fe4c8f9c24d4f81c55667bb
  • alt-php56-bcmath_5.6.40-141_amd64.deb
    sha:fc4e00f80610f878a27e9b276bd5186d0899e0fc
  • alt-php56-cli_5.6.40-141_amd64.deb
    sha:ca600df32b1db4edd09f6e576ddc8471158a9ebb
  • alt-php56-common_5.6.40-141_amd64.deb
    sha:6a9fd9fb91947336f26214311761b61b9319edac
  • alt-php56-dba_5.6.40-141_amd64.deb
    sha:96c46d86f54672e1d5a744276080d60431fa26dd
  • alt-php56-dbx_5.6.40-141_amd64.deb
    sha:c1860fb6bb7122f00c89ef99eaba4d9db4d1bca6
  • alt-php56-dev_5.6.40-141_amd64.deb
    sha:ebd1d54b486e3e790b7dd801b538b8d6d76fbf96
  • alt-php56-enchant_5.6.40-141_amd64.deb
    sha:322c55a53e8c9b469f4da0d2108a9bd29da299b8
  • alt-php56-firebird_5.6.40-141_amd64.deb
    sha:4435d796bcf93776b44a41b105a5ddd61b767c8b
  • alt-php56-gd_5.6.40-141_amd64.deb
    sha:88c464035bd2ff437a246db22c55134470352c03
  • alt-php56-imap_5.6.40-141_amd64.deb
    sha:78191c637733613323c9affafb5cf4627afa61ed
  • alt-php56-intl_5.6.40-141_amd64.deb
    sha:e8b311a21d0f71f1be33cadd220290c9ed322141
  • alt-php56-ldap_5.6.40-141_amd64.deb
    sha:b6a9d1722ea1f7d2bec43bd7f568ca57b7ac1de1
  • alt-php56-mbstring_5.6.40-141_amd64.deb
    sha:2f0d91616f8ffee013ad79b61279d41c3567c4b6
  • alt-php56-mcrypt_5.6.40-141_amd64.deb
    sha:36c7d0165b6f5af84c96078d6c4de7696fb4d4ac
  • alt-php56-mysqlnd_5.6.40-141_amd64.deb
    sha:71064600eb4e4c9bbfc8b32c890262e3fc94bae1
  • alt-php56-odbc_5.6.40-141_amd64.deb
    sha:2e87f9ab16b334f668fffbb4f19f20362ca83ed3
  • alt-php56-opcache_5.6.40-141_amd64.deb
    sha:253bff218e668801b6bce4c0563ba280c19e76e6
  • alt-php56-pdo_5.6.40-141_amd64.deb
    sha:405f33a01389c4ec252b932709bc54cd43b1f127
  • alt-php56-pgsql_5.6.40-141_amd64.deb
    sha:e0ee17e4c4560cd2886d32457dff72ee8bb13059
  • alt-php56-php-fpm_5.6.40-141_amd64.deb
    sha:5174a60acd97a07f2903d81751a1b4b5bad0a9fe
  • alt-php56-process_5.6.40-141_amd64.deb
    sha:43b61f5f519d761e8b324531287ba6aef4f0e8c3
  • alt-php56-pspell_5.6.40-141_amd64.deb
    sha:8492b7468facc3221ece2bd80067e672d2a0ee84
  • alt-php56-recode_5.6.40-141_amd64.deb
    sha:529c0d61f50ff3a783bb87b777953a259362d98e
  • alt-php56-snmp_5.6.40-141_amd64.deb
    sha:096a19241e09939125278cffcbbf0acf83fe4443
  • alt-php56-soap_5.6.40-141_amd64.deb
    sha:10eb420b76f919e42cb6dc0563226017fcf462b3
  • alt-php56-sybase_5.6.40-141_amd64.deb
    sha:4371bca1776d255ec5167e84464e07eac7da8cea
  • alt-php56-tidy_5.6.40-141_amd64.deb
    sha:ac76194b5237e59d259a2d22f3c13d688e5c9fa4
  • alt-php56-xml_5.6.40-141_amd64.deb
    sha:0e5e7477d6fc9390d2caad3ac302425856aa3b29
  • alt-php56-xmlrpc_5.6.40-141_amd64.deb
    sha:3869cbe35c2ba1332f49e403938968c190cd5ae4
Notes:
This page is generated automatically and has not been checked for errors. For clarification or corrections please contact the CloudLinux Packaging Team.