CVE-2025-1219: Php7.4 · In PHP from 8.1. before 8.1.32, from 8.2
Affects php7.4Source GCVE Database
Not known to be exploited · CVSS 6.3 Medium · fixed in 8.1.2-1ubuntu2.21 : update php7.4 when convenient.
Data as of 20 Nov 2026, 08:28 UTC
Thin evidence
One scorer or none| CNA (php) | CVSS 4.0 | 6.3 |
|---|
- EPSS
- 0.7% chance of exploitation in 30 days – higher than 55% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 8.1.2-1ubuntu2.21, 8.3.6-0ubuntu0.24.04.4
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 30 Mar 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 19 Nov 2026.
What to do
Upgrade the Ubuntu to 8.1.2-1ubuntu2.21 (php8.1 package) or 8.3.6-0ubuntu0.24.04.4 (php8.3 package).
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSphp8.3pkg:deb/ubuntu/php8.3?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSphp8.1pkg:deb/ubuntu/php8.1?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu Pro 20.04 LTSphp7.4pkg:deb/ubuntu/php7.4?arch=source&distro=esm-infra/focalOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available and has been released in updated PHP packages for affected Ubuntu versions. Users should apply the security updates provided in Ubuntu security notice USN-7400-1 to remediate this issue. Standard system updates will include these fixes. No additional mitigation steps are required beyond applying the official patches.
Description
CVE-2025-1219 is a vulnerability in PHP versions 8.1 before 8.1.32, 8.2 before 8.2.28, 8.3 before 8.3.19, and 8.4 before 8.4.5. When using the DOM or SimpleXML extensions to request HTTP resources that perform redirects, PHP incorrectly uses the content-type header to determine the charset. This can cause incorrect document parsing or bypass of validations. The issue affects multiple Ubuntu LTS releases and has been fixed in updated package versions.
References
- ubuntu.com/security/CVE-2025-1219 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-1219 (opens in a new tab)
- github.com/php/php-src/security/advisories/GHSA-p3x9-6h7p-cgfc (opens in a new tab)
- github.com/php/php-src/commit/a8d3a8006739b8aad2a190be90a0491739be6c0d (opens in a new tab)
- ubuntu.com/security/notices/USN-7400-1 (opens in a new tab)