sapi/fpm/fpm/fpm_log.c in PHP before 5.5.31, 5.6.x before 5.6.17, and 7.x before 7.0.2 misinterprets the semantics of the snprintf return value, which allows attackers to obtain sensitive information from process memory or cause a denial of service (out-of-bounds read and buffer overflow) via a long string, as demonstrated by a long URI in a configuration with custom REQUEST_URI logging.
2016-08-07T10:59:10.947
2025-04-12T10:46:40.837
Deferred
CVSSv3.0: 9.1 (CRITICAL)
AV:N/AC:L/Au:N/C:P/I:N/A:P
10.0
4.9
Type | Vendor | Product | Version/Range | Vulnerable? |
---|---|---|---|---|
Application | php | php | ≤ 5.5.30 | Yes |
Application | php | php | 5.6.0 | Yes |
Application | php | php | 5.6.0 | Yes |
Application | php | php | 5.6.0 | Yes |
Application | php | php | 5.6.0 | Yes |
Application | php | php | 5.6.0 | Yes |
Application | php | php | 5.6.0 | Yes |
Application | php | php | 5.6.0 | Yes |
Application | php | php | 5.6.0 | Yes |
Application | php | php | 5.6.0 | Yes |
Application | php | php | 5.6.1 | Yes |
Application | php | php | 5.6.2 | Yes |
Application | php | php | 5.6.3 | Yes |
Application | php | php | 5.6.4 | Yes |
Application | php | php | 5.6.5 | Yes |
Application | php | php | 5.6.6 | Yes |
Application | php | php | 5.6.7 | Yes |
Application | php | php | 5.6.8 | Yes |
Application | php | php | 5.6.9 | Yes |
Application | php | php | 5.6.10 | Yes |
Application | php | php | 5.6.11 | Yes |
Application | php | php | 5.6.12 | Yes |
Application | php | php | 5.6.13 | Yes |
Application | php | php | 5.6.14 | Yes |
Application | php | php | 5.6.15 | Yes |
Application | php | php | 5.6.16 | Yes |
Application | php | php | 7.0.0 | Yes |
Application | php | php | 7.0.1 | Yes |