Vulnerability · Published Jun 6, 2025 · Assigned by GitHub_M

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

Medium 4.0

In plain English

A medium-severity security flaw in jackson-core from FasterXML. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 35% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.0Medium
Exploit odds (30 days)0.4%top 64.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12jackson-core2.13.0-1DEBIAN-CVE-2025-49128
Debian:13jackson-core2.13.0-1DEBIAN-CVE-2025-49128
Debian:14jackson-core2.13.0-1DEBIAN-CVE-2025-49128
Mavencom.fasterxml.jackson.core:jackson-core2.13.0GHSA-wf8f-6423-gfxg

Affected products (as reported)

VendorProductVersions
FasterXML jackson-core >= 2.0.0, < 2.13.0

Weakness: CWE-209 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

References