Am I affected?
CVE-2023-3247
In PHP versions 8.0.* before 8.0.29, 8.1.* before 8.1.20, 8.2.* before 8.2.7 when using SOAP HTTP Digest Authentication, random value generator was not checked for failure, and was using narrower range of values than it should have. In case of random generator failure, it could lead to a disclosure of 31 bits of uninitialized memory from the client to the server, and it also made easier to a malicious server to guess the client's nonce.
Not in the CISA KEV catalog as of the last sync. That means no confirmed exploitation is listed there, not that it is safe.
Exploit probability (FIRST EPSS): 0.71% chance of exploitation activity in the next 30 days (top 46% of all scored CVEs), scored 2026-11-23. EPSS is a likelihood estimate, not proof of attacks.
Check your PHP version
Fixed versions by branch
| Branch | Affected (php.net) | Fixed in |
|---|---|---|
| PHP 8.2 | PHP 8.2 only, 8.2.0 (including) to 8.2.7 (excluding) | 8.2.7 |
| PHP 8.1 | PHP 8.1 only, 8.1.0 (including) to 8.1.20 (excluding) | 8.1.20 |
| PHP 8.0 | PHP 8.0 only, 8.0.0 (including) to 8.0.29 (excluding) | 8.0.29 |
"Fixed in" is shown only when the source gives an exact upper bound. Any later patch in the same branch also has the fix. Linux distributions (Ubuntu, Debian, RHEL) often backport fixes without changing the PHP version number.
Related CVEs
Other PHP CVEs that NVD lists for the same branches.
- CVE-2023-3824 Critical 9.8 · PHP 8.2, 8.1, 8.0 · 2023-08-11
- CVE-2023-0568 High 8.1 · PHP 8.2, 8.1, 8.0 · 2023-02-16
- CVE-2023-3823 High 7.5 · PHP 8.2, 8.1, 8.0 · 2023-08-11
- CVE-2023-0662 High 7.5 · PHP 8.2, 8.1, 8.0 · 2023-02-16
- CVE-2023-0567 Medium 6.2 · PHP 8.2, 8.1, 8.0 · 2023-03-01
- CVE-2026-109618 Critical 9.8 · PHP 8.2, 8.1, 8.0 · 2026-10-21
Questions
- Which PHP versions are affected by CVE-2023-3247?
- php.net lists these affected ranges: PHP 8.2 only, 8.2.0 (including) to 8.2.7 (excluding); PHP 8.1 only, 8.1.0 (including) to 8.1.20 (excluding); PHP 8.0 only, 8.0.0 (including) to 8.0.29 (excluding).
- Which PHP version fixes CVE-2023-3247?
- According to php.net, the fix is in PHP 8.2.7, 8.1.20, 8.0.29 (upgrade to that release or any later patch in the same branch).
- Does a version check prove my server is safe from CVE-2023-3247?
- No. The SAPI, web server, operating system, loaded extensions and configuration change whether a bug can be reached, and Linux distributions often backport fixes without changing the upstream version number.
Sources: CVE-2023-3247 on NIST NVD and the php.net ChangeLog. NVD data synced 2026-11-24T03:47:46.548Z. See all PHP CVEs in the CVE explorer.