Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2024-52316: Unchecked Error Condition vulnerability in Apache Tomcat

71
This week
CRITICAL 9.8REMOTEWATCHLISTUPGRADEMITIGATE

CVE-2024-52316 is a critical-severity flaw (CVSS 9.8) affecting tomcat, debian linux. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

Unchecked Error Condition vulnerability in Apache Tomcat. If Tomcat is configured to use a custom Jakarta Authentication (formerly JASPIC) ServerAuthContext component which may throw an exception during the authentication process without explicitly setting an HTTP status to indicate failure, the authentication may not fail, allowing the user to bypass the authentication process. There are no known Jakarta Authentication components that behave in

Why this priority

  • Critical severity
  • EPSS top 6%: very likely to be exploited
  • CISA SSVC: automatable with total technical impact
  • Remotely exploitable, no login, no user action
  • On your watchlist

A fixed release or distro patch exists.

Risk facts

CVSS score9.8 (Critical)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance6.2% (top 6%)
CISA exploited listNo
WeaknessCWE-391, CWE-754
Published2024-11-18
Last modified2026-06-17
Publisher (CNA): Apache Software Foundation · Vendor: apache · debian

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

apache tomcat UPGRADE
Affected: >= 9.0.0 and < 9.0.96 · >= 10.1.0 and < 10.1.31 · 11.0.0 milestone1 · 11.0.0 milestone10 · 11.0.0 milestone11 · 11.0.0 milestone12 · 11.0.0 milestone13 · 11.0.0 milestone14
Fixed in: 9.0.96, 10.1.31
Safe to downgrade to: a release before 9.0.0
1. Check installed version
apt-cache policy tomcat || rpm -q tomcat || tomcat --version
2. UPGRADE to 9.0.96 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade tomcat
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade tomcat
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 9.0.0 (Debian / Ubuntu)
apt-cache madison tomcat sudo apt install tomcat=<VERSION_BEFORE_9.0.0> sudo apt-mark hold tomcat
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list tomcat sudo dnf downgrade tomcat-<VERSION_BEFORE_9.0.0> sudo dnf versionlock add tomcat
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
debian debian linux MITIGATE
Affected: 11.0
Fixed in: no fixed release known
Safe to downgrade to: a release before 11.0
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.

Exact fixes by distribution

A distro patch exists: prefer upgrading over downgrading.
Maven · org.apache.tomcat:tomcat-catalina · FIXED · 9.0.96 · vulnerable: < 9.0.96 · source
Set org.apache.tomcat:tomcat-catalina to 9.0.96 or later in pom.xml or build.gradle, then rebuild and redeploy.
Fedora 46 · byobu · FIXED · 7.23-1.fc46 · FEDORA-2026-08f2b53446 · source
sudo dnf upgrade --advisory=FEDORA-2026-08f2b53446
Ubuntu 20.04 · tomcat9 · NO FIX YET
Ubuntu 22.04 · tomcat9 · NO FIX YET
Ubuntu 24.04 · tomcat9 · NOT AFFECTED
Ubuntu 25.04 · tomcat9 · NOT AFFECTED
Ubuntu 25.10 · tomcat9 · NOT AFFECTED
Debian 12 · tomcat10 · FIXED · 10.1.34-0+deb12u1
sudo apt update && sudo apt install --only-upgrade tomcat10 dpkg --compare-versions "$(dpkg-query -W -f='${Version}' tomcat10)" ge "10.1.34-0+deb12u1" && echo PATCHED || echo STILL-VULNERABLE
Debian 13 · tomcat10 · FIXED · 10.1.31-1
sudo apt update && sudo apt install --only-upgrade tomcat10 dpkg --compare-versions "$(dpkg-query -W -f='${Version}' tomcat10)" ge "10.1.31-1" && echo PATCHED || echo STILL-VULNERABLE
Debian 12 · tomcat9 · FIXED · 9.0.70-2
sudo apt update && sudo apt install --only-upgrade tomcat9 dpkg --compare-versions "$(dpkg-query -W -f='${Version}' tomcat9)" ge "9.0.70-2" && echo PATCHED || echo STILL-VULNERABLE
Debian 13 · tomcat9 · FIXED · 9.0.70-2
sudo apt update && sudo apt install --only-upgrade tomcat9 dpkg --compare-versions "$(dpkg-query -W -f='${Version}' tomcat9)" ge "9.0.70-2" && echo PATCHED || echo STILL-VULNERABLE
RHEL 10 · tomcat · FIXED · tomcat-10.1.36-1.el10_0
sudo dnf upgrade --advisory=RHSA-2025:7497 rpm -q tomcat
RHEL 8 · tomcat · FIXED · tomcat-9.0.120-1.el8_10
sudo dnf upgrade --advisory=RHSA-2026:68677 rpm -q tomcat
RHEL 8.8 Telecommunications Update Service · tomcat · FIXED · tomcat-9.0.120-1.el8_8
sudo dnf upgrade --advisory=RHSA-2026:68680 rpm -q tomcat
RHEL 8.8 Update Services for SAP Solutions · tomcat · FIXED · tomcat-9.0.120-1.el8_8
sudo dnf upgrade --advisory=RHSA-2026:68680 rpm -q tomcat
RHEL 9 · tomcat · FIXED · tomcat-9.0.110-2.el9_8
sudo dnf upgrade --advisory=RHSA-2026:18916 rpm -q tomcat
Amazon Linux 2023 · see advisory · FIXED · ALAS2023-2025-814 · source
sudo dnf update --advisory=ALAS2023-2025-814

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2024-52316?

tomcat: upgrade to 9.0.96, 10.1.31; debian linux: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.

Is CVE-2024-52316 being exploited?

CVE-2024-52316 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2024-52316 affect?

CVE-2024-52316 affects tomcat, debian linux. Severity is critical (CVSS 9.8). Unchecked Error Condition vulnerability in Apache Tomcat. If Tomcat is configured to use a custom Jakarta Authentication (formerly JASPIC) ServerAuthContext component which may throw an exception during the authentication process without ex

How urgent is CVE-2024-52316?

Priority 71/100. Critical severity; EPSS top 6%: very likely to be exploited; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action; On your watchlist

Software pages

Apache Tomcat vulnerabilities · Debian vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.