CVE-2025-1219

Publication date 14 March 2025

Last updated 16 October 2026


Ubuntu priority

Cvss 3 Severity Score

5.3 · Medium

Score breakdown

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.

Read the notes from the security team

Status

Package Ubuntu Release Status
php5 26.10 stonking Not in release
26.04 LTS resolute Not in release
25.10 questing Not in release
25.04 plucky Not in release
24.10 oracular Not in release
24.04 LTS noble Not in release
22.04 LTS jammy Not in release
20.04 LTS focal Not in release
14.04 LTS trusty
Not affected
php7.0 26.10 stonking Not in release
26.04 LTS resolute Not in release
25.10 questing Not in release
25.04 plucky Not in release
24.10 oracular Not in release
24.04 LTS noble Not in release
22.04 LTS jammy Not in release
20.04 LTS focal Not in release
16.04 LTS xenial
Not affected
php7.2 26.10 stonking Not in release
26.04 LTS resolute Not in release
25.10 questing Not in release
25.04 plucky Not in release
24.10 oracular Not in release
24.04 LTS noble Not in release
22.04 LTS jammy Not in release
20.04 LTS focal Not in release
18.04 LTS bionic
Not affected
php7.4 26.10 stonking Not in release
26.04 LTS resolute Not in release
25.10 questing Not in release
25.04 plucky Not in release
24.10 oracular Not in release
24.04 LTS noble Not in release
22.04 LTS jammy Not in release
20.04 LTS focal
Vulnerable
php8.1 26.10 stonking Not in release
26.04 LTS resolute Not in release
25.10 questing Not in release
25.04 plucky Not in release
24.10 oracular Not in release
24.04 LTS noble Not in release
22.04 LTS jammy
Fixed in 8.1.2-1ubuntu2.21
20.04 LTS focal Not in release
php8.3 26.10 stonking Not in release
26.04 LTS resolute Not in release
25.10 questing Not in release
25.04 plucky Not in release
24.10 oracular
Fixed in 8.3.11-0ubuntu0.24.10.5
24.04 LTS noble
Fixed in 8.3.6-0ubuntu0.24.04.4
22.04 LTS jammy Not in release
20.04 LTS focal Not in release
php8.4 26.10 stonking Not in release
26.04 LTS resolute Not in release
25.10 questing
Fixed in 8.4.5-1
25.04 plucky
Fixed in 8.4.5-1
24.10 oracular Not in release
24.04 LTS noble Not in release
22.04 LTS jammy Not in release
20.04 LTS focal Not in release

Notes


sbeattie

PEAR issues should go against php-pear as of xenial

Severity score breakdown

CVSS version:

Base score 6.3 · Medium

Vector: 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

Base score 5.3 · Medium

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


Access our resources on patching vulnerabilities