# CVE-2013-10005: Infinite loop in github.com/btcsuite/go-socks

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.83%, higher than 58% of CVEs (2026-12-01)
- Published: 2021-04-14T20:04:52.000Z
- Modified: 2026-06-16T23:50:30.670Z
- Also known as: GHSA-gxgj-xjcw-fv9p, GO-2020-0024
- Weaknesses: CWE-835
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Go

## Description

The RemoteAddr and LocalAddr methods on the returned net.Conn may call themselves, leading to an infinite loop which will crash the program due to a stack overflow.

(As written by CVE List.)

## Affected

- github.com/btcsuite/go-socks: before 0.0.0-20130808000456-233bccbb1abe
- github.com/btcsuitereleases/go-socks: before 0.0.0-20130808000456-233bccbb1abe
- github.com/btcsuite/go-socks (Go): before 0.0.0-20130808000456-233bccbb1abe
- github.com/btcsuitereleases/go-socks (Go): before 0.0.0-20130808000456-233bccbb1abe
- socks5_project socks5: before 2013-08-07

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/btcsuite/go-socks/commit/233bccbb1abe02f05750f7ace66f5bffdb13defc> (fix, patch, third-party-advisory, web)
- <https://pkg.go.dev/vuln/GO-2020-0024> (patch, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2013-10005> (advisory)
- <https://github.com/btcsuite/go-socks> (package)

## Sources

- CVE List: [CVE-2013-10005](https://www.cve.org/CVERecord?id=CVE-2013-10005), CVE Terms of Use, modified 2025-04-11
- GitHub Advisory Database: [GHSA-gxgj-xjcw-fv9p](https://github.com/advisories/GHSA-gxgj-xjcw-fv9p), CC-BY-4.0, modified 2023-11-08
- Go Vulnerability Database: [GO-2020-0024](https://pkg.go.dev/vuln/GO-2020-0024), CC-BY-4.0, modified 2024-05-20
- NVD: [CVE-2013-10005](https://nvd.nist.gov/vuln/detail/CVE-2013-10005), Public domain, modified 2026-06-16

---

Page: https://cve.day/CVE-2013-10005 · Whole record: https://cve.day/CVE-2013-10005.json · Rebuilt by cve.day 2026-11-25T22:57:18.376Z
