In PHP versions 7.2.x below 7.2.26, 7.3.x below 7.3.13 and 7.4.0 on Windows, PHP link() function 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 that the code is allowed to access.
Branches: PHP 7.4, PHP 7.3, PHP 7.2 · Check: 7.4.0, 7.3.13, 7.2.26
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 allocated buffer. This may lead to information disclosure or crash.
Branches: PHP 7.3, PHP 7.2, PHP 7.1 · Check: 7.3.7, 7.2.20, 7.1.30
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 allocated buffer. This may lead to information disclosure or crash.
Branches: PHP 7.3, PHP 7.2, PHP 7.1 · Check: 7.3.7, 7.2.20, 7.1.30
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 is an Invalid Read in exif_process_SOFn.
Branches: PHP 7.3, PHP 7.2, PHP 7.1 · Check: 7.3.2, 7.2.15, 7.1.26
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 is an uninitialized read in exif_process_IFD_in_MAKERNOTE because of mishandling the data_len variable.
Branches: PHP 7.3, PHP 7.2, PHP 7.1 · Check: 7.3.2, 7.2.15, 7.1.26
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 is an uninitialized read in exif_process_IFD_in_MAKERNOTE because of mishandling the maker_note->offset relationship to value_len.
Branches: PHP 7.3, PHP 7.2, PHP 7.1 · Check: 7.3.2, 7.2.15, 7.1.26
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() across filesystems is implemented, it is possible that file being renamed is briefly available with wrong permissions while the rename is ongoing, thus enabling unauthorized users to access the data.
Branches: PHP 7.3, PHP 7.2, PHP 7.1 · Check: 7.3.2, 7.2.15, 7.1.26
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_decode() can allow a hostile XMLRPC server to cause PHP to read memory outside of allocated areas in base64_decode_xmlrpc in ext/xmlrpc/libxmlrpc/base64.c.
Branches: PHP 7.3, PHP 7.2, PHP 7.1, PHP 7.0, PHP 5.6 · Check: 7.3.0, 7.2.13, 7.1.25
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 a DNS response, which can allow a hostile DNS server to cause PHP to misuse memcpy, leading to read operations going past the buffer allocated for DNS data. This affects php_parserr in ext/standard/dns.c for DNS_CAA and DNS_ANY queries.
Branches: PHP 7.3, PHP 7.2, PHP 7.1, PHP 7.0 · Check: 7.3.1, 7.2.13, 7.1.25
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 reading functions may allow an attacker to read allocated or unallocated memory past the actual data when trying to parse a .phar file. This is related to phar_parse_pharfile in ext/phar/phar.c.
Branches: PHP 7.2, PHP 7.1, PHP 7.0, PHP 5.6 · Check: 7.2.12, 7.1.24, 7.0.32
gdImageColorMatch in gd_color_match.c in the GD Graphics Library (aka LibGD) 2.2.5, as used in the imagecolormatch function 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, has a heap-based buffer overflow. This can be exploited by an attacker who is able to trigger imagecolormatch calls with crafted image data.
Branches: PHP 7.3, PHP 7.2, PHP 7.1, PHP 7.0, PHP 5.6 · Check: 7.3.0, 7.2.13, 7.1.25