CVE-2026-52747ModSecurity: Multipart form-data parser silently strips embedded line breaks from…
ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx. Prior to 3.0.16, the multipart/form-data request body parser in libmodsecurity silently removes embedded line breaks from non-file form-field values before exporting them to ARGS and ARGS_POST because src/request_body_processor/multipart.cc overwrites reserved bytes in m_reserve instead of appending the current buffer. This creates a parser differential between ModSecurity and backend applications that preserve line breaks in form fields, allowing rules that inspect ARGS or ARGS_POST to miss payloads whose dangerous syntax depends on a line break. This issue is fixed in version 3.0.16.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | modsecurity | Fix pending | UBUNTU-CVE-2026-52747 | |
| Ubuntu 26.04 | modsecurity | Under investigation | UBUNTU-CVE-2026-52747 | |
| Ubuntu 24.04 | modsecurity | Under investigation | UBUNTU-CVE-2026-52747 | |
| Ubuntu 22.04 | modsecurity | Under investigation | UBUNTU-CVE-2026-52747 | |
| Ubuntu 20.04 | modsecurity | Fix pending | UBUNTU-CVE-2026-52747 | |
| Debian 14 | modsecurity | Fixed | 3.0.16-1 | DEBIAN-CVE-2026-52747 |
| Debian 13 | modsecurity | Fixed | 3.0.14-1+deb13u2 | DEBIAN-CVE-2026-52747 |
| Debian 12 | modsecurity | Fix pending | DEBIAN-CVE-2026-52747 | |
| Red Hat Enterprise Linux 9 | mod_security | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | mod_security-mlogc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mod_security | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mod_security-mlogc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | mod_security | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | mod_security-mlogc | Will not fix Out of support scope |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- owasp-modsecurity ModSecurity: affected: < 3.0.16
References
- https://github.com/owasp-modsecurity/ModSecurity/security/advisories/GHSA-rcw9-2f5r-7p88
- https://github.com/owasp-modsecurity/ModSecurity/commit/875504c2758169c41be1ad2f0cc64d896b7815d7
- https://github.com/owasp-modsecurity/ModSecurity/releases/tag/v3.0.16
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.