Apache Tomcat - AJP secret compared in non-constant time

Description

Versions Affected:
Apache Tomcat 11.0.0-M1 to 11.0.21
Apache Tomcat 10.1.0-M1 to 10.1.54
Apache Tomcat 9.0.0.M1 to 9.0.117
Older, unsupported versions may also be affected

Description:
The AJP secret was compared in non-constant time allowing an attacker on
the local network to mount a timing attack to determine the AJP secret.

Mitigation:
Users of the affected versions should apply one of the following
mitigations:
- Upgrade to Apache Tomcat 11.0.22 or later
- Upgrade to Apache Tomcat 10.1.55 or later
- Upgrade to Apache Tomcat 9.0.118 or later

Basic information

Type
reviewed
Severity
low
Advisory on GitHub
Open advisory ↗
Repository advisory
Source code
Browse source ↗
Published (advisory)
2026-05-12 18:30:38 UTC
Updated
2026-05-19 14:28:52 UTC
GitHub reviewed
2026-05-19 14:28:51 UTC
NVD published
2026-05-12

EPSS Score

Score Percentile
0.10% 27.13%

CVSS Scores

Base score Version Severity Vector
3.7 3.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:N)
Service keeps running; no real outage angle.

Identifiers

CWEs

CWE id Name
CWE-208 Observable Timing Discrepancy

Affected packages (9)

Vulnerable version ranges and first patched releases as published by GitHub.

Ecosystem Package Vulnerable range First patched Vulnerable functions
maven org.apache.tomcat.embed:tomcat-embed-core < 9.0.118 9.0.118
maven org.apache.tomcat.embed:tomcat-embed-core >= 10.1.0-M1, < 10.1.55 10.1.55
maven org.apache.tomcat.embed:tomcat-embed-core >= 11.0.0-M1, < 11.0.22 11.0.22
maven org.apache.tomcat:tomcat < 9.0.118 9.0.118
maven org.apache.tomcat:tomcat >= 10.1.0-M1, < 10.1.55 10.1.55
maven org.apache.tomcat:tomcat >= 11.0.0-M1, < 11.0.22 11.0.22
maven org.apache.tomcat:tomcat-catalina < 9.0.118 9.0.118
maven org.apache.tomcat:tomcat-catalina >= 10.1.0-M1, < 10.1.55 10.1.55
maven org.apache.tomcat:tomcat-catalina >= 11.0.0-M1, < 11.0.22 11.0.22

References

cvelogic Threat Intelligence