USN-8513-1: PHP vulnerabilities
It was discovered that PHP incorrectly handled SOAP object deduplication when processing apache:Map nodes with duplicate keys. An attacker could possibly use this to cause a use-after-free, resulting in remote code execution. (CVE-2026-6722) It was discovered that PHP incorrectly handled SOAP request persistence when configured with SOAPPERSISTENCESESSION. An attacker could possibly use this to cause a use-after-free, resulting in memory corruption, information disclosure, or a denial of service. (CVE-2026-7261) It was discovered that the PDO Firebird driver in PHP improperly handled NUL bytes when quoting SQL query strings. An attacker could possibly use this to perform SQL injection when attacker-controlled values are embedded in SQL statements. (CVE-2025-14179)
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/php7.0-interbaseto a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/php7.0-soapto a version that resolves this vulnerability.Fixed in Ubuntu Pro
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
Which PHP features must be in use for these issues to be exploitable?
CVE-2026-6722 affects SOAP processing of apache:Map nodes with duplicate keys. CVE-2026-7261 requires SOAP to be configured with SOAP_PERSISTENCE_SESSION, while CVE-2025-14179 affects applications using the PDO Firebird driver and embedding attacker-controlled values in SQL statements.
Are applications using default SOAP settings affected by the SOAP persistence issue?
The provided information identifies SOAP_PERSISTENCE_SESSION as the affected configuration for CVE-2026-7261. It does not establish that applications using other SOAP persistence settings are affected by that issue.
What is the potential impact if an affected component is exposed to attacker-controlled input?
The apache:Map SOAP handling issue may allow remote code execution. The SOAP session-persistence issue may cause memory corruption, information disclosure, or denial of service, and the PDO Firebird issue may allow SQL injection.
How can I identify potentially affected application paths before patching?
Review PHP applications for SOAP endpoints that process apache:Map data, especially inputs that may contain duplicate keys, and for SOAP configurations using SOAP_PERSISTENCE_SESSION. Also identify use of PDO Firebird and any SQL construction that places attacker-controlled values into quoted query strings.