1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00
Files
archived-php-src/ext
Ahmed Lekssays dd060656d3 Fix GHSA-453j-q27h-5p8x
Libxml versions prior to 2.13 cannot correctly handle a call to
xmlNodeSetName() with a name longer than 2G. It will leave the node
object in an invalid state with a NULL name. This later causes a NULL
pointer dereference when using the name during message serialization.

To solve this, implement a workaround that resets the name to the
sentinel name if this situation arises.

Versions of libxml of 2.13 and higher are not affected.

This can be exploited if a SoapVar is created with a fully qualified
name that is longer than 2G. This would be possible if some application
code uses a namespace prefix from an untrusted source like from a remote
SOAP service.

Co-authored-by: Niels Dossche <7771979+nielsdos@users.noreply.github.com>
2025-07-01 09:35:03 -07:00
..
2024-01-31 11:20:44 +01:00
2025-06-01 18:21:23 +02:00
2024-10-13 21:12:46 +02:00
2025-05-27 20:40:35 +02:00
2024-11-27 19:54:06 +00:00
2025-06-18 20:47:18 +02:00
2025-03-06 15:24:35 +01:00
2025-03-06 15:24:35 +01:00
2025-05-27 20:40:35 +02:00
2024-06-28 20:14:20 +02:00
2025-07-01 09:35:03 -07:00
2025-02-14 23:09:57 +01:00