# CVE-2023-3247: Missing error check and insufficient random bytes in HTTP Digest authentication for SOAP

- Severity: Low 2.6 (CVSS:3.1, scored by php) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.71%, higher than 54% of CVEs (2026-12-01)
- Published: 2023-07-22T04:17:09.896Z
- Modified: 2026-09-08T08:48:18.222Z
- Also known as: BIT-LIBPHP-2023-3247, BIT-PHP-2023-3247, BIT-PHP-MIN-2023-3247, GHSA-76gg-c692-v2mw
- Weaknesses: CWE-252, CWE-330
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: php

## Description

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.

(As written by CVE List.)

## Affected

- PHP Group PHP: from 8.0.* before 8.0.29; from 8.1.* before 8.1.20; from 8.2.* before 8.2.7
- php php: from 8.0.0 before 8.0.29; from 8.1.0 before 8.1.20; from 8.2.0 before 8.2.7
- libphp (Bitnami): from 8.0.0 before 8.0.29; from 8.1.0 before 8.1.20; from 8.2.0 before 8.2.7
- php (Bitnami): from 8.0.0 before 8.0.29; from 8.1.0 before 8.1.20; from 8.2.0 before 8.2.7
- php-min (Bitnami): from 8.0.0 before 8.0.29; from 8.1.0 before 8.1.20; from 8.2.0 before 8.2.7

## Every score

- php: CVSS:3.1 2.6 Low `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/php/php-src/security/advisories/GHSA-76gg-c692-v2mw> (advisory, patch, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-3247> (web)

## Sources

- CVE List: [CVE-2023-3247](https://www.cve.org/CVERecord?id=CVE-2023-3247), CVE Terms of Use, modified 2024-10-15
- NVD: [CVE-2023-3247](https://nvd.nist.gov/vuln/detail/CVE-2023-3247), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-LIBPHP-2023-3247](https://osv.dev/vulnerability/BIT-LIBPHP-2023-3247), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-PHP-2023-3247](https://osv.dev/vulnerability/BIT-PHP-2023-3247), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-PHP-MIN-2023-3247](https://osv.dev/vulnerability/BIT-PHP-MIN-2023-3247), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2023-3247 · Whole record: https://cve.day/CVE-2023-3247.json · Rebuilt by cve.day 2026-11-25T22:58:26.420Z
