CVE-2025-1220
Null byte termination in hostnames
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.740% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:28:52.703Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 3.7 · published by phpCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Assessment source · checked 2026-11-19T10:45:54.350Z
CVSS 3.1 · 3.7 · published by Ubuntu SecurityCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Assessment source · checked 2026-11-19T14:19:00.134Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:28:52.703Z | CISA KEV |
| cvss | verified | 2026-11-19T10:45:54.350Z | CVE Program |
| epss | verified | 2026-11-19T16:04:40.125Z | FIRST EPSS |
| patches | verified | 2026-11-19T14:19:09.487Z | Ubuntu Security |
| affected | verified | 2026-11-19T10:45:54.350Z | CVE Program |
| lifecycle | verified | 2026-11-19T10:45:54.350Z | CVE Program |
Affected versions and configuration
PHP Group PHP; default status: affected: 8.1.* to < 8.1.33 [affected; scheme: semver]; 8.2.* to < 8.2.29 [affected; scheme: semver]; 8.3.* to < 8.3.23 [affected; scheme: semver]; 8.4.* to < 8.4.10 [affected; scheme: semver]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
Ubuntu Security · ubuntu-package · full conditions
[
{
"name": "php8.4",
"debian": "https://tracker.debian.org/pkg/php8.4",
"source": "https://ubuntu.com/security/cve?package=php8.4",
"ubuntu": "https://packages.ubuntu.com/search?suite=all§ion=all&arch=any&searchon=sourcenames&keywords=php8.4",
"statuses": [
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "stonking"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "resolute"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "jammy"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "noble"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "oracular"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "8.4.10",
"release_codename": "upstream"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "8.4.5-1ubuntu1.1",
"release_codename": "plucky"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "8.4.11-1ubuntu1",
"release_codename": "questing"
}
]
}
]Archived source JSONUbuntu Security · ubuntu-package · full conditions
[
{
"name": "php8.3",
"debian": "https://tracker.debian.org/pkg/php8.3",
"source": "https://ubuntu.com/security/cve?package=php8.3",
"ubuntu": "https://packages.ubuntu.com/search?suite=all§ion=all&arch=any&searchon=sourcenames&keywords=php8.3",
"statuses": [
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "stonking"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "resolute"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "jammy"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "plucky"
},
{
"pocket": "security",
"status": "ignored",
"component": null,
"description": "end of life, was needs-triage",
"release_codename": "oracular"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "8.3.23",
"release_codename": "upstream"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "8.3.6-0ubuntu0.24.04.5",
"release_codename": "noble"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "questing"
}
]
}
]Archived source JSONCVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "PHP Group",
"product": "PHP",
"versions": [
{
"status": "affected",
"version": "8.1.*",
"lessThan": "8.1.33",
"versionType": "semver"
},
{
"status": "affected",
"version": "8.2.*",
"lessThan": "8.2.29",
"versionType": "semver"
},
{
"status": "affected",
"version": "8.3.*",
"lessThan": "8.3.23",
"versionType": "semver"
},
{
"status": "affected",
"version": "8.4.*",
"lessThan": "8.4.10",
"versionType": "semver"
}
],
"defaultStatus": "affected"
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2025-1220",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2025-07-14T15:58:46.330104Z"
}
}
}
],
"references": [
{
"url": "https://github.com/php/php-src/security/advisories/GHSA-3cr5-j632-f35r",
"tags": [
"exploit"
]
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2025-07-14T15:58:49.718Z"
}
},
{
"title": "CVE Program Container",
"references": [
{
"url": "https://lists.debian.org/debian-lts-announce/2025/07/msg00017.html"
},
{
"url": "http://www.openwall.com/lists/oss-security/2025/07/11/4"
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2025-11-04T21:09:17.792Z"
}
}
]
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| upstream-release | upstream / upstream | php8.4 | Not a distribution channel | 8.4.10 | Official record |
| distribution-package | Ubuntu / plucky | php8.4 | security | 8.4.5-1ubuntu1.1 | Official record |
| distribution-package | Ubuntu / questing | php8.4 | security | 8.4.11-1ubuntu1 | Official record |
| upstream-release | upstream / upstream | php8.3 | Not a distribution channel | 8.3.23 | Official record |
| distribution-package | Ubuntu / noble | php8.3 | security | 8.3.6-0ubuntu0.24.04.5 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CVE ProgramConsulted: 2026-11-19T10:45:54.350ZArchived source JSON
Source publication: 2025-07-13T22:18:36.974Z
Source modification: 2025-11-04T21:09:17.792ZDocument fingerprint
b6e8900226d3e2a839701e96ab6761c22f28bea5fcde1251100b9acbfb63e09c - CISA KEVConsulted: 2026-11-19T17:28:52.703ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - Ubuntu SecurityConsulted: 2026-11-19T14:19:00.134ZArchived source JSON
Source publication: 2025-07-13T23:15:00.000Z
Source modification: 2025-08-26T13:41:23.946ZDocument fingerprint
20fddfeece0f74c8829da78cd57103d95bb1a0e20b339dd1fef11a36202bd2f8 - Ubuntu SecurityConsulted: 2026-11-19T14:19:09.487ZArchived source JSON
Source publication: 2025-07-13T23:15:00.000Z
Source modification: 2025-08-26T13:41:23.946ZDocument fingerprint
0e7f48abf40bd2e76a89d5742caff50ab5ef27fdf1365221ab7fee37916899e3 - FIRST EPSSConsulted: 2026-11-19T16:04:40.125ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
7110337ea01b81d7d0eef5fde179582e77e740d9cbc9bc26ad284dce47f01898
Official status history
- UNKNOWN → PUBLISHED · · evidence