An issue exists when binding a JSON string to a `javax.xml.datatype.Duration` or `javax.xml.datatype.XMLGregorianCalendar` field via the `CoreXMLDeserializers.Std. deserialize` function. The software passes the raw string directly to `DatatypeFactory.newDuration(value)` or `newXMLGregorianCalendar(value)`. Because the XML Schema lexical grammar allows numeric components of arbitrary length, the JDK uses `BigInteger(String)` and `BigDecimal(String)` constructors, which have quadratic complexity relative to the digit count. Since the input is treated as a JSON string rather than a JSON number, the `StreamReadConstraints.maxNumberLength` guard is bypassed, and the XML datatype deserializer fails to perform length validation. An unauthenticated attacker can send a request containing a string with several million digits, causing excessive CPU consumption and potentially saturating server worker threads.