CVE-2021-28657
Infinite loop in Apache Tika's MP3 parser
A carefully crafted or corrupt file may trigger an infinite loop in Tika's MP3Parser up to and including Tika 1.25. Apache Tika users should upgrade to 1.26 or later.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
5.5
A carefully crafted or corrupt file may trigger an infinite loop in Tika's MP3Parser up to and including Tika 1.25. Apache Tika users should upgrade to 1.26 or later.
- Record
CVE-2021-28657- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:N/A:P - Weakness
- CWE-835
- Updated
- 2026-11-02
CVE List No score
Infinite loop in Apache Tika's MP3 parser
A carefully crafted or corrupt file may trigger an infinite loop in Tika's MP3Parser up to and including Tika 1.25. Apache Tika users should upgrade to 1.26 or later.
- Record
CVE-2021-28657- Weakness
- CWE-835
- Updated
- 2026-11-02
EUVDEUVD-2021-0949
0.0
A carefully crafted or corrupt file may trigger an infinite loop in Tika's MP3Parser up to and including Tika 1.25. Apache Tika users should upgrade to 1.26 or later.
- Record
EUVD-2021-0949- CVSS
- 0.0 None
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-567x-m4wm-87v8
5.5
Infinite loop in Apache Tika
A carefully crafted or corrupt file may trigger an infinite loop in Tika's MP3Parser up to and including Tika 1.25. Apache Tika users should upgrade to 1.26 or later.
- Record
GHSA-567x-m4wm-87v8- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-400, CWE-835
- Updated
- 2026-11-02
OSV
5.5
A carefully crafted or corrupt file may trigger an infinite loop in Tika's MP3Parser up to and including Tika 1.25. Apache Tika users should upgrade to 1.26 or later.
- Record
CVE-2021-28657- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2021-28657
5.5
A carefully crafted or corrupt file may trigger an infinite loop in Tika's MP3Parser up to and including Tika 1.25. Apache Tika users should upgrade to 1.26 or later.
- Record
DEBIAN-CVE-2021-28657- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 4 moreShow less
OSVGHSA-567x-m4wm-87v8
5.5
Infinite loop in Apache Tika
A carefully crafted or corrupt file may trigger an infinite loop in Tika's MP3Parser up to and including Tika 1.25. Apache Tika users should upgrade to 1.26 or later.
- Record
GHSA-567x-m4wm-87v8- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-400, CWE-835
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2021-28657
5.5
A carefully crafted or corrupt file may trigger an infinite loop in Tika's MP3Parser up to and including Tika 1.25. Apache Tika users should upgrade to 1.26 or later.
- Record
UBUNTU-CVE-2021-28657- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVSUSE-SU-2021:2098-1 No score
Security update for SUSE Manager Server 4.1
This update fixes the following issues:
cobbler:
- Make
fence_ipmitoola wrapper forfence_ipmilanusing alwayslanplus. (bsc#1184361) - Remove unused template for
fence_ipmitool. - Prevent some race conditions when writting tftpboot files and the destination directory is not existing. (bsc#1186124)
- Fix trail stripping in case of using UTF symbols. (bsc#1184561)
golang-github-prometheus-node_exporter:
- Update to 1.1.2
- Bug fixes
- Handle errors from disabled PSI subsystem
- Sanitize strings from /sys/class/power_supply
- Silence missing netclass errors
- Fix ineffassign issue
- Fix some noisy log lines
- filesystem_freebsd: Fix label values
- Fix various procfs parsing errors
- Handle no data from powersupplyclass
- udp_queues_linux.go: change upd to udp in two error strings
- Fix node_scrape_collector_success behaviour
- Fix NodeRAIDDegraded to not use a string rule expressions
- Fix node_md_disks state label from fail to failed
- Handle EPERM for syscall in timex collector
- bcache: fix typo in a metric name
- Fix XFS read/write stats
- Changes
- Improve filter flag names
- Add btrfs and powersupplyclass to list of exporters enabled by default
- Features
- Add fibre channel collector
- Expose cpu bugs and flags as info metrics
- Add network_route collector
- Add zoneinfo collector
- Enhancements
- Add more InfiniBand counters
- Add flag to aggr ipvs metrics to avoid high cardinality metrics
- Adding backlog/current queue length to qdisc collector
- Include TCP OutRsts in netstat metrics
- Add pool size to entropy collector
- Remove CGO dependencies for OpenBSD amd64
- bcache: add writeback_rate_debug status
- Add check state for mdadm arrays via node_md_state metric
- Expose XFS inode statistics
- Expose zfs zpool state
- Added an ability to pass collector.supervisord.url via SUPERVISORD_URL environment variable
- Bug fixes
- Do not include sources (bsc#1151558)
- Remove rc symlink
grafana-formula:
- Fix Grafana dashboards requiring single series (bsc#1184471)
patterns-suse-manager:
- Add require for py27-compat-salt (salt 3002 does not provide python2-salt anymore)
prometheus-exporter-formula:
- Add support for schema migration (bsc#1186025)
pxe-yomi-image-sle15:
- Remove PermitEmptyPasswords from SSH config (Fix bsc#1182744)
py26-compat-salt:
- Prevent command injection in the snapper module (bsc#1185281) (CVE-2021-31607)
spacewalk-admin:
- Stop jabberd when osa-dispatcher is enabled (bsc#1185042)
spacewalk-backend:
- Fix binary blob corruptions in tradidional config file deployment (bsc#1183864)
- Fix for GPG checking on synchonizing mirrored dpkg repo (bsc#1184351)
- switch to www group for satellite logs (bsc#1185097)
- Fail traditional errata and package actions when they act on retracted items
- Add advisory_status to reposync and ISS
- Add minrate/timeout configuration values for downloading DEB/RPM packages
spacewalk-branding:
- Add the CSS class for retracted errata/packages
spacewalk-certs-tools:
- Add support of DISABLE_LOCAL_REPOS=0 for salt minions (bsc#1185568)
- Add missing environment variable SALT_RUNNING for pkg module to the minion configuration
- Fix typo: activaion -> activation
spacewalk-java:
- Change Prometheus exporters formula data schema to make it more generic and extendable
- Do not require advisory_status to be set in ErrataHandler.create (bsc#1185965)
- Speed up pages to compare or add packages to channels (bsc#1178767)
- Bugfix: Remove the unneeded check that was stopping updating a virtual instance type (bsc#1180673)
- Exclude minions from the list of locally-managed/sandbox systems when copying config files (bsc#1184940)
- Lower case fqdn comparation when calculating minion connection path (bsc#1184849)
- Bugfix: Retracted Patches: Filter minion correctly when executing package install (bsc#1184929)
- Implement retracted…
- Record
SUSE-SU-2021:2098-1- Updated
- 2026-11-02
OSVSUSE-SU-2021:2114-1 No score
Security update for SUSE Manager Server 4.0
This update fixes the following issues:
cobbler:
- Make 'fence_ipmitool' a wrapper for 'fence_ipmilan' using always lanplus (bsc#1184361)
- Remove unused template for fence_ipmitool.
- Prevent some race conditions when writing tftpboot files and the destination directory is not existing (bsc#1186124)
- Fix trail stripping in case of using UTF symbols (bsc#1184561)
grafana-formula:
- Fix Grafana dashboards requiring single series (bsc#1184471)
patterns-suse-manager:
- Add require for py27-compat-salt (salt 3002 does not provide python2-salt anymore)
prometheus-exporters-formula:
- Move exporters configurations to dedicated group
prometheus_exporters - Add formula data schema migration script
- This version changes the formula data schema and is not backwards compatible. Downgrading from this version will require reconfiguring the formula for all your minions.
- Add Ubuntu support for Prometheus exporters' reverse proxy
pxe-default-image-sle15:
- Adapt rpm-properties.xml for containment-rpm-pxe v0.2.1 and newer
py26-compat-salt:
- Prevent command injection in the snapper module (bsc#1185281) (CVE-2021-31607)
spacewalk-backend:
- Maintainer field in debian packages are only recommended (bsc#1186508)
- Switch to www group for satellite logs (bsc#1185097)
spacewalk-java:
- Change Prometheus exporters formula data schema to make it more generic and extendable
- Adapt logging for testing accessability of URLs (bsc#1182817)
- Fix problem reading product_tree.json from wrong location in offline setups (bsc#1184283)
- For a SUSE system get metadata and package from same source (bsc#1184475)
- Check if the directory exists prior to modular data cleanup (bsc#1184311)
- Assign right base product for res8 (bsc#1184005)
- Fix check for for mirrorlist URLs when refreshing products (bsc#1184861)
spacewalk-utils:
- Bugfix for ubuntu-18.04 repo urls: multiverse, restricted and backports
- Add multiverse, restricted and backports to Ubuntu 16.04, 18.04 and 20.04
spacewalk-web:
- Update the WebUI version to 4.0.14
susemanager:
- Add python3-pycryptodome to Ubuntu 18 and 20 bootstrap repos (bsc#1186346)
- Require gio-branding-SLE for SLE15 but not for openSUSE Leap 15
- Add python3-distro to RES8, SLE15 and Ubuntu20.04 bootstrap repositories to fix bootstrapping issues (bsc#1184332)
susemanager-doc-indexes:
- Update for Disconnected Setup chapter in Administration Guide
susemanager-docs_en:
- Update for Disconnected Setup chapter in Administration Guide
susemanager-sls:
- Do not install python2-salt on Salt 3002.2 Docker build hosts (bsc#1185506)
- Fix insecure JMX configuration (bsc#1184617)
- Avoid conflicts with running ioloop on mgr_events engine (bsc#1172711)
tika-core:
- New upstream version 1.26. Fixes:
- Infinite loop in the MP3Parser (bsc#1184892, CVE-2021-28657)
- Out of memory error while loading a file in PDFBox before 2.0.23.
- Infinite loop while loading a file in PDFBox before 2.0.23.
- System.exit vulnerability in Tika's OneNote Parser; out of memory errors and/or infinite loops in Tika's ICNSParser, MP3Parser, MP4Parser, SAS7BDATParser, OneNoteParser and ImageParser.
- Excessive memory usage (DoS) vulnerability in Apache Tika's PSDParser
- Infinite Loop (DoS) vulnerability in Apache Tika's PSDParser
How to apply this update:
- Log in as root user to the SUSE Manager server.
- Stop the Spacewalk service:
spacewalk-service stop - Apply the patch using either zypper patch or YaST Online Update.
- Upgrade the database schema:
spacewalk-schema-upgrade - Start the Spacewalk service:
spacewalk-service start
- Record
SUSE-SU-2021:2114-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
org.apache.tika:tikaMaven |
before 1.25 | 1.25 |
tikaDebian:11 |
All versions, plus listed versions 1.22-21.22-2+deb11u1 |
None known |
org.apache.tika:tikaMaven |
before 1.26, plus listed versions 0.20.31.101.111.12 Show 19 moreShow less1.131.141.151.161.171.181.191.19.11.201.211.221.231.241.24.11.251.61.71.81.9 |
1.26 |
cobblerSUSE:Manager Server Module 4.1 From an advisory covering 2 CVEs |
before 3.0.0+git20190806.32c4bae0-5.11.1 | 3.0.0+git20190806.32c4bae0-5.11.1 |
golang-github-prometheus-node_exporterSUSE:Manager Server Module 4.1 From an advisory covering 2 CVEs |
before 1.1.2-3.6.5 | 1.1.2-3.6.5 |
grafana-formulaSUSE:Manager Server Module 4.1 From an advisory covering 2 CVEs |
before 0.4.1-3.9.2 | 0.4.1-3.9.2 |
patterns-suse-managerSUSE:Manager Server Module 4.1 From an advisory covering 2 CVEs |
before 4.1-6.9.2 | 4.1-6.9.2 |
prometheus-exporters-formulaSUSE:Manager Server Module 4.1 From an advisory covering 2 CVEs |
before 0.9.1-3.22.1 | 0.9.1-3.22.1 |
py26-compat-saltSUSE:Manager Server Module 4.1 From an advisory covering 2 CVEs |
before 2016.11.10-6.14.2 | 2016.11.10-6.14.2 |
py27-compat-saltSUSE:Manager Server Module 4.1 From an advisory covering 2 CVEs |
before 3000.3-6.3.2 | 3000.3-6.3.2 |
Show 40 moreShow less
| Package | Affected | Fixed |
|---|---|---|
spacewalk-adminSUSE:Manager Server Module 4.1 From an advisory covering 2 CVEs |
before 4.1.9-3.12.2 | 4.1.9-3.12.2 |
spacewalk-backendSUSE:Manager Server Module 4.1 From an advisory covering 2 CVEs |
before 4.1.25-4.32.6 | 4.1.25-4.32.6 |
spacewalk-brandingSUSE:Manager Server Module 4.1 From an advisory covering 2 CVEs |
before 4.1.12-3.12.2 | 4.1.12-3.12.2 |
spacewalk-certs-toolsSUSE:Manager Server Module 4.1 From an advisory covering 2 CVEs |
before 4.1.17-3.17.2 | 4.1.17-3.17.2 |
spacewalk-javaSUSE:Manager Server Module 4.1 From an advisory covering 2 CVEs |
before 4.1.36-3.44.1 | 4.1.36-3.44.1 |
spacewalk-utilsSUSE:Manager Server Module 4.1 From an advisory covering 2 CVEs |
before 4.1.16-3.18.2 | 4.1.16-3.18.2 |
spacewalk-webSUSE:Manager Server Module 4.1 From an advisory covering 2 CVEs |
before 4.1.26-3.24.8 | 4.1.26-3.24.8 |
susemanagerSUSE:Manager Server Module 4.1 From an advisory covering 2 CVEs |
before 4.1.26-3.25.1 | 4.1.26-3.25.1 |
susemanager-build-keysSUSE:Manager Server Module 4.1 From an advisory covering 2 CVEs |
before 15.2.4-3.17.1 | 15.2.4-3.17.1 |
susemanager-doc-indexesSUSE:Manager Server Module 4.1 From an advisory covering 2 CVEs |
before 4.1-11.34.8 | 4.1-11.34.8 |
susemanager-docs_enSUSE:Manager Server Module 4.1 From an advisory covering 2 CVEs |
before 4.1-11.34.2 | 4.1-11.34.2 |
susemanager-schemaSUSE:Manager Server Module 4.1 From an advisory covering 2 CVEs |
before 4.1.21-3.30.6 | 4.1.21-3.30.6 |
susemanager-slsSUSE:Manager Server Module 4.1 From an advisory covering 2 CVEs |
before 4.1.28-3.42.1 | 4.1.28-3.42.1 |
susemanager-sync-dataSUSE:Manager Server Module 4.1 From an advisory covering 2 CVEs |
before 4.1.14-3.23.2 | 4.1.14-3.23.2 |
tika-coreSUSE:Manager Server Module 4.1 From an advisory covering 2 CVEs |
before 1.26-3.5.2 | 1.26-3.5.2 |
uyuni-common-libsSUSE:Manager Server Module 4.1 From an advisory covering 2 CVEs |
before 4.1.8-3.9.1 | 4.1.8-3.9.1 |
cobblerSUSE:Manager Server Module 4.0 From an advisory covering 2 CVEs |
before 3.0.0+git20190806.32c4bae0-7.22.3 | 3.0.0+git20190806.32c4bae0-7.22.3 |
grafana-formulaSUSE:Manager Server Module 4.0 From an advisory covering 2 CVEs |
before 0.2.3-4.16.3 | 0.2.3-4.16.3 |
patterns-suse-managerSUSE:Manager Server Module 4.0 From an advisory covering 2 CVEs |
before 4.0-9.19.3 | 4.0-9.19.3 |
prometheus-exporters-formulaSUSE:Manager Server Module 4.0 From an advisory covering 2 CVEs |
before 0.7.6-3.19.3 | 0.7.6-3.19.3 |
pxe-default-image-sle15SUSE:Manager Server Module 4.0 From an advisory covering 2 CVEs |
before 4.0.1-20210621145802 | 4.0.1-20210621145802 |
py26-compat-saltSUSE:Manager Server Module 4.0 From an advisory covering 2 CVEs |
before 2016.11.10-10.28.3 | 2016.11.10-10.28.3 |
py27-compat-saltSUSE:Manager Server Module 4.0 From an advisory covering 2 CVEs |
before 3000.3-4.3.3 | 3000.3-4.3.3 |
spacewalk-backendSUSE:Manager Server Module 4.0 From an advisory covering 2 CVEs |
before 4.0.38-3.47.4 | 4.0.38-3.47.4 |
spacewalk-javaSUSE:Manager Server Module 4.0 From an advisory covering 2 CVEs |
before 4.0.44-3.57.5 | 4.0.44-3.57.5 |
spacewalk-utilsSUSE:Manager Server Module 4.0 From an advisory covering 2 CVEs |
before 4.0.21-3.30.3 | 4.0.21-3.30.3 |
spacewalk-webSUSE:Manager Server Module 4.0 From an advisory covering 2 CVEs |
before 4.0.28-3.45.1 | 4.0.28-3.45.1 |
susemanagerSUSE:Manager Server Module 4.0 From an advisory covering 2 CVEs |
before 4.0.34-3.52.3 | 4.0.34-3.52.3 |
susemanager-doc-indexesSUSE:Manager Server Module 4.0 From an advisory covering 2 CVEs |
before 4.0-10.36.4 | 4.0-10.36.4 |
susemanager-docs_enSUSE:Manager Server Module 4.0 From an advisory covering 2 CVEs |
before 4.0-10.36.3 | 4.0-10.36.3 |
susemanager-slsSUSE:Manager Server Module 4.0 From an advisory covering 2 CVEs |
before 4.0.35-3.48.3 | 4.0.35-3.48.3 |
tika-coreSUSE:Manager Server Module 4.0 From an advisory covering 2 CVEs |
before 1.26-3.6.3 | 1.26-3.6.3 |
tikaUbuntu:16.04:LTS |
All versions, plus listed versions 1.5-21.5-31.5-41.5-4ubuntu0.1 |
None known |
tikaUbuntu:18.04:LTS |
All versions, plus listed versions 1.5-5 |
None known |
tikaUbuntu:Pro:20.04:LTS |
All versions, plus listed versions 1.22-11.22-1ubuntu0.1~esm11.22-1ubuntu0.1~esm21.22-1ubuntu0.1~esm3 |
None known |
tikaUbuntu:Pro:22.04:LTS |
All versions, plus listed versions 1.22-21.22-2ubuntu0.22.04.1~esm11.22-2+deb11u1build0.22.04.11.22-2+deb11u1ubuntu0.1~esm11.22-2+deb11u1ubuntu0.1~esm2 |
None known |
tikaUbuntu:24.04:LTS |
All versions, plus listed versions 1.22-2 |
None known |
tikaUbuntu:25.10 |
All versions, plus listed versions 1.22-2 |
None known |
tikaUbuntu:26.10 |
All versions, plus listed versions 1.22-2 |
None known |
tikaUbuntu:26.04:LTS |
All versions, plus listed versions 1.22-2 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-28657 is a medium vulnerability (CVSS 5.5) in Apache Tika, published March 31, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.74%, the 86th percentile. Fixed in org.apache.tika:tika 1.25.
References
lists.apache.org/thread.html/r915add4aa52c60d1b5cf085039cfa73a98d7fae9673374dfd7744b5a%40%3Cdev.tika.apache.org%3E
lists.apache.org/thread.html/r4cbc3f6981cd0a1a482531df9d44e4c42a7f63342a7ba78b7bff8a1b%40%3Cnotifications.james.apache.org%3E
oracle.com/security-alerts/cpuoct2021.html
security.netapp.com/advisory/ntap-20210507-0004
oracle.com/security-alerts/cpuapr2022.html
nvd.nist.gov/vuln/detail/CVE-2021-28657
Show 50 moreShow less
lists.apache.org/thread.html/r4cbc3f6981cd0a1a482531df9d44e4c42a7f63342a7ba78b7bff8a1b@%3Cnotifications.james.apache.org%3E
github.com/advisories/GHSA-567x-m4wm-87v8
security-tracker.debian.org/tracker/CVE-2021-28657
suse.com/support/update/announcement/2021/suse-su-20212098-1
bugzilla.suse.com/1151558
bugzilla.suse.com/1172711
bugzilla.suse.com/1175216
bugzilla.suse.com/1178767
bugzilla.suse.com/1180673
bugzilla.suse.com/1182744
bugzilla.suse.com/1183573
bugzilla.suse.com/1183649
bugzilla.suse.com/1183845
bugzilla.suse.com/1183864
bugzilla.suse.com/1184005
bugzilla.suse.com/1184286
bugzilla.suse.com/1184311
bugzilla.suse.com/1184332
bugzilla.suse.com/1184351
bugzilla.suse.com/1184361
bugzilla.suse.com/1184471
bugzilla.suse.com/1184475
bugzilla.suse.com/1184561
bugzilla.suse.com/1184617
bugzilla.suse.com/1184849
bugzilla.suse.com/1184892
bugzilla.suse.com/1184929
bugzilla.suse.com/1184940
bugzilla.suse.com/1185042
bugzilla.suse.com/1185097
bugzilla.suse.com/1185281
bugzilla.suse.com/1185506
bugzilla.suse.com/1185568
bugzilla.suse.com/1185965
bugzilla.suse.com/1186025
bugzilla.suse.com/1186124
bugzilla.suse.com/1186346
bugzilla.suse.com/1186508
bugzilla.suse.com/1186765
bugzilla.suse.com/1186852
bugzilla.suse.com/1186858
suse.com/security/cve/CVE-2021-28657
suse.com/security/cve/CVE-2021-31607
suse.com/support/update/announcement/2021/suse-su-20212114-1
bugzilla.suse.com/1182817
bugzilla.suse.com/1184283
bugzilla.suse.com/1184861
ubuntu.com/security/CVE-2021-28657
openwall.com/lists/oss-security/2021/03/30/3
cve.org/CVERecord?id=CVE-2021-28657
Left out here: the rest of 1 source description. The JSON record has them.