What’s Vulnerable › Vulnerabilities

CVE-2026-54514: jackson-databind: InetSocketAddress deserialization triggers eager DNS resolution (SSRF)

Description

jackson-databind contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor. From 2.0.0 until 2.18.8, 2.21.4, and 3.1.4, JDKFromStringDeserializer constructed InetSocketAddress with new InetSocketAddress(host, port), which performs eager DNS name resolution for hostname inputs at deserialization time. An application that binds untrusted JSON into a type containing an InetSocketAddress field issues an attacker-chosen DNS query during readValue, before any application-level validation or connect logic. The fix uses InetSocketAddress.createUnresolved(host, port), deferring DNS to an explicit connect. This vulnerability is fixed in 2.18.8, 2.21.4, and 3.1.4.

Affected products

How to fix

Upgrade to a fixed version: FasterXML jackson-databind 2.18.8, 2.21.4, 3.1.4; Maven Com.Fasterxml.Jackson.Core:Jackson-Databind 2.18.8, 2.21.4, 3.1.4; Maven Tools.Jackson.Core:Jackson-Databind 2.21.4, 3.1.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-54514 or the next vulnerability affects your stack