CVE-2023-24537: Golang Go

High severity, CVSS 7.5. EPSS: 1.4% chance of exploitation in the next 30 days.

Calling any of the Parse functions on Go source code which contains //line directives with very large line numbers can cause an infinite loop due to integer overflow.

Affected products

  • Golang Go: before 1.19.8 (fixed in 1.19.8); from 1.20.0, before 1.20.3 (fixed in 1.20.3)

Published 2023-04-06. Last modified 2026-06-17.