CVEfocus › CVE database › CVE-2025-49128

CVE-2025-49128Jackson-core Vulnerable to Memory Disclosure via Source Snippet in JsonLocation

CVSS 4.0 MediumEPSS 0.3% (higher than 19% of CVEs)Published 2025-06-06Updated 2025-06-09Assigner: GitHub_M

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.

CWE-209

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

4Fixed
36Fix pending
4Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04jackson-coreNot affected
vulnerable_code_not_present
Ubuntu 25.10jackson-coreNot affected
vulnerable_code_not_present
Ubuntu 24.04jackson-coreNot affected
vulnerable_code_not_present
Ubuntu 22.04jackson-coreNot affected
vulnerable_code_not_present
Ubuntu 20.04jackson-coreFix pendingUBUNTU-CVE-2025-49128
Ubuntu 18.04jackson-coreFix pendingUBUNTU-CVE-2025-49128
Ubuntu 16.04jackson-coreFix pendingUBUNTU-CVE-2025-49128
Debian 14jackson-coreFixed2.13.0-1DEBIAN-CVE-2025-49128
Debian 13jackson-coreFixed2.13.0-1DEBIAN-CVE-2025-49128
Debian 12jackson-coreFixed2.13.0-1DEBIAN-CVE-2025-49128
Red Hat Enterprise Linux 9jackson-databindFix pending
Fix deferred
Red Hat Enterprise Linux 9jackson-jaxrs-providersFix pending
Fix deferred
Red Hat Enterprise Linux 9jackson-modules-baseFix pending
Fix deferred
Red Hat Enterprise Linux 9log4jFix pending
Fix deferred
Red Hat Enterprise Linux 9log4j-jclFix pending
Fix deferred
Red Hat Enterprise Linux 9log4j-slf4jFix pending
Fix deferred
Red Hat Enterprise Linux 9pki-jackson-databindFix pending
Fix deferred
Red Hat Enterprise Linux 9pki-jackson-jaxrs-json-providerFix pending
Fix deferred
Red Hat Enterprise Linux 9pki-jackson-jaxrs-providersFix pending
Fix deferred
Red Hat Enterprise Linux 9pki-jackson-module-jaxb-annotationsFix pending
Fix deferred
Red Hat Enterprise Linux 9pki-resteasy-clientFix pending
Fix deferred
Red Hat Enterprise Linux 9pki-resteasy-coreFix pending
Fix deferred
Red Hat Enterprise Linux 9pki-resteasy-jackson2-providerFix pending
Fix deferred
Red Hat Enterprise Linux 9pki-resteasy-servlet-initializerFix pending
Fix deferred
Red Hat Enterprise Linux 9resteasyFix pending
Fix deferred
Red Hat Enterprise Linux 8jackson-bomFix pending
Fix deferred
Red Hat Enterprise Linux 8jackson-databindFix pending
Fix deferred
Red Hat Enterprise Linux 8jackson-databind-javadocFix pending
Fix deferred
Red Hat Enterprise Linux 8jackson-jaxrs-json-providerFix pending
Fix deferred
Red Hat Enterprise Linux 8jackson-jaxrs-providersFix pending
Fix deferred
Red Hat Enterprise Linux 8jackson-jaxrs-providers-datatypesFix pending
Fix deferred
Red Hat Enterprise Linux 8jackson-jaxrs-providers-javadocFix pending
Fix deferred
Red Hat Enterprise Linux 8jackson-jaxrs-providers-parentFix pending
Fix deferred
Red Hat Enterprise Linux 8jackson-module-jaxb-annotationsFix pending
Fix deferred
Red Hat Enterprise Linux 8jackson-modules-baseFix pending
Fix deferred
Red Hat Enterprise Linux 8log4jFix pending
Fix deferred
Red Hat Enterprise Linux 8log4j-jclFix pending
Fix deferred
Red Hat Enterprise Linux 8log4j-slf4jFix pending
Fix deferred
Red Hat Enterprise Linux 8log4j-webFix pending
Fix deferred
Red Hat Enterprise Linux 8modelloFix pending
Fix deferred
Red Hat Enterprise Linux 8modello-javadocFix pending
Fix deferred
Red Hat Enterprise Linux 8resteasyFix pending
Fix deferred
Red Hat Enterprise Linux 8resteasy-javadocFix pending
Fix deferred
Maven librarycom.fasterxml.jackson.core:jackson-coreFixed2.13.0GHSA-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.

References

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.