jackson-databind — security advisory
In FasterXML jackson-databind before 2.13.4, resource exhaustion can occur because of a lack of a check in BeanDeserializer._deserializeFromArray to prevent use of deeply nested arrays. An application is vulnerable only with certain customized choices for deserialization.
- Products
- jackson-databind
- Affected versions
- 2.12.1-1, 2.12.5-1, 2.13.0-1, 2.13.0-2, 2.14.0+ds-1, 2.14.0+ds-1build1, 2.14.0+ds-2, 2.14.0-1
- Fixed versions
- Not specified
- CVEs
- CVE-2022-42004
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 01:01 UTC · Revision 1
Source evidence
In FasterXML jackson-databind before 2.13.4, resource exhaustion can occur because of a lack of a check in BeanDeserializer._deserializeFromArray to prevent use of deeply nested arrays. An application is vulnerable only with certain customized choices for deserialization.
osv:UBUNTU-CVE-2022-42004
jackson-databind
Fixed versions: Not specified
jackson-databind
Fixed versions: Not specified
jackson-databind
Fixed versions: Not specified
jackson-databind
Fixed versions: Not specified
jackson-databind
Fixed versions: Not specified
Complete source record
{
"id": "dfd447e519c648bcbe39a07c6b563466ccb5d77f663d93f56c07dfb9de4ff07f",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2022-42004",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2022-42004",
"summary": "In FasterXML jackson-databind before 2.13.4, resource exhaustion can occur because of a lack of a check in BeanDeserializer._deserializeFromArray to prevent use of deeply nested arrays. An application is vulnerable only with certain customized choices for deserialization.",
"evidence": "osv:UBUNTU-CVE-2022-42004",
"products": [
{
"name": {
"value": "jackson-databind",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.12.1-1",
"evidence": "/affected/0/versions"
},
{
"value": "2.12.5-1",
"evidence": "/affected/0/versions"
},
{
"value": "2.13.0-1",
"evidence": "/affected/0/versions"
},
{
"value": "2.13.0-2",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "jackson-databind",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.14.0-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "jackson-databind",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.14.0+ds-1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "jackson-databind",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.14.0+ds-1build1",
"evidence": "/affected/3/versions"
},
{
"value": "2.14.0+ds-2",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "jackson-databind",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.14.0+ds-1",
"evidence": "/affected/4/versions"
},
{
"value": "2.14.0+ds-1build1",
"evidence": "/affected/4/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2022-42004",
"aliases": [
"UBUNTU-CVE-2022-42004"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "jackson-databind",
"purl": "pkg:deb/ubuntu/jackson-databind?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"2.12.1-1",
"2.12.5-1",
"2.13.0-1",
"2.13.0-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-42004.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libjackson2-databind-java",
"binary_version": "2.13.0-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "jackson-databind",
"purl": "pkg:deb/ubuntu/jackson-databind?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"2.14.0-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-42004.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libjackson2-databind-java",
"binary_version": "2.14.0-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "jackson-databind",
"purl": "pkg:deb/ubuntu/jackson-databind?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"2.14.0+ds-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-42004.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libjackson2-databind-java",
"binary_version": "2.14.0+ds-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "jackson-databind",
"purl": "pkg:deb/ubuntu/jackson-databind?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"2.14.0+ds-1build1",
"2.14.0+ds-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-42004.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libjackson2-databind-java",
"binary_version": "2.14.0+ds-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "jackson-databind",
"purl": "pkg:deb/ubuntu/jackson-databind?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"2.14.0+ds-1",
"2.14.0+ds-1build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-42004.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libjackson2-databind-java",
"binary_version": "2.14.0+ds-1build1"
}
]
}
}
],
"modified": "2026-10-17T12:56:22.497505351Z",
"provider": "osv",
"upstream": [
"CVE-2022-42004"
],
"references": [
"https://ubuntu.com/security/CVE-2022-42004",
"https://github.com/FasterXML/jackson-databind/issues/3582",
"https://github.com/FasterXML/jackson-databind/commit/063183589218fec19a9293ed2f17ec53ea80ba88",
"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=50490",
"https://www.cve.org/CVERecord?id=CVE-2022-42004"
]
},
"related_cves": [
{
"value": "CVE-2022-42004",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 355472,
"published_at": "2022-10-02T05:15:00+00:00"
}