{"answers":{"affected":"2 open source packages ship an affected version, including Twisted and twisted.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-115774 exists.","fix":"Upgrade Twisted to 26.10.0rc1 or later.","what":"CVE-2026-115774 is a medium-severity vulnerability in twisted, published on 23 Oct 2026."},"fix_prompt":"Check this codebase for CVE-2026-115774 and fix it if it is affected.\n\nWhat it is: CVE-2026-115774 is a medium-severity vulnerability in twisted, published on 23 Oct 2026. \nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-115774 exists.\n\nAffected packages and fixed versions:\n- Twisted (PyPI): affected all versions; fixed in 26.10.0rc1\n- twisted (PyPI): affected all versions; fixed in 26.10.0rc1\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-115774/ (Markdown: https://insights.sbomify.com/CVE-2026-115774/index.md)","id":"CVE-2026-115774","markdown":"https://insights.sbomify.com/CVE-2026-115774/index.md","name":"CVE-2026-115774","record":{"aliases":["AZL-111416","DEBIAN-CVE-2026-115774","ECHO-f150-d773-3934","GHSA-2qrf-pqgx-qh9v","UBUNTU-CVE-2026-115774"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[],"cvss":{"score":4.9,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-835","name":"Loop with Unreachable Exit Condition"},{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"description":"Twisted is an event-based framework for internet applications, supporting Python 3.6+. Prior to 26.10.0rc1, twisted.mail.imap4.IMAP4Server reaches twisted.mail.imap4.parseNestedParens with a negative literal size in an authenticated SEARCH command after the client enters the selected mailbox state. The negative size moves the parser cursor below zero, and Python's negative indexing prevents the synchronous scanning loop from terminating. The loop freezes the single-threaded reactor, stopping other IMAP connections and any SMTP or POP3 services hosted in the same process until restart. This issue is fixed in version 26.10.0rc1.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Twisted: Denial of Service in the Twisted IMAP4 Server via a Negative Literal Size in SEARCH","id":"CVE-2026-115774","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":null,"year":"2026"},"n_packages":2,"n_references":4,"next":{"headline":"Twisted: Unauthenticated Remote Denial of Service in the Twisted words domish XML Element Stream via an Unbounded Element Tree","id":"CVE-2026-115775"},"packages":[{"ecosystem":"PyPI","fixed":["26.10.0rc1"],"introduced":["0"],"last_affected":[],"package":"Twisted","purl":null,"source":"GHSA-2qrf-pqgx-qh9v"},{"ecosystem":"PyPI","fixed":["26.10.0rc1"],"introduced":["0"],"last_affected":[],"package":"twisted","purl":"pkg:pypi/twisted","source":"GHSA-2qrf-pqgx-qh9v"}],"prev":{"headline":"serialize-javascript 7.0.1 before 7.1.3 XSS via unescaped \u003c/script in function body","id":"CVE-2026-115754"},"products":["twisted"],"published":"2026-10-23","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-29","vendors":["twisted"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-115774/"}