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

- Severity: Medium 4.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 37% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-06-06T21:18:27.561Z
- Modified: 2026-09-10T03:50:25.415Z
- Also known as: GHSA-wf8f-6423-gfxg
- Weaknesses: CWE-209
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- FasterXML jackson-core: >= 2.0.0, < 2.13.0
- com.fasterxml.jackson.core:jackson-core (Maven): from 2.0.0 before 2.13.0

## Every score

- GitHub_M: CVSS:3.1 4.0 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 4.0 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/FasterXML/jackson-core/security/advisories/GHSA-wf8f-6423-gfxg> (exploit, web)
- <https://github.com/FasterXML/jackson-core/pull/652> (web)
- <https://github.com/FasterXML/jackson-core/commit/a6c297682737dde13337cb7c3020f299518609a8> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-22145> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-49128> (advisory)
- <https://github.com/FasterXML/jackson-core> (package)

## Sources

- CVE List: [CVE-2025-49128](https://www.cve.org/CVERecord?id=CVE-2025-49128), CVE Terms of Use, modified 2025-06-09
- GitHub Advisory Database: [GHSA-wf8f-6423-gfxg](https://github.com/advisories/GHSA-wf8f-6423-gfxg), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-49128](https://nvd.nist.gov/vuln/detail/CVE-2025-49128), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-49128 · Whole record: https://cve.day/CVE-2025-49128.json · Rebuilt by cve.day 2026-11-25T22:58:58.904Z
