CVE-2025-1220

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-1220
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-1220.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-1220
Aliases
Downstream
Related
Published
2025-07-13T23:15:22Z
Modified
2025-08-11T15:13:24.167325Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
[none]
Details

In PHP versions:8.1.* before 8.1.33, 8.2.* before 8.2.29, 8.3.* before 8.3.23, 8.4.* before 8.4.10 some functions like fsockopen() lack validation that the hostname supplied does not contain null characters. This may lead to other functions like parse_url() treat the hostname in different way, thus opening way to security problems if the user code implements access checks before access using such functions.

References

Affected packages

Git / github.com/php/php-src

Affected ranges

Type
GIT
Repo
https://github.com/php/php-src
Events