← Back to CVE Explorer

CVE-2026-115774

Full vulnerability record from the local CVENow database.

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.

Severity
MEDIUM
CVSS score
4.9 (v3.1)
Vulnerability status
Awaiting Analysis
Source identifier
Published
2026-10-23 21:17:22.900000
Last modified
2026-10-29 15:17:18.580000
View original CVE JSON
{
  "id": "CVE-2026-115774",
  "sourceIdentifier": "[email protected]",
  "published": "2026-10-23T21:17:22.900",
  "lastModified": "2026-10-29T15:17:18.580",
  "vulnStatus": "Awaiting Analysis",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "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."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "twisted",
          "product": "twisted",
          "versions": [
            {
              "version": "< 26.10.0rc1",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "[email protected]",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H",
          "baseScore": 4.9,
          "baseSeverity": "MEDIUM",
          "attackVector": "NETWORK",
          "attackComplexity": "LOW",
          "privilegesRequired": "HIGH",
          "userInteraction": "NONE",
          "scope": "UNCHANGED",
          "confidentialityImpact": "NONE",
          "integrityImpact": "NONE",
          "availabilityImpact": "HIGH"
        },
        "exploitabilityScore": 1.2,
        "impactScore": 3.6
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-10-29T14:19:46.890332Z",
          "id": "CVE-2026-115774",
          "options": [
            {
              "exploitation": "poc"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-400"
        },
        {
          "lang": "en",
          "value": "CWE-835"
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://github.com/twisted/twisted/commit/3d125548bcbe955007cb97f480bb699a5e074741",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/twisted/twisted/pull/12764",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/twisted/twisted/releases/tag/twisted-26.10.0rc1",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/twisted/twisted/security/advisories/GHSA-2qrf-pqgx-qh9v",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/twisted/twisted/security/advisories/GHSA-2qrf-pqgx-qh9v",
      "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"
    }
  ]
}