CVE-2025-49128Jackson-core Vulnerable to Memory Disclosure via Source Snippet in JsonLocation
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.
What to do
Fixed builds are available from Debian, Maven: see the table below for the fixed version per release.
Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | jackson-core | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | jackson-core | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | jackson-core | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | jackson-core | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | jackson-core | Fix pending | UBUNTU-CVE-2025-49128 | |
| Ubuntu 18.04 | jackson-core | Fix pending | UBUNTU-CVE-2025-49128 | |
| Ubuntu 16.04 | jackson-core | Fix pending | UBUNTU-CVE-2025-49128 | |
| Debian 14 | jackson-core | Fixed | 2.13.0-1 | DEBIAN-CVE-2025-49128 |
| Debian 13 | jackson-core | Fixed | 2.13.0-1 | DEBIAN-CVE-2025-49128 |
| Debian 12 | jackson-core | Fixed | 2.13.0-1 | DEBIAN-CVE-2025-49128 |
| Red Hat Enterprise Linux 9 | jackson-databind | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | jackson-jaxrs-providers | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | jackson-modules-base | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | log4j | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | log4j-jcl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | log4j-slf4j | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | pki-jackson-databind | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | pki-jackson-jaxrs-json-provider | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | pki-jackson-jaxrs-providers | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | pki-jackson-module-jaxb-annotations | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | pki-resteasy-client | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | pki-resteasy-core | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | pki-resteasy-jackson2-provider | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | pki-resteasy-servlet-initializer | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | resteasy | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | jackson-bom | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | jackson-databind | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | jackson-databind-javadoc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | jackson-jaxrs-json-provider | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | jackson-jaxrs-providers | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | jackson-jaxrs-providers-datatypes | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | jackson-jaxrs-providers-javadoc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | jackson-jaxrs-providers-parent | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | jackson-module-jaxb-annotations | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | jackson-modules-base | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | log4j | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | log4j-jcl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | log4j-slf4j | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | log4j-web | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | modello | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | modello-javadoc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | resteasy | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | resteasy-javadoc | Fix pending Fix deferred | ||
| Maven library | com.fasterxml.jackson.core:jackson-core | Fixed | 2.13.0 | GHSA-wf8f-6423-gfxg |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- FasterXML jackson-core: affected: >= 2.0.0, < 2.13.0
References
- https://github.com/FasterXML/jackson-core/security/advisories/GHSA-wf8f-6423-gfxg
- https://github.com/FasterXML/jackson-core/pull/652
- https://github.com/FasterXML/jackson-core/commit/a6c297682737dde13337cb7c3020f299518609a8
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.