{"vuln_id":"GHSA-www2-q4fc-65wf","aliases":["GHSA-3cr5-j632-f35r"],"description":"Null byte termination in dns_get_record()","published_at":"2025-12-18T16:11:09Z","modified_at":"2025-12-18T16:11:09Z","first_seen_at":"2026-11-22T14:05:37.611639Z","severity":"low","severity_source":"ghsa","cvss_score":null,"cvss_vector":null,"cwe":[],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":null,"epss_percentile":null,"nvd_status":null,"enriched_at":null,"links":{"nvd":"https://github.com/advisories/GHSA-www2-q4fc-65wf"},"matched_alias":null,"items":[{"id":12650,"source":{"id":"gh-php-src","name":"PHP releases (GitHub php/php-src tags)"},"title":"GHSA-www2-q4fc-65wf: Null byte termination in dns_get_record()","summary":"Null byte termination in dns_get_record()\n\n### Summary\r\n\r\nAs GHSA-3cr5-j632-f35r, same null termination is occuring\r\n\r\n### Details\r\n\r\ndns_get_record() and other DNS functions don't have any null contain check, leads potential SSRF or unexpected behavior.\r\n\r\n### PoC\r\n\r\n```php\r\n<?php\r\n\r\nvar_dump(dns_get_record(\"php.net\\0aa\"));\r\n```\r\n\r\nResult: DNS records of `php.net`\r\nExpect: Fails to call\r\n\r\n### Security impact\r\n\r\n(Even though it's too low but,) Probability of SSRF\r\n\nPatched:  8.1.34,  8.2.30,  8.3.29,  8.4.16,  8.5.1","url":"https://github.com/php/php-src/security/advisories/GHSA-www2-q4fc-65wf","published_at":"2025-12-18T16:11:09Z","updated_at":"2025-12-18T16:11:09Z","fetched_at":"2026-11-22T14:05:37.431187Z","severity":"low","cvss_score":null,"epss":null,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"php","product":"php-src","vuln_id":"GHSA-www2-q4fc-65wf","vuln_ids":["CVE-2025-1220","GHSA-3CR5-J632-F35R","GHSA-WWW2-Q4FC-65WF"],"tags":["repo-advisory","security","repo:php/php-src","stack"],"cluster_id":11758,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/12650","html":"https://vulnwatch.ve1ve2.com/item/12650"}}]}