---
id: CVE-2023-43620
aliases:
  - GHSA-364c-vvqx-446c
  - GO-2023-2068
title: >-
  Croc sender may place ANSI or CSI escape sequences in filename to attach
  receiver's terminal device
summary: >-
  Croc sender may place ANSI or CSI escape sequences in filename to attach
  receiver's terminal device
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'
vendor: schollz
product: github.com/schollz/croc/v9
ecosystem: go
affected:
  - github.com/schollz/croc/v9 < 9.6.16
patched:
  - github.com/schollz/croc/v9 9.6.16
published: '2023-09-20'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T03:50:03.177529293Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-364c-vvqx-446c'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2023-43620'
  - url: 'https://github.com/schollz/croc/issues/595'
  - url: 'https://github.com/schollz/croc/pull/697'
  - url: >-
      https://github.com/schollz/croc/commit/3f12f75fae2e844c555ec01eeba0b8474938e93a
  - url: 'https://github.com/schollz/croc'
  - url: 'https://www.openwall.com/lists/oss-security/2023/09/08/2'
  - url: 'http://www.openwall.com/lists/oss-security/2023/09/21/5'
tags:
  - osv
  - go
epss: 0.00365
epssPercentile: 0.27585
ingestedAt: '2026-09-12T03:13:01.748Z'
---

## Overview

An issue was discovered in Croc before 9.6.16. A sender may place ANSI or CSI escape sequences in a filename to attack the terminal device of a receiver. 

## Affected packages

- `github.com/schollz/croc/v9 < 9.6.16`

## Remediation

Upgrade to a patched release:

- `github.com/schollz/croc/v9 9.6.16`
