Description
Time-of-check Time-of-use (TOCTOU) Race Condition vulnerability in Apache Tomcat.
This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.1, from 10.1.0-M1 through 10.1.33, from 9.0.0.M1 through 9.0.97.
The following versions were EOL at the time the CVE was created but are
known to be affected: 8.5.0 though 8.5.100. Other, older, EOL versions
may also be affected.
The mitigation for CVE-2024-50379 was incomplete.
Users running Tomcat on a case insensitive file system with the default servlet write enabled (readonly initialisation
parameter set to the non-default value of false) may need additional configuration to fully mitigate CVE-2024-50379 depending on which version of Java they are using with Tomcat:
- running on Java 8 or Java 11: the system property sun.io.useCanonCaches must be explicitly set to false (it defaults to true)
- running on Java 17: the system property sun.io.useCanonCaches, if set, must be set to false (it defaults to false)
- running on Java 21 onwards: no further configuration is required (the system property and the problematic cache have been removed)
Tomcat 11.0.3, 10.1.35 and 9.0.99 onwards will include checks that sun.io.useCanonCaches is set appropriately before allowing the default servlet to be write enabled on a case insensitive file system. Tomcat will also set sun.io.useCanonCaches to false by default where it can.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Apache Software Foundation | Apache Tomcat | 11.0.0-M1 – ≤ 11.0.1, 10.1.0-M1 – ≤ 10.1.33, 9.0.0.M1 – ≤ 9.0.97, 8.5.0 – ≤ 8.5.100 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | tomcat10 | 10.1.34-1 | — |
| Debian 14 | tomcat9 | 9.0.70-2 | — |
| Debian 13 | tomcat10 | 10.1.34-1 | — |
| Debian 13 | tomcat9 | 9.0.70-2 | — |
| Debian 12 | tomcat10 | 10.1.34-0+deb12u1 | DSA-5845-1 |
| Debian 12 | tomcat9 | 9.0.70-2 | — |
| Debian 11 | tomcat9 | 9.0.43-2~deb11u11 | DLA-4017-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | tomcat10 | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | tomcat9 | No fix yet | — |
| Ubuntu Pro 20.04 LTS | tomcat9 | No fix yet | — |
| Ubuntu Pro 18.04 LTS | tomcat8 +1 | No fix yet | — |
| Ubuntu Pro 16.04 LTS | tomcat8 | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 10 | tomcat +7 | 1:10.1.36-1.el10_0 | RHSA-2025:7497 |
| RHEL 10 | tomcat9 +7 | 1:9.0.87-5.el10_0.1 | RHSA-2025:11332 |
| RHEL 9 | tomcat +7 | 1:9.0.87-3.el9_6.1 | RHSA-2025:11335 |
| RHEL 8 | tomcat +7 | 1:9.0.87-1.el8_10.4 | RHSA-2025:11333 |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9.4 EUS | tomcat +7 | 1:9.0.87-1.el9_4.4 | RHSA-2025:11334 |
| RHEL 9.2 E4S | tomcat +7 | 1:9.0.87-1.el9_2.4 | RHSA-2025:11381 |
| RHEL 8.8 TUS | tomcat +7 | 1:9.0.87-1.el8_8.5 | RHSA-2025:11382 |
| RHEL 8.8 E4S | tomcat +7 | 1:9.0.87-1.el8_8.5 | RHSA-2025:11382 |
| Red Hat JBoss Web Server 5 | jws5-tomcat +11 | 9.0.87-11.redhat_00010.1.el7jws | RHSA-2025:4521 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 10 | tomcat9 +7 | 1:9.0.87-5.el10_0.1 | ALSA-2025:11332 |
| AlmaLinux 9 | tomcat +7 | 1:9.0.87-3.el9_6.1 | ALSA-2025:11335 |
| AlmaLinux 8 | tomcat +7 | 1:9.0.87-1.el8_10.4 | ALSA-2025:11333 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 10 | tomcat9 | 1:9.0.87-5.el10_0.1 | RLSA-2025:11332 |
| Rocky Linux 9 | tomcat | 1:9.0.87-3.el9_6.1 | RLSA-2025:11335 |
| Rocky Linux 8 | tomcat | 1:9.0.87-1.el8_10.4 | RLSA-2025:11333 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP6 | tomcat | 9.0.98-150200.74.1 | SUSE-SU-2025:1126-1, SUSE-SU-2025:0058-1 |
| SLES 15 SP6 | tomcat10 | 10.1.34-150200.5.31.1 | SUSE-SU-2025:1024-1, SUSE-SU-2025:0033-1 |
| SLES 15 SP5 | tomcat | 9.0.98-150200.74.1 | SUSE-SU-2025:1126-1, SUSE-SU-2025:0058-1 |
| SLES 15 SP5 | tomcat10 | 10.1.34-150200.5.31.1 | SUSE-SU-2025:1024-1, SUSE-SU-2025:0033-1 |
| SLES 15 SP4 | tomcat | 9.0.98-150200.74.1 | SUSE-SU-2025:1126-1, SUSE-SU-2025:0058-1 |
| SLES 15 SP3 | tomcat | 9.0.98-150200.74.1 | SUSE-SU-2025:1126-1, SUSE-SU-2025:0058-1 |
Show 8 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP5 | tomcat | 9.0.98-150200.74.1 | SUSE-SU-2025:1126-1, SUSE-SU-2025:0058-1 |
| SLES for SAP 15 SP5 | tomcat10 | 10.1.34-150200.5.31.1 | SUSE-SU-2025:1024-1, SUSE-SU-2025:0033-1 |
| SLES for SAP 15 SP4 | tomcat | 9.0.98-150200.74.1 | SUSE-SU-2025:1126-1, SUSE-SU-2025:0058-1 |
| SLES for SAP 15 SP3 | tomcat | 9.0.98-150200.74.1 | SUSE-SU-2025:1126-1, SUSE-SU-2025:0058-1 |
| SLE HPC 15 SP5 | tomcat | 9.0.98-150200.74.1 | SUSE-SU-2025:1126-1, SUSE-SU-2025:0058-1 |
| SLE HPC 15 SP5 | tomcat10 | 10.1.34-150200.5.31.1 | SUSE-SU-2025:1024-1, SUSE-SU-2025:0033-1 |
| SLE HPC 15 SP4 | tomcat | 9.0.98-150200.74.1 | SUSE-SU-2025:1126-1, SUSE-SU-2025:0058-1 |
| SLE HPC 15 SP3 | tomcat | 9.0.98-150200.74.1 | SUSE-SU-2025:1126-1, SUSE-SU-2025:0058-1 |
| SUSE Manager Server 4.3 | tomcat | 9.0.98-150200.74.1 | SUSE-SU-2025:1126-1, SUSE-SU-2025:0058-1 |
| SUSE Enterprise Storage 7.1 | tomcat | 9.0.98-150200.74.1 | SUSE-SU-2025:1126-1, SUSE-SU-2025:0058-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | tomcat | 9.0.99-1.1 | openSUSE-SU-2025:14896-1 |
| openSUSE Tumbleweed | tomcat10 | 10.1.35-1.1 | openSUSE-SU-2025:14897-1 |
| openSUSE Leap 15.6 | tomcat | 9.0.98-150200.74.1 | SUSE-SU-2025:1126-1, SUSE-SU-2025:0058-1 |
| openSUSE Leap 15.6 | tomcat10 | 10.1.34-150200.5.31.1 | SUSE-SU-2025:1024-1, SUSE-SU-2025:0033-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | tomcat10 +7 | 1:10.1.34-1.amzn2023.0.1 | ALAS2023-2025-814 |
| Amazon Linux 2023 | tomcat9 +7 | 1:9.0.98-1.amzn2023.0.1 | ALAS2023-2025-813 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 10 | tomcat9 +7 | 1:9.0.87-5.el10_0.1 | ELSA-2025-11332 |
| Oracle Linux 9 | tomcat +7 | 1:9.0.87-3.el9_6.1 | ELSA-2025-11335 |
| Oracle Linux 8 | tomcat +7 | 1:9.0.87-1.el8_10.4 | ELSA-2025-11333 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | thingsboard +4 | 3.9-r1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.apache.tomcat:tomcat-catalina | >= 11.0.0-M1, < 11.0.2 | 11.0.2 | GHSA-27hp-xhwr-wr2m |
| Maven | org.apache.tomcat:tomcat-catalina | >= 10.1.0-M1, < 10.1.34 | 10.1.34 | GHSA-27hp-xhwr-wr2m |
| Maven | org.apache.tomcat:tomcat-embed-core | >= 9.0.0.M1, < 9.0.98 | 9.0.98 | GHSA-27hp-xhwr-wr2m |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | >= 11.0.0-M1, < 11.0.2 | 11.0.2 | GHSA-27hp-xhwr-wr2m |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | >= 10.1.0-M1, < 10.1.34 | 10.1.34 | GHSA-27hp-xhwr-wr2m |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | >= 9.0.0.M1, < 9.0.98 | 9.0.98 | GHSA-27hp-xhwr-wr2m |
Advisories 42
- ALSA-2025:11335 Important: tomcat security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2025:11332 Important: tomcat9 security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2025:11333 Important: tomcat security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2025:7497 Red Hat Security Advisory: tomcat security update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- RHSA-2025:4521 Red Hat Security Advisory: Red Hat JBoss Web Server 5.8.4 release and security update Red Hat Security Advisories (RHSA) · Sep 28, 2026
- RHSA-2025:11381 Red Hat Security Advisory: tomcat security update Red Hat Security Advisories (RHSA) · Sep 28, 2026
- RHSA-2025:11382 Red Hat Security Advisory: tomcat security update Red Hat Security Advisories (RHSA) · Sep 28, 2026
- RHSA-2025:11335 Red Hat Security Advisory: tomcat security update Red Hat Security Advisories (RHSA) · Sep 28, 2026
- RHSA-2025:11333 Red Hat Security Advisory: tomcat security update Red Hat Security Advisories (RHSA) · Sep 28, 2026
- RHSA-2025:11334 Red Hat Security Advisory: tomcat security update Red Hat Security Advisories (RHSA) · Sep 28, 2026
- RHSA-2025:11332 Red Hat Security Advisory: tomcat9 security update Red Hat Security Advisories (RHSA) · Sep 28, 2026
- WID-SEC-2024-3744 Apache Tomcat: Schwachstelle ermöglicht Codeausführung BSI CERT-Bund (WID) · Sep 17, 2026
- WID-SEC-2025-0823 Oracle Communications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 11, 2026
- WID-SEC-2025-0148 Oracle Communications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 11, 2026
- SA26P011 Security Issues addressed in APROL R 4.4-01P5 ABB PSIRT · Jul 6, 2026
- DSA-5845-1 tomcat10 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-4017-1 tomcat9 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2025:14897-1 tomcat10-10.1.35-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2025:14896-1 tomcat-9.0.99-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:0033-1 Security update for tomcat10 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:1126-1 Security update for tomcat SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:0058-1 Security update for tomcat SUSE / openSUSE Security Updates · Feb 4, 2026
- RLSA-2025:11332 Important: tomcat9 security update Rocky Linux Security Advisories · Oct 8, 2025
- RLSA-2025:11335 Important: tomcat security update Rocky Linux Security Advisories · Oct 7, 2025
- RLSA-2025:11333 Important: tomcat security update Rocky Linux Security Advisories · Jul 29, 2025
- ELSA-2025-11332 Important: tomcat9 security update (Oracle Linux 10) Oracle Linux Security Advisories (ELSA) · Jul 17, 2025
- ELSA-2025-11335 Important: tomcat security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Jul 16, 2025
- ELSA-2025-11333 Important: tomcat security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Jul 16, 2025
- SUSE-SU-2025:1024-1 Security update for tomcat10 SUSE / openSUSE Security Updates · May 2, 2025
- NCSC-2025-0119 Kwetsbaarheden verholpen in SAP-producten NCSC-NL (Netherlands) · Apr 30, 2025
- WID-SEC-2025-0719 SAP Patchday April 2025: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 24, 2025
- NCSC-2025-0128 Kwetsbaarheden verholpen in Oracle Fusion Middleware NCSC-NL (Netherlands) · Apr 16, 2025
- NCSC-2025-0127 Kwetsbaarheden verholpen in Oracle Financial Services NCSC-NL (Netherlands) · Apr 16, 2025
- NCSC-2025-0124 Kwetsbaarheden verholpen in Oracle Communications NCSC-NL (Netherlands) · Apr 16, 2025
- WID-SEC-2025-0819 Oracle Financial Services Applications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 15, 2025
- WID-SEC-2025-0818 Oracle Fusion Middleware: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 15, 2025
- WID-SEC-2025-0808 Oracle Supply Chain: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 15, 2025
- ALAS2023-2025-813 Important: tomcat9 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Feb 26, 2025
- ALAS2023-2025-814 Important: tomcat10 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Feb 26, 2025
- NCSC-2025-0041 Kwetsbaarheden verholpen in F5 BIG-IP NCSC-NL (Netherlands) · Feb 11, 2025
- NCSC-2025-0021 Kwetsbaarheden verholpen in Oracle Communications NCSC-NL (Netherlands) · Jan 22, 2025
- NCSC-2025-0020 Kwetsbaarheden verholpen in Oracle Database producten NCSC-NL (Netherlands) · Jan 22, 2025