CVE & CISA-KEV Catalog

CVE-2025-1219

MEDIUM
5.3
CVSS v3
NVD

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.

How to fix

Remediation Available
php8.1Amazon
Fixed in:0:8.1.32-1.amzn2023.0.1
Fixed in:0:8.1.32-1.amzn2023.0.1
php8.1-bcmathAmazon
Fixed in:0:8.1.32-1.amzn2023.0.1
Fixed in:0:8.1.32-1.amzn2023.0.1
php8.1-bcmath-debuginfoAmazon
Fixed in:0:8.1.32-1.amzn2023.0.1
Fixed in:0:8.1.32-1.amzn2023.0.1
php8.1-cliAmazon
Fixed in:0:8.1.32-1.amzn2023.0.1
Fixed in:0:8.1.32-1.amzn2023.0.1
php8.1-cli-debuginfoAmazon
Fixed in:0:8.1.32-1.amzn2023.0.1
Fixed in:0:8.1.32-1.amzn2023.0.1
php8.1-commonAmazon
Fixed in:0:8.1.32-1.amzn2023.0.1
Fixed in:0:8.1.32-1.amzn2023.0.1
php8.1-common-debuginfoAmazon
Fixed in:0:8.1.32-1.amzn2023.0.1
Fixed in:0:8.1.32-1.amzn2023.0.1
php8.1-dbaAmazon
Fixed in:0:8.1.32-1.amzn2023.0.1
Fixed in:0:8.1.32-1.amzn2023.0.1
php8.1-dba-debuginfoAmazon
Fixed in:0:8.1.32-1.amzn2023.0.1
Fixed in:0:8.1.32-1.amzn2023.0.1
php8.1-dbgAmazon
Fixed in:0:8.1.32-1.amzn2023.0.1
Fixed in:0:8.1.32-1.amzn2023.0.1
php8.1-dbg-debuginfoAmazon
Fixed in:0:8.1.32-1.amzn2023.0.1
Fixed in:0:8.1.32-1.amzn2023.0.1
php8.1-debuginfoAmazon
Fixed in:0:8.1.32-1.amzn2023.0.1
Fixed in:0:8.1.32-1.amzn2023.0.1
php8.1-debugsourceAmazon
Fixed in:0:8.1.32-1.amzn2023.0.1
Fixed in:0:8.1.32-1.amzn2023.0.1
php8.1-develAmazon
Fixed in:0:8.1.32-1.amzn2023.0.1
Fixed in:0:8.1.32-1.amzn2023.0.1
php8.1-embeddedAmazon
Fixed in:0:8.1.32-1.amzn2023.0.1
Fixed in:0:8.1.32-1.amzn2023.0.1
php8.1-embedded-debuginfoAmazon
Fixed in:0:8.1.32-1.amzn2023.0.1
Fixed in:0:8.1.32-1.amzn2023.0.1
php8.1-enchantAmazon
Fixed in:0:8.1.32-1.amzn2023.0.1
Fixed in:0:8.1.32-1.amzn2023.0.1
php8.1-enchant-debuginfoAmazon
Fixed in:0:8.1.32-1.amzn2023.0.1
Fixed in:0:8.1.32-1.amzn2023.0.1
php8.1-ffiAmazon
Fixed in:0:8.1.32-1.amzn2023.0.1
Fixed in:0:8.1.32-1.amzn2023.0.1
php8.1-ffi-debuginfoAmazon
Fixed in:0:8.1.32-1.amzn2023.0.1
Fixed in:0:8.1.32-1.amzn2023.0.1
php8.1-fpmAmazon
Fixed in:0:8.1.32-1.amzn2023.0.1
Fixed in:0:8.1.32-1.amzn2023.0.1
php8.1-fpm-debuginfoAmazon
Fixed in:0:8.1.32-1.amzn2023.0.1
Fixed in:0:8.1.32-1.amzn2023.0.1
php8.1-gdAmazon
Fixed in:0:8.1.32-1.amzn2023.0.1
Fixed in:0:8.1.32-1.amzn2023.0.1
php8.1-gd-debuginfoAmazon
Fixed in:0:8.1.32-1.amzn2023.0.1
Fixed in:0:8.1.32-1.amzn2023.0.1
php8.1-gmpAmazon
Fixed in:0:8.1.32-1.amzn2023.0.1
Fixed in:0:8.1.32-1.amzn2023.0.1
php8.1-gmp-debuginfoAmazon
Fixed in:0:8.1.32-1.amzn2023.0.1
Fixed in:0:8.1.32-1.amzn2023.0.1
php8.1-intlAmazon
Fixed in:0:8.1.32-1.amzn2023.0.1
Fixed in:0:8.1.32-1.amzn2023.0.1
php8.1-intl-debuginfoAmazon
Fixed in:0:8.1.32-1.amzn2023.0.1
Fixed in:0:8.1.32-1.amzn2023.0.1
php8.1-ldapAmazon
Fixed in:0:8.1.32-1.amzn2023.0.1
Fixed in:0:8.1.32-1.amzn2023.0.1
php8.1-ldap-debuginfoAmazon
Fixed in:0:8.1.32-1.amzn2023.0.1
Fixed in:0:8.1.32-1.amzn2023.0.1

This vulnerability affects an unusually large number of packages. The highest-confidence fixes are shown above; the full list is longer. Check the referenced advisories for complete coverage.

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityLow
AvailabilityNone

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Exploit Intelligence

0.72%probability of exploitation in 30 days
52ndpercentile

Moderate risk: more likely to be exploited than 52% of all known CVEs.

References

Related Vulnerabilities

Other CWE-1116 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2022-48339High7.81.1%-Fix
CVE-2022-30351High7.50.6%--
CVE-2025-47271Medium6.30.4%--

Common questions

How do I fix CVE-2025-1219?

Published advisories record a fix for 293 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2025-1219 being actively exploited?

Not that we know of. CVE-2025-1219 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.72% is the estimated probability that it will be exploited in the next 30 days. That is higher than 52% of all scored CVEs.

How severe is CVE-2025-1219?

CVE-2025-1219 has a CVSS v3 base score of 5.3, rated medium. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2025-1219 affect?

Published advisories record a fix for php8.1 (Amazon), php8.1-bcmath (Amazon), php8.1-bcmath-debuginfo (Amazon), php8.1-cli (Amazon), and 289 more. The list on this page is capped, so there may be more.

Embed a live status badge for CVE-2025-1219
CVE-2025-1219 severity badge

Markdown

[![CVE-2025-1219](https://tridentstack.com/cve/badge/CVE-2025-1219.svg)](https://tridentstack.com/cve/CVE-2025-1219)

HTML

<a href="https://tridentstack.com/cve/CVE-2025-1219"><img src="https://tridentstack.com/cve/badge/CVE-2025-1219.svg" alt="CVE-2025-1219"></a>

Check your Linux endpoints for this class of vulnerability

TridentStack Control continuously scans Linux endpoints for known vulnerabilities and deploys the fixes from the same console. 200 endpoints free forever, no credit card.

Patch your fleet freeStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-06-17.