tika — security advisory
In Apache Tika, a regular expression in our StandardsText class, used by the StandardsExtractingContentHandler could lead to a denial of service caused by backtracking on a specially crafted file. This only affects users who are running the StandardsExtractingContentHandler, which is a non-standard handler. This is fixed in 1.28.2 and 2.4.0
- Products
- tika
- Affected versions
- 1.22-1, 1.22-2, 1.5-2, 1.5-3, 1.5-4, 1.5-4ubuntu0.1, 1.5-5
- Fixed versions
- 1.22-1ubuntu0.1~esm1, 1.22-2ubuntu0.22.04.1~esm1
- CVEs
- CVE-2022-30126
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 00:41 UTC · Revision 1
Source evidence
In Apache Tika, a regular expression in our StandardsText class, used by the StandardsExtractingContentHandler could lead to a denial of service caused by backtracking on a specially crafted file. This only affects users who are running the StandardsExtractingContentHandler, which is a non-standard handler. This is fixed in 1.28.2 and 2.4.0
osv:UBUNTU-CVE-2022-30126
tika
Fixed versions: Not specified
tika
Fixed versions: Not specified
tika
Fixed versions: 1.22-1ubuntu0.1~esm1
tika
Fixed versions: 1.22-2ubuntu0.22.04.1~esm1
tika
Fixed versions: Not specified
tika
Fixed versions: Not specified
tika
Fixed versions: Not specified
tika
Fixed versions: Not specified
Complete source record
{
"id": "f383c08a1bbc8a416cfde7be4d97ced0680f1690f0cb9e647ff35adb9e3bf401",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2022-30126",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2022-30126",
"summary": "In Apache Tika, a regular expression in our StandardsText class, used by the StandardsExtractingContentHandler could lead to a denial of service caused by backtracking on a specially crafted file. This only affects users who are running the StandardsExtractingContentHandler, which is a non-standard handler. This is fixed in 1.28.2 and 2.4.0",
"evidence": "osv:UBUNTU-CVE-2022-30126",
"products": [
{
"name": {
"value": "tika",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.5-2",
"evidence": "/affected/0/versions"
},
{
"value": "1.5-3",
"evidence": "/affected/0/versions"
},
{
"value": "1.5-4",
"evidence": "/affected/0/versions"
},
{
"value": "1.5-4ubuntu0.1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "tika",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.5-5",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "tika",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.22-1ubuntu0.1~esm1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": [
{
"value": "1.22-1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "tika",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.22-2ubuntu0.22.04.1~esm1",
"evidence": "/affected/3/ranges"
}
],
"affected_versions": [
{
"value": "1.22-2",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "tika",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.22-2",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "tika",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.22-2",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "tika",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.22-2",
"evidence": "/affected/6/versions"
}
]
},
{
"name": {
"value": "tika",
"evidence": "/affected/7/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.22-2",
"evidence": "/affected/7/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "UBUNTU-CVE-2022-30126",
"aliases": [
"UBUNTU-CVE-2022-30126"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
},
{
"type": "Ubuntu",
"score": "low"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "tika",
"purl": "pkg:deb/ubuntu/tika?arch=source&distro=xenial",
"ecosystem": "Ubuntu:16.04:LTS"
},
"versions": [
"1.5-2",
"1.5-3",
"1.5-4",
"1.5-4ubuntu0.1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-30126.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libtika-java",
"binary_version": "1.5-4ubuntu0.1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "tika",
"purl": "pkg:deb/ubuntu/tika?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"1.5-5"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-30126.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libtika-java",
"binary_version": "1.5-5"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.22-1ubuntu0.1~esm1"
}
]
}
],
"package": {
"name": "tika",
"purl": "pkg:deb/ubuntu/tika?arch=source&distro=esm-apps%2Ffocal",
"ecosystem": "Ubuntu:Pro:20.04:LTS"
},
"versions": [
"1.22-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-30126.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libtika-java",
"binary_version": "1.22-1ubuntu0.1~esm1"
}
],
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.22-2ubuntu0.22.04.1~esm1"
}
]
}
],
"package": {
"name": "tika",
"purl": "pkg:deb/ubuntu/tika?arch=source&distro=esm-apps%2Fjammy",
"ecosystem": "Ubuntu:Pro:22.04:LTS"
},
"versions": [
"1.22-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-30126.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libtika-java",
"binary_version": "1.22-2ubuntu0.22.04.1~esm1"
}
],
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "tika",
"purl": "pkg:deb/ubuntu/tika?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"1.22-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-30126.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libtika-java",
"binary_version": "1.22-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "tika",
"purl": "pkg:deb/ubuntu/tika?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"1.22-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-30126.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libtika-java",
"binary_version": "1.22-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "tika",
"purl": "pkg:deb/ubuntu/tika?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"1.22-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-30126.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libtika-java",
"binary_version": "1.22-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "tika",
"purl": "pkg:deb/ubuntu/tika?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"1.22-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-30126.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libtika-java",
"binary_version": "1.22-2"
}
]
}
}
],
"modified": "2026-10-17T12:55:58.262728107Z",
"provider": "osv",
"upstream": [
"CVE-2022-30126"
],
"references": [
"https://ubuntu.com/security/CVE-2022-30126",
"https://www.openwall.com/lists/oss-security/2022/05/16/3",
"https://www.cve.org/CVERecord?id=CVE-2022-30126",
"https://ubuntu.com/security/notices/USN-7529-1"
]
},
"related_cves": [
{
"value": "CVE-2022-30126",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 354401,
"published_at": "2022-05-16T17:15:00+00:00"
}