{"answers":{"affected":"2 open source packages ship an affected version, including modsecurity and modsecurity2. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-42268 exists.","fix":"Upgrade modsecurity to 3.0.15 or later.","what":"CVE-2026-42268 is a high-severity vulnerability in owasp-modsecurity ModSecurity, published on 12 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-42268 and fix it if it is affected.\n\nWhat it is: CVE-2026-42268 is a high-severity vulnerability in owasp-modsecurity ModSecurity, published on 12 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-42268 exists.\n\nAffected packages and fixed versions:\n- modsecurity (Bitnami): affected from 3.0.0; fixed in 3.0.15\n- modsecurity2 (Bitnami): affected from 3.0.0; fixed in 3.0.15\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-42268/ (Markdown: https://insights.sbomify.com/CVE-2026-42268/index.md)","id":"CVE-2026-42268","markdown":"https://insights.sbomify.com/CVE-2026-42268/index.md","name":"CVE-2026-42268","record":{"aliases":["BIT-modsecurity-2026-42268","BIT-modsecurity2-2026-42268","DEBIAN-CVE-2026-42268","GHSA-vwr3-7x7g-7p9w","UBUNTU-CVE-2026-42268"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":true,"product_category":"Web Application Firewall","requires_auth":"none","summary":"An unsigned integer underflow in ModSecurity WAF operators causes an unhandled exception, leading to denial of service when specific rules are configured.","user_interaction":"not_required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"modsecurity","vendor":"owasp"}],"cvss":{"score":8.2,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-248","name":"Uncaught Exception"},{"id":"CWE-191","name":"Integer Underflow (Wrap or Wraparound)"}],"description":"ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx. From 3.0.0 to before 3.0.15, there is an unhandled exception (std::out_of_range) caused by unsigned integer underflow in libmodsecurity3 if the user (administrator) uses a rule any of @verifySSN, @verifyCPF, or @verifySVNR. This vulnerability is fixed in 3.0.15.","ecosystems":["Bitnami"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"ModSecurity: Unsigned integer underflow in @verifySSN / @verifyCPF / @verifySVNR operators","id":"CVE-2026-42268","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"integer_overflow","year":"2026"},"n_packages":2,"n_references":1,"next":{"headline":"countly-server: Path Traversal in delete_import Endpoint Allows Arbitrary File and Directory Deletion","id":"CVE-2026-42269"},"packages":[{"ecosystem":"Bitnami","fixed":["3.0.15"],"introduced":["3.0.0"],"last_affected":[],"package":"modsecurity","purl":"pkg:bitnami/modsecurity","source":"BIT-modsecurity-2026-42268"},{"ecosystem":"Bitnami","fixed":["3.0.15"],"introduced":["3.0.0"],"last_affected":[],"package":"modsecurity2","purl":"pkg:bitnami/modsecurity2","source":"BIT-modsecurity2-2026-42268"}],"prev":{"headline":"Kimai: Formula Injection via tag names in XLSX export","id":"CVE-2026-42267"},"products":["ModSecurity"],"published":"2026-05-12","related":[{"cvss_score":8.6,"headline":"Security feature bypass in ModSecurity","id":"CVE-2026-52747","kev_date_added":null,"published":"2026-07-10"},{"cvss_score":8.6,"headline":"WAF bypass of the ModSecurity v3 release line","id":"CVE-2024-1019","kev_date_added":null,"published":"2024-01-30"},{"cvss_score":8.2,"headline":"libModSecurity3 denial of service via segfault when using t:hexDecode on single-character query strings","id":"CVE-2026-30923","kev_date_added":null,"published":"2026-05-05"},{"cvss_score":7.5,"headline":"ModSecurity has possible DoS vulnerability in sanitiseArg action","id":"CVE-2025-48866","kev_date_added":null,"published":"2025-06-02"},{"cvss_score":7.5,"headline":"Trustwave ModSecurity 3.x before 3.0.10 has Inefficient Algorithmic Complexity.","id":"CVE-2023-38285","kev_date_added":null,"published":"2023-07-26"},{"cvss_score":7.5,"headline":"Denial of service in n/a","id":"CVE-2023-28882","kev_date_added":null,"published":"2023-04-28"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-05-14","vendors":["owasp-modsecurity"]},"summary":"An unsigned integer underflow in ModSecurity WAF operators causes an unhandled exception, leading to denial of service when specific rules are configured.","url":"https://insights.sbomify.com/CVE-2026-42268/"}