CVE-2025-49128
Description
Jackson-core contains core low-level incremental ("streaming") parser and generator abstractions used by Jackson Data Processor. Starting in version 2.0.0 and prior to version 2.13.0, a flaw in jackson-core's JsonLocation._appendSourceDesc method allows up to 500 bytes of unintended memory content to be included in exception messages. When parsing JSON from a byte array with an offset and length, the exception message incorrectly reads from the beginning of the array instead of the logical payload start. This results in possible information disclosure in systems using pooled or reused buffers, like Netty or Vert.x. This issue was silently fixed in jackson-core version 2.13.0, released on September 30, 2021, via PR #652. All users should upgrade to version 2.13.0 or later. If upgrading is not immediately possible, applications can mitigate the issue by disabling exception message exposure to clients to avoid returning parsing exception messages in HTTP responses and/or disabling source inclusion in exceptions to prevent Jackson from embedding any source content in exception messages, avoiding leakage.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
com.fasterxml.jackson.core:jackson-coreMaven | >= 2.0.0, < 2.13.0 | 2.13.0 |
Affected products
16- Range: jackson-core-2.0.0, jackson-core-2.0.1, jackson-core-2.0.2, …
- osv-coords15 versionspkg:apk/chainguard/datadog-jmxfetchpkg:apk/chainguard/druidpkg:apk/chainguard/hadoop-client-modulespkg:apk/chainguard/scala-3.8pkg:apk/chainguard/spark-4.1pkg:apk/chainguard/tezpkg:apk/chainguard/wso2ispkg:apk/chainguard/wso2is-compatpkg:apk/chainguard/wso2is-docpkg:apk/wolfi/datadog-jmxfetchpkg:apk/wolfi/druidpkg:apk/wolfi/scala-3.8pkg:apk/wolfi/spark-4.1pkg:apk/wolfi/tezpkg:maven/com.fasterxml.jackson.core/jackson-core
< 0.49.8-r1+ 14 more
- (no CPE)range: < 0.49.8-r1
- (no CPE)range: < 37.0.0-r14
- (no CPE)range: < 3.3.6-r4
- (no CPE)range: < 3.8.4-r1
- (no CPE)range: < 4.1.0-r1
- (no CPE)range: < 0.10.5-r9
- (no CPE)range: < 7.1.0-r2
- (no CPE)range: < 7.1.0-r2
- (no CPE)range: < 7.1.0-r2
- (no CPE)range: < 0.49.8-r1
- (no CPE)range: < 37.0.0-r14
- (no CPE)range: < 3.8.4-r1
- (no CPE)range: < 4.1.0-r1
- (no CPE)range: < 0.10.5-r9
- (no CPE)range: >= 2.0.0, < 2.13.0
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-wf8f-6423-gfxgghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-22145ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-49128ghsaADVISORY
- github.com/FasterXML/jackson-core/commit/a6c297682737dde13337cb7c3020f299518609a8nvdWEB
- github.com/FasterXML/jackson-core/pull/652nvdWEB
- github.com/FasterXML/jackson-core/security/advisories/GHSA-wf8f-6423-gfxgnvdWEB
News mentions
0No linked articles in our index yet.