cve.bz

CVE-2026-104259 owasp-modsecurity modsecurity

5.4 mediumEPSS 0.4%

Medium (5.4) in owasp-modsecurity modsecurity. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx. Prior to 2.9.15 and 3.0.17, msre_fn_removeComments_execute in apache2/re_tfns.c and inplace() in src/actions/transformations/remove_comments.cc implement t:removeComments by copying the character immediately after a comment terminator without re-evaluating it. Adjacent comments can therefore leave a later comment in the transformed value, allowing inline-comment obfuscation to bypass rules that depend on comment stripping. When a comment terminator is the final content, the same copy reads one byte beyond the input buffer. This issue is fixed in versions 2.9.15 and 3.0.17.

Severity

CVSS 3.1

5.4 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
EPSS
0.4% (up from 0.2% a week ago) estimated probability of exploitation activity in the next 30 days; 21st percentile. Scored 2026-11-30. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-11-10. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-670 Always-Incorrect Control Flow Implementation
Published
Modified
Assigned by
GitHub_M (CNA)
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain CVE-2026-104259 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-104259?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-104259?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-104259 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
owasp-modsecurity ModSecurity< 2.9.15
owasp-modsecurity ModSecurity>= 3.0.0, < 3.0.17

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14modsecurity, modsecurity-apacheno fix listedDEBIAN-CVE-2026-104259
Ubuntu20.04:LTS, 22.04:LTS, 24.04:LTSmodsecurityno fix listedUBUNTU-CVE-2026-104259
Ubuntu26.04:LTS, 26.10modsecurity, modsecurity-apacheno fix listedUBUNTU-CVE-2026-104259
UbuntuPro:14.04:LTS, Pro:16.04:LTS, Pro:18.04:LTS and 3 moremodsecurity-apacheno fix listedUBUNTU-CVE-2026-104259
Azure Linux3mod_securityno fix listedAZL-113368

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

History

  1. The NVD deferred its analysis

Changes since this site first stored the record. The same for every record: /api/public/changes.

References

Check your stackJSON