cve.bz

CVE-2026-104259

5.4 mediumEPSS 0.2%

Medium (5.4) in owasp-modsecurity modsecurity. EPSS 0.2% 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.2% estimated probability of exploitation activity in the next 30 days; 13th percentile. Scored 2026-11-10. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-670 Always-Incorrect Control Flow Implementation
Published
Assigned by
GitHub_M (CNA)
NVD analysis
Not in the NVD yet
Record from
the CVE List, 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

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

References

Check your stackJSON