libxml2 stack buffer overflow in URI parsing

ID 847ADE05-6717-11D8-B321-000A95BC6FAE
Type freebsd
Reporter FreeBSD
Modified 2004-02-08T00:00:00


Yuuichi Teranishi reported a crash in libxml2's URI handling when a long URL is supplied. The implementation in nanohttp.c and nanoftp.c uses a 4K stack buffer, and longer URLs will overwrite the stack. This could result in denial-of-service or arbitrary code execution in applications using libxml2 to parse documents.