Skip to main content
VulnerabilityPublished Updated

CVE-2025-1219: Php7.4 · In PHP from 8.1. before 8.1.32, from 8.2

Affects php7.4Source GCVE Database

0
Compare
Authoritative record:CVE-2025-1219· Medium 6.3

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

CVSS 4.0 base score
6.3Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (php)CVSS 4.06.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 30 Mar 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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).

Affected software

ProductAffectedFixed in
Ubuntu 24.04 LTSphp8.3pkg:deb/ubuntu/php8.3?arch=source&distro=nobleOther threatsAffected
  • <8.3.6-0ubuntu0.24.04.4
Fixed in
  • 8.3.6-0ubuntu0.24.04.4
Ubuntu 22.04 LTSphp8.1pkg:deb/ubuntu/php8.1?arch=source&distro=jammyOther threatsAffected
  • <8.1.2-1ubuntu2.21
Fixed in
  • 8.1.2-1ubuntu2.21
Ubuntu Pro 20.04 LTSphp7.4pkg:deb/ubuntu/php7.4?arch=source&distro=esm-infra/focalOther threatsAffected
  • 7.4.3-4build1 – 7.4.3-4ubuntu2.29+esm6
33 affected builds
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

Community reviews

Loading reviews…