{"id":"CVE-2025-1220","published":"2025-07-13T22:18:36Z","modified":"2025-11-04T21:09:17Z","title":"Null byte termination in hostnames","vendor":"PHP","product":"PHP","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.7,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00746,"percentile":0.55569,"provenance":"source"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://github.com/php/php-src/security/advisories/GHSA-3cr5-j632-f35r","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/07/msg00017.html","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2025/07/11/4","tags":[]}],"priority":{"score":13.7,"factors":[{"name":"EPSS percentile","points":11.11},{"name":"CVSS severity","points":2.59}]},"vendorSlug":"php","affectedVersions":[{"vendor":"PHP Group","product":"PHP","versions":[">= 8.1.*, < 8.1.33",">= 8.2.*, < 8.2.29",">= 8.3.*, < 8.3.23",">= 8.4.*, < 8.4.10"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-07-14T15:58:46.330104Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-21274","exploited":false,"provenance":"source"}}