diff --git a/release-notes/VERSION-2.x b/release-notes/VERSION-2.x
index 892f7ff798..3d6f4e42d6 100644
--- a/release-notes/VERSION-2.x
+++ b/release-notes/VERSION-2.x
@@ -25,7 +25,7 @@ JSON library.
faster `BigDecimal`, `BigInteger` parsing
(contributed by @pjfanning)
#863: Add `StreamReadConstraints` limit for longest textual value to
- allow (default: 1M)
+ allow (default: 5M)
(contributed by @pjfanning)
#865: Optimize parsing 19 digit longs
(contributed by Phillipe M)
diff --git a/src/main/java/com/fasterxml/jackson/core/StreamReadConstraints.java b/src/main/java/com/fasterxml/jackson/core/StreamReadConstraints.java
index e9939027af..584b51e8db 100644
--- a/src/main/java/com/fasterxml/jackson/core/StreamReadConstraints.java
+++ b/src/main/java/com/fasterxml/jackson/core/StreamReadConstraints.java
@@ -14,7 +14,7 @@
*
* - Maximum Number value length: default 1000 (see {@link #DEFAULT_MAX_NUM_LEN})
*
- * - Maximum String value length: default 1_000_000 (see {@link #DEFAULT_MAX_STRING_LEN})
+ *
- Maximum String value length: default 5_000_000 (see {@link #DEFAULT_MAX_STRING_LEN})
*
* - Maximum Nesting depth: default 1000 (see {@link #DEFAULT_MAX_DEPTH})
*
@@ -40,7 +40,7 @@ public class StreamReadConstraints
/**
* Default setting for maximum string length: see {@link Builder#maxStringLength(int)} for details.
*/
- public static final int DEFAULT_MAX_STRING_LEN = 1_000_000;
+ public static final int DEFAULT_MAX_STRING_LEN = 5_000_000;
protected final int _maxNestingDepth;
protected final int _maxNumLen;
@@ -94,7 +94,7 @@ public Builder maxNumberLength(final int maxNumLen) {
/**
* Sets the maximum string length (in chars or bytes, depending on input context).
- * The default is 1,000,000. This limit is not exact, the limit is applied when we increase
+ * The default is 5,000,000. This limit is not exact, the limit is applied when we increase
* internal buffer sizes and an exception will happen at sizes greater than this limit. Some
* text values that are a little bigger than the limit may be treated as valid but no text
* values with sizes less than or equal to this limit will be treated as invalid.