Projects
home:rottame:vhosts-ng:php80
php8
php8-CVE-2026-129506.patch
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File php8-CVE-2026-129506.patch of Package php8
From 66db5cda7df3d7a0e1fc7b171bd9ca318fca49fb Mon Sep 17 00:00:00 2001 From: Jakub Zelenka <bukka@php.net> Date: Sun, 1 Nov 2026 15:18:09 +0100 Subject: [PATCH] Fix GHSA-4646-p932-gw34: keep SOAP DTD alive during cleanup --- ext/soap/php_xml.c | 3 +++ ext/soap/tests/GHSA-4646-p932-gw34.phpt | 35 +++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 ext/soap/tests/GHSA-4646-p932-gw34.phpt diff --git a/ext/soap/php_xml.c b/ext/soap/php_xml.c index 340dbd8ea4a..a692ba8dcdc 100644 --- a/ext/soap/php_xml.c +++ b/ext/soap/php_xml.c @@ -50,6 +50,9 @@ static void cleanup_xml_node(xmlNodePtr node) xmlUnlinkNode(trav); xmlFreeNode(trav); } + } else if (trav->type == XML_DTD_NODE) { + /* Attribute-value entity references can share content with the DTD. + * Keep it alive until the document itself is freed. */ } else if ((trav->type != XML_ELEMENT_NODE) && (trav->type != XML_CDATA_SECTION_NODE)) { xmlUnlinkNode(trav);
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.