CVE-2025-1219: php_group php Inaccurate Source Code Comments
Vulnerability summary
CVE-2025-1219 is a medium (CVSS 6.3) Inaccurate Source Code Comments vulnerability in php_group php. EPSS estimates a 0.73% chance of exploitation in the next 30 days, higher than 53.5% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 16 · Related 6Timeline
- 30-03-2025PublishedVulnerability first disclosed.
- 03-11-2025Last modifiedVulnerability information updated.
Description
In PHP from 8.1.* before 8.1.32, from 8.2.* before 8.2.28, from 8.3.* before 8.3.19, from 8.4.* before 8.4.5, when requesting a HTTP resource using the DOM or SimpleXML extensions, the wrong content-type header is used to determine the charset when the requested resource performs a redirect. This may cause the resulting document to be parsed incorrectly or bypass validations.
CVSS metrics
6 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated6.3MediumCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
- NVDNIST6.3MediumCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · DebianEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- NVDNIST5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
EPSS trend
Probability
0.73%
Chance of exploitation in the next 30 days
Percentile
54%
Versus all other CVEs
30-day change
+0.01 pp
From 0.72% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundPhp Src
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Ubuntu3 products
- php7.4All versions (No fix recorded)
- php8.1< 8.1.2-1ubuntu2.21
- php8.3< 8.3.6-0ubuntu0.24.04.4
Debian2 products
- php8.2< 8.2.28-1~deb12u1
- php8.4< 8.4.5-1
Php1 product
- php≥ 8.1.0, < 8.1.32 | ≥ 8.2.0, < 8.2.28 | ≥ 8.3.0, < 8.3.19 | ≥ 8.4.0, < 8.4.5
Php_group1 product
- php≥ 8.1.*, < 8.1.32 | ≥ 8.2.*, < 8.2.28 | ≥ 8.3.*, < 8.3.19 | ≥ 8.4.*, < 8.4.5
4 vendors · 7 products