AI Science Tracker

SFTP client double-free from server-controlled status packet

libssh2 SFTP client · AI involvement attributed to Claude Mythos Preview

Finding and attribution

The SFTP client’s handling of an SSH_FXP_STATUS packet can free the same server-controlled response buffer twice on an error path. The finding page says a malicious or compromised SSH server can trigger the condition in a connecting client.

Product: libssh2 SFTP client. AI system: Claude Mythos Preview. Team / organization: Anthropic.

CVE identifiers: CVE-2026-66032.

AI and human contribution (source account): Anthropic’s item-specific CVD page says the issue was discovered by Claude Mythos Preview; it separately states Anthropic’s security team triaged the report with Anthropic Research. Calif performed external triage and the dashboard records a true-positive verdict. Anthropic states no reproducer or sanitizer output is attached to the public report.

Human involvement is only described where the source account establishes it; unknown involvement does not mean none. Vendor confirmation of a flaw does not confirm every claim about AI contribution.

Discovery context: The public GHSA was published July 24, 2026 and Anthropic’s individual finding page records public reveal on August 17. The cited sources establish disclosure but do not claim exploitation in the wild or zero-day status.

Remediation status: fix documented. libssh2 commit 5e4776146552d898b9c0e1b313cd093fa8dc92d0 nulls the freed pointer; Anthropic lists the patch release on 2026-07-02. The GHSA identifies libssh2 through 1.11.1 as affected and references that upstream commit.

A source-documented fix does not establish installed patches or current safety. Source checking does not independently reproduce the finding or establish observed exploitation.

Disclosed 24 Jul 2026. AI attribution dated 17 Aug 2026. Sources checked 14 Nov 2026; these are separate dates, not a live installation check.

Recorded CVSS: High · highest recorded score 8.8. Documented technical effects: other.

Severity, consequences and exploitation evidence

Case grouping uses the highest recorded CVSS score, with its version-specific severity band. It is descriptive, not a combined or editorial risk index. All recorded assessments remain below; scores from different versions and sources may disagree. CVSS specifications define version-specific scoring and severity bands.

  • CVE-2026-66032: CVSS 4.0 · 8.7 (High) · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N · Assessment scenarios: GENERAL. VulnCheck (CNA; CVE Program record) · checked 16 Nov 2026.
  • CVE-2026-66032: CVSS 3.1 · 8.8 (High) · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H · Assessment scenarios: GENERAL. VulnCheck (CNA; CVE Program record) · checked 16 Nov 2026.

CVE-2026-66032: other.
Prerequisites / affected scope: libssh2 through 1.11.1, fixed in commit 5e47761, contains a double-free vulnerability in the sftp_open() function in src/sftp.c that allows a malicious SSH server to corrupt the heap of any authenticated client opening an SFTP session. When a server responds to SSH_FXP_OPEN with SSH_FXP_STATUS containing FX_OK, the response data buffer is freed, and if a subsequent sftp_packet_require() call returns a specific error such as LIBSSH2_ERROR_CHANNEL_PACKET_EXCEEDED, the same pointer is freed a second time, enabling tcache dup conditions on glibc systems that allow overlapping allocations and function pointer overwrites. Double Free.
Exploitation evidence: The cited source does not state whether this issue was exploited in the wild.. Impact source · checked 16 Nov 2026.

Documented fix: libssh2 commit 5e4776146552d898b9c0e1b313cd093fa8dc92d0 nulls the freed pointer; Anthropic lists the patch release on 2026-07-02. The GHSA identifies libssh2 through 1.11.1 as affected and references that upstream commit.

Original evidence

Download this source record (JSON)

Open this case in the interactive tracker · Browse all static security cases