{"id":"CVE-2022-30126","aliases":["DEBIAN-CVE-2022-30126","EUVD-2022-5214","GHSA-rpjm-422r-95mh","SUSE-SU-2022:3310-1","SUSE-SU-2022:3311-1","UBUNTU-CVE-2022-30126","USN-7529-1"],"status":"published","title":"Apache Tika Regular Expression Denial of Service in Standards Extractor","description":"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","severity":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.02598,"percentile":0.85469,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-1333"],"published":"2022-05-16T17:05:13Z","modified":"2026-10-28T02:31:09Z","fixes":[{"ecosystem":"Maven","package":"org.apache.tika:tika-core","fixed_in":["1.28.2","2.4.0"],"sources":["ghsa","osv"]},{"ecosystem":"Ubuntu:Pro:20.04:LTS","package":"tika","fixed_in":["1.22-1ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:22.04:LTS","package":"tika","fixed_in":["1.22-2ubuntu0.22.04.1~esm1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.apache.tika:tika-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.17"},{"fixed":"1.28.2"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"org.apache.tika:tika-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.4.0"}]}]},{"source":"osv","ecosystem":"Debian:11","package":"tika","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.22-2","1.22-2+deb11u1"]},{"source":"osv","ecosystem":"Maven","package":"org.apache.tika:tika-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.17"},{"fixed":"1.28.2"}]}],"versions":["1.17","1.18","1.19","1.19.1","1.20","1.21","1.22","1.23","1.24","1.24.1","1.25","1.26","1.27","1.28","1.28.1"]},{"source":"osv","ecosystem":"Maven","package":"org.apache.tika:tika-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.4.0"}]}],"versions":["2.0.0","2.1.0","2.2.0","2.2.1","2.3.0"]},{"source":"osv","ecosystem":"SUSE:Manager Server Module 4.2","package":"tika-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.26-150300.4.3.1"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Manager Server Module 4.1","package":"tika-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.26-150200.3.8.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"tika","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5-2","1.5-3","1.5-4","1.5-4ubuntu0.1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"tika","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5-5"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"tika","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.22-1ubuntu0.1~esm1"}]}],"versions":["1.22-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"tika","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.22-2ubuntu0.22.04.1~esm1"}]}],"versions":["1.22-2"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"tika","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.22-2"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"tika","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.22-2"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"tika","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.22-2"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"tika","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.22-2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"tika","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.22-1ubuntu0.1~esm1"}]}],"versions":["1.22-1"],"bundled":5},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"tika","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.22-2ubuntu0.22.04.1~esm1"}]}],"versions":["1.22-2"],"bundled":5}],"products":[{"vendor":"apache","product":"tika"},{"vendor":"apache software foundation","product":"apache tika"},{"vendor":"oracle","product":"primavera_unifier"}],"references":[{"url":"https://lists.apache.org/thread/dh3syg68nxogbmlg13srd6gjn3h2z6r4","tags":["x_refsource_MISC","x_transferred","Mailing List","Vendor Advisory","web"]},{"url":"http://www.openwall.com/lists/oss-security/2022/05/16/3","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","article","web"]},{"url":"http://www.openwall.com/lists/oss-security/2022/05/31/2","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","article","web"]},{"url":"http://www.openwall.com/lists/oss-security/2022/06/27/5","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","article","web"]},{"url":"https://www.oracle.com/security-alerts/cpujul2022.html","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","web"]},{"url":"https://security.netapp.com/advisory/ntap-20220624-0004/","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-30126","tags":["advisory"]},{"url":"https://github.com/apache/tika/commit/83b0de4d60161ebd4bc224141a959ac8c18d95f4","tags":["web"]},{"url":"https://github.com/apache/tika/commit/a36711610fa1f6f5ba0f594803415af795e0b265","tags":["web"]},{"url":"https://github.com/apache/tika/commit/e76302196ebcafb7b51fce37fbe8256e6c0fbc51","tags":["web"]},{"url":"https://github.com/advisories/GHSA-qw3f-w4pf-jh5f","tags":["advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20220624-0004","tags":["web"]},{"url":"https://github.com/advisories/GHSA-rpjm-422r-95mh"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/30xxx/CVE-2022-30126.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-30126","tags":["advisory"]},{"url":"https://github.com/apache/tika","tags":["package"]},{"url":"https://www.suse.com/support/update/announcement/2022/suse-su-20223310-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1199604","tags":["report"]},{"url":"https://bugzilla.suse.com/1200283","tags":["report"]},{"url":"https://bugzilla.suse.com/1201217","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2022-30126","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2022-30973","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2022-33879","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2022/suse-su-20223311-1/","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-30126","tags":["report"]},{"url":"https://www.openwall.com/lists/oss-security/2022/05/16/3","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-30126","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-7529-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2020-1950","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2020-1951","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2022-30973","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2022-33879","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2022-30126","title":"Apache Tika Regular Expression Denial of Service in Standards Extractor","description":"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","status":"published","published":"2022-05-16T17:05:13Z","modified":"2024-08-03T06:40:47.59Z","updated_at":"2026-11-02T14:34:31.184134Z"}],"euvd":[{"id":"EUVD-2022-5214","description":"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","status":"published","published":"2022-05-16T17:05:13Z","modified":"2024-08-03T06:40:47Z","updated_at":"2026-11-03T03:25:36.95433Z"}],"ghsa":[{"id":"GHSA-rpjm-422r-95mh","title":"Regular expression denial of service in apache tika","description":"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.\n\nThis was originally fixed in 1.28.2 and 2.4.0. While the fix in version 2.4.0 was complete, the fix for the 1.x branch wasn't incorporated until version 1.28.3. Please see GHSA-qw3f-w4pf-jh5f for more information.","status":"published","published":"2022-05-17T00:00:37Z","modified":"2025-09-02T22:23:10Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-1333"],"updated_at":"2026-11-02T14:38:55.953734Z"}],"nvd":[{"id":"CVE-2022-30126","description":"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","status":"published","published":"2022-05-16T17:15:09.64Z","modified":"2026-06-17T04:43:05.233Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"updated_at":"2026-11-02T14:07:20.264424Z"}],"osv":[{"id":"DEBIAN-CVE-2022-30126","description":"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","status":"published","published":"2022-05-16T17:15:09.64Z","modified":"2026-08-27T23:04:21.266588669Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:45:36.969609Z"},{"id":"GHSA-rpjm-422r-95mh","title":"Regular expression denial of service in apache tika","description":"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.\n\nThis was originally fixed in 1.28.2 and 2.4.0. While the fix in version 2.4.0 was complete, the fix for the 1.x branch wasn't incorporated until version 1.28.3. Please see GHSA-qw3f-w4pf-jh5f for more information.","status":"published","published":"2022-05-17T00:00:37Z","modified":"2025-09-02T22:38:47.051749Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-1333"],"updated_at":"2026-11-02T15:46:56.281047Z"},{"id":"UBUNTU-CVE-2022-30126","description":"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","status":"published","published":"2022-05-16T17:15:00Z","modified":"2026-10-17T12:55:58.262728107Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T16:53:53.899276Z"},{"id":"CVE-2022-30126","title":"Apache Tika Regular Expression Denial of Service in Standards Extractor","description":"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","status":"published","published":"2022-05-16T17:05:13Z","modified":"2026-10-28T02:31:09.464412223Z","updated_at":"2026-11-02T15:44:25.516981Z"},{"id":"SUSE-SU-2022:3310-1","title":"Security update for tika-core","description":"This update for tika-core fixes the following issues:\n\n- CVE-2022-33879: Incomplete fix and new regex DoS in StandardsExtractingContentHandler. (bsc#1201217)\n- CVE-2022-30973, CVE-2022-30126: Regular Expression Denial of Service in Standards Extractor. (bsc#1199604, bsc#1200283)\n","status":"published","published":"2022-09-19T14:37:53Z","modified":"2025-05-02T04:33:09.691132Z","updated_at":"2026-11-02T15:53:51.440565Z"},{"id":"SUSE-SU-2022:3311-1","title":"Security update for tika-core","description":"This update for tika-core fixes the following issues:\n\n- CVE-2022-33879: Regular Expression Denial of Service in StandardsExtractingContentHandler (bsc#1201217)\n- CVE-2022-30973, CVE-2022-30126: Regular Expression Denial of Service in Standards Extractor (bsc#1199604, bsc#1200283)\n","status":"published","published":"2022-09-19T14:38:04Z","modified":"2026-02-04T03:18:00.829225Z","updated_at":"2026-11-02T15:53:51.440565Z"},{"id":"USN-7529-1","title":"tika vulnerabilities","description":"It was discovered that Apache Tika can have an excessive memory usage by\nusing a crafted or corrupt PSD file. An attacker could possibly use this\nissue to cause a denial of service. This issue only affected Ubuntu\n20.04 LTS. (CVE-2020-1950, CVE-2020-1951)\n\nIt was discovered that Apache Tika incorrectly handled certain regular\nexpressions. An attacker could possibly use this issue to cause a denial\nof service. (CVE-2022-30126, CVE-2022-30973, CVE-2022-33879)","status":"published","published":"2025-05-23T13:52:50Z","modified":"2026-04-27T18:01:23.215891Z","updated_at":"2026-11-02T16:58:19.988474Z"}]}}
