← Advisories

Apache MINA Vysper 0.7 Unbounded XML Buffer Pre-Auth DoS

High
Advisory ID
ZSL-2026-6022
Release Date
16 October 2026
Vendor
The Apache Software Foundation - https://www.apache.org
Affected Version
0.7
CVE
N/A
Tested On
Microsoft Windows 10 (amd64), Eclipse Temurin (Adoptium) OpenJDK 21.0.6 (64-bit), nbxml 0.7, mina-core 2.0.21, slf4j-api 1.7.36
Summary

Apache Vysper is an XMPP (eXtensible Messaging and Presence Protocol) server, also known as Jabber, designed to run stand-alone or embedded in another application and work with any compliant XMPP client.

Description

Apache MINA Vysper is an XMPP server that suffers from a remote, unauthenticated denial-of-service vulnerability caused by an unbounded XML buffer in its nbxml parser. The XMLTokenizer accumulates incoming bytes into an auto-expanding buffer with no maximum token, stanza, or request size, resetting it only when a token's terminating delimiter is seen. A remote attacker can stream a single very large XML token and grow the server heap until the JVM throws OutOfMemoryError.

The vector is reachable over TCP XMPP (default port 5222), by sending a stream header followed by an endless run of character data with no closing delimiter, and over BOSH / XMPP-over-HTTP (default port 8080), where the request decoder reads the entire HTTP request body into memory before parsing, so a single large HTTP POST is sufficient. Parsing runs on the first bytes received, before authentication, so no credentials are required, and because a single JVM serves all sessions the resulting OutOfMemoryError takes down the entire server for every connected user.

Proof of Concept
Disclosure Timeline
13.08.2026Vulnerability discovered.
18.08.2026Contact with the vendor.
19.08.2026Vendor forwards details to appropriate PMC.
21.08.2026Vendor will analyze this and will get back to us soon.
15.10.2026Asked vendor for status update.
16.10.2026No response from the vendor.
16.10.2026Public security advisory released.
Credits
Vulnerability discovered by Gjoko Krstic
References
Changelog
16.10.2026Initial release