CVE-2025-47947
JSON

7.5high

ModSecurity Has Possible DoS Vulnerability

Severity
7.5high CVSS:3.1 by GitHub_M
Exploit likelihood
0.61% (higher than 50% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
BIT-MODSECURITY-2025-47947BIT-MODSECURITY2-2025-47947GHSA-859r-vvv8-rm8r

Description

ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx. Versions up to and including 2.9.8 are vulnerable to denial of service in one special case (in stable released versions): when the payload's content type is `application/json`, and there is at least one rule which does a `sanitiseMatchedBytes` action. A patch is available at pull request 3389 and expected to be part of version 2.9.9. No known workarounds are available.

Affected

Product or packageVersionsReported by
owasp-modsecurity ModSecurity<= 2.9.8CVE List
trustwave modsecuritybefore 2.9.9NVD
modsecurity (Bitnami)before 3.0.12Bitnami Vulnerability Database
modsecurity2 (Bitnami)before 2.9.9Bitnami Vulnerability Database

All scores

GitHub_M7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Bitnami Vulnerability Databasehigh rating

Classification

CWE-1050

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.

What each source says

CVE List

ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx. Versions up to and including 2.9.8 are vulnerable to denial of service in one special case (in stable released versions): when the payload's content type is `application/json`, and there is at least one rule which does a `sanitiseMatchedBytes` action. A patch is available at pull request 3389 and expected to be part of version 2.9.9. No known workarounds are available.

NVD (es)

ModSecurity es un motor de firewall de aplicaciones web (WAF) multiplataforma de código abierto para Apache, IIS y Nginx. Las versiones hasta la 2.9.8 incluida son vulnerables a denegación de servicio en un caso especial (en versiones estables): cuando el tipo de contenido del payload es `application/json` y existe al menos una regla que ejecuta la acción `sanitiseMatchedBytes`. Hay un parche disponible en la solicitud de incorporación de cambios 3389 y se espera que forme parte de la versión 2.9.9. No se conocen workarounds.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-47947 changed 2025-05-22CVE Terms of Use
NVDCVE-2025-47947 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-MODSECURITY-2025-47947 changed 2026-09-08Apache-2.0
Bitnami Vulnerability DatabaseBIT-MODSECURITY2-2025-47947 changed 2026-09-08Apache-2.0