CVE-2025-27110 Libmodsecurity3 has possible bypass of encoded HTML entities
HighCVSS 7.9
EPSS 0.49%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
- Technology
- UbuntuDebian
Description
Libmodsecurity is one component of the ModSecurity v3 project. The library codebase serves as an interface to ModSecurity Connectors taking in web traffic and applying traditional ModSecurity processing. A bug that exists only in Libmodsecurity3 version 3.0.13 means that, in 3.0.13, Libmodsecurity3 can't decode encoded HTML entities if they contains leading zeroes. Version 3.0.14 contains a fix. No known workarounds are available.
Upgrade path
8 packages: 2 fixed, 4 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/modsecurity(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/modsecurity(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/modsecurity(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/modsecurity(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| debian/modsecurity(Debian 13) | < 3.0.14-1 | 3.0.14-1 | Fixed |
| debian/modsecurity(Debian 14) | < 3.0.14-1 | 3.0.14-1 | Fixed |
| owasp-modsecurity ModSecurity | = = 3.0.13 | No fix listed | Versions listed |
| trustwave modsecurity | = 3.0.13 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/modsecurity(Debian:13) | < 3.0.14-1 | 3.0.14-1 |
| debian/modsecurity(Debian:14) | < 3.0.14-1 | 3.0.14-1 |
| owasp-modsecurity ModSecurity | = = 3.0.13 | No fix listed |
| ubuntu/modsecurity(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/modsecurity(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/modsecurity(Ubuntu:26.04) | All versions | No fix listed |
| trustwave modsecurity | = 3.0.13 | No fix listed |
| ubuntu/modsecurity(Ubuntu:26.10) | All versions | No fix listed |
References
- Debian Security Tracker CVE-2025-27110 vendor-advisory
- https://github.com/owasp-modsecurity/ModSecurity/security/advisories/GHSA-42w7-rmv5-4x2j vendor-advisory
- https://github.com/owasp-modsecurity/ModSecurity/issues/3340 exploit issue-tracking
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking