CVEfocus › CVE database › CVE-2026-52747

CVE-2026-52747ModSecurity: Multipart form-data parser silently strips embedded line breaks from…

CVSS 8.6 HighEPSS 0.5% (higher than 33% of CVEs)Published 2026-07-10Updated 2026-07-13Assigner: GitHub_M

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.

CWE-180

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

2Fixed
7Fix pending
3Under investigation
2Will not fix

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10modsecurityFix pendingUBUNTU-CVE-2026-52747
Ubuntu 26.04modsecurityUnder investigationUBUNTU-CVE-2026-52747
Ubuntu 24.04modsecurityUnder investigationUBUNTU-CVE-2026-52747
Ubuntu 22.04modsecurityUnder investigationUBUNTU-CVE-2026-52747
Ubuntu 20.04modsecurityFix pendingUBUNTU-CVE-2026-52747
Debian 14modsecurityFixed3.0.16-1DEBIAN-CVE-2026-52747
Debian 13modsecurityFixed3.0.14-1+deb13u2DEBIAN-CVE-2026-52747
Debian 12modsecurityFix pendingDEBIAN-CVE-2026-52747
Red Hat Enterprise Linux 9mod_securityFix pending
Fix deferred
Red Hat Enterprise Linux 9mod_security-mlogcFix pending
Fix deferred
Red Hat Enterprise Linux 8mod_securityFix pending
Fix deferred
Red Hat Enterprise Linux 8mod_security-mlogcFix pending
Fix deferred
Red Hat Enterprise Linux 7mod_securityWill not fix
Out of support scope
Red Hat Enterprise Linux 7mod_security-mlogcWill 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.

References

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.