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 ARGSPOST because src/requestbodyprocessor/multipart.cc overwrites reserved bytes in mreserve 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_ids": [
"CWE-180"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52747.json"
}{
"source": [
"CPE_RANGE",
"REFERENCES"
],
"cpe": "cpe:2.3:a:owasp:modsecurity:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "3.0.16"
}
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-52747.json"
[
{
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"172847367914163763902577858060215230369",
"119965025624261581467155950682354886311",
"86117948540492774593304806802312181345",
"178709695677534367470416503912221656507",
"250512267671779956602397810641455197126"
]
},
"target": {
"file": "src/request_body_processor/multipart.cc"
},
"source": "https://github.com/owasp-modsecurity/modsecurity/commit/875504c2758169c41be1ad2f0cc64d896b7815d7",
"signature_version": "v1",
"id": "CVE-2026-52747-1d33b0e4",
"deprecated": false
},
{
"signature_type": "Function",
"digest": {
"function_hash": "94198314872370756934385654425389990914",
"length": 5163.0
},
"target": {
"function": "Multipart::process_part_data",
"file": "src/request_body_processor/multipart.cc"
},
"source": "https://github.com/owasp-modsecurity/modsecurity/commit/875504c2758169c41be1ad2f0cc64d896b7815d7",
"signature_version": "v1",
"id": "CVE-2026-52747-354231a5",
"deprecated": false
}
]
"2026-08-12T16:25:43Z"