CVEMETERBack to radar
OFFICIAL RECORD · PHP

CVE-2025-1220

PUBLISHEDOfficial status check: verifiedCVSS 3.1: 3.7 · low

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 php
CVSS: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 Security
CVSS: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

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T17:28:52.703ZCISA KEV
cvssverified2026-11-19T10:45:54.350ZCVE Program
epssverified2026-11-19T16:04:40.125ZFIRST EPSS
patchesverified2026-11-19T14:19:09.487ZUbuntu Security
affectedverified2026-11-19T10:45:54.350ZCVE Program
lifecycleverified2026-11-19T10:45:54.350ZCVE 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&section=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 JSON
Ubuntu 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&section=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 JSON
CVE 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 JSON

Correction 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 typeDistribution / releasePackageChannelVersion or source noteSource
upstream-releaseupstream / upstreamphp8.4Not a distribution channel8.4.10Official record
distribution-packageUbuntu / pluckyphp8.4security8.4.5-1ubuntu1.1Official record
distribution-packageUbuntu / questingphp8.4security8.4.11-1ubuntu1Official record
upstream-releaseupstream / upstreamphp8.3Not a distribution channel8.3.23Official record
distribution-packageUbuntu / noblephp8.3security8.3.6-0ubuntu0.24.04.5Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history