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…
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.
A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().
https://cwe.mitre.org/data/definitions/122.html →Open in CWE collection →The product reads from a buffer using buffer access mechanisms such as indexes or pointers that reference memory locations after the targeted buffer.
https://cwe.mitre.org/data/definitions/126.html →Open in CWE collection →This attack forces an integer variable to go out of range. The integer variable is often used as an offset such as size of memory allocation or similarly. The attacker would typically control the value of such variable and try to get it out of range. For instance the integer in question is incremented past the maximum possible value, it may wrap to become a very small, or negative number, therefore providing a very incorrect value which can lead to unexpected behavior. At worst the attacker can execute arbitrary code.
https://capec.mitre.org/data/definitions/92.html →Open in CAPEC collection →| Product | Vendor | Status |
|---|---|---|
| php | Tracked | |
| php5 | Tracked | |
| php7 | Tracked | |
| php7-devel | Tracked | |
| php7-libs | Tracked | |
| php7-mysqlnd | Tracked | |
| php7.0 | Tracked | |
| php7.0 | Tracked | |
| php7.0 | Tracked | |
| php7.0 | Tracked | |
| php7.2 | Tracked | |
| php7.2 | Tracked | |
| php7.2 | Tracked | |
| php7.3 | Tracked | |
| rh-php71-php | Tracked | |
| rh-php71-php | Tracked | |
| rh-php71-php | Tracked | |
| rh-php71-php | Tracked | |
| rh-php72-php | Tracked | |
| rh-php72-php | Tracked |