All reports
Medium

Apache XML Security For Java vulnerable to Infinite Loop

Affected versions

Affected versions
>= 1.4.0, < 1.4.8
Fixed version
1.4.8
Affected versions
>= 1.5.0, < 1.5.3
Fixed version
1.5.3

Exploitation

CVE-2013-5823

Probability of exploitation in the next 30 days: 4.73%

FIRST EPSS · 2026-11-24

Description

Affected versions of xmlsec are subject to a denial of service vulnerability. Should a user check the signature of a message larger than 512 MB, the method expandSize(int newPos) of class org.apache.xml.security.utils.UnsyncByteArrayOutputStream goes in an endless loop. A remote attacker could use this flaw to supply crafted XML that would lead to a denial of service.

Links

Credits

  • MarkLee131