CVE-2005-4836
Apache Tomcat allows remote attackers to read JSP source files
Also known as GHSA-qrcx-p4rr-g48h
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Projects that depend on Maven package org.apache.tomcat:tomcat (>= 4.1.15, <= 4.1.40)
- Anyone running n/a (versions: see the vendor advisory)
Vulnerability facts
- Affected
- org.apache.tomcat:tomcat >= 4.1.15, <= 4.1.40
- Fixed in
- No fix listed yet
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.8 (v2.0, NVD)AV:N/AC:L/Au:N/C:C/I:N/A:N
Show all 6 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Authentication: None
- Confidentiality impact: Complete
- Integrity impact: None
- Availability impact: None
- EPSS
- 3.47% chance of exploitation in 30 days (percentile 90, 2026-11-26)
- CWE
- CWE-200
- Modified
Description
The HTTP/1.1 connector in Apache Tomcat 4.1.15 through 4.1.40 does not reject NULL bytes in a URL when allowLinking is configured, which allows remote attackers to read JSP source files and obtain sensitive information.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.apache.tomcat:tomcat | >= 4.1.15, <= 4.1.40 | — | osv |
| n/a | — | — | nvd |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2005-4836. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2005-4836.md Affected: org.apache.tomcat:tomcat >= 4.1.15, <= 4.1.40 Fixed in: no fixed version listed yet Steps: 1. Search this machine and project for org.apache.tomcat:tomcat (Maven), n/a: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Other
- http://tomcat.apache.org/security-4.html
- http://www.securityfocus.com/bid/28483
- https://lists.apache.org/thread.html/29dc6c2b625789e70a9c4756b5a327e6547273ff8bde7e0327af48c5%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/c62b0e3a7bf23342352a5810c640a94b6db69957c5c19db507004d74%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/rb71997f506c6cc8b530dd845c084995a9878098846c7b4eacfae8db3%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/29dc6c2b625789e70a9c4756b5a327e6547273ff8bde7e0327af48c5@%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/c62b0e3a7bf23342352a5810c640a94b6db69957c5c19db507004d74@%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/rb71997f506c6cc8b530dd845c084995a9878098846c7b4eacfae8db3@%3Cdev.tomcat.apache.org%3E
FAQ
Is CVE-2005-4836 being exploited?
There is no confirmed exploitation: CVE-2005-4836 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 3.47% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2005-4836?
High: CVSS 7.8 (v2.0, scored by NVD). Remote, no login needed.
Which versions are affected by CVE-2005-4836?
org.apache.tomcat:tomcat >= 4.1.15, <= 4.1.40.
Is there a fix for CVE-2005-4836?
No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2005-4836?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.