CVE-2023-24537

HIGH7.5EPSS 0.02%

Infinite loop in parsing in go/scanner

Published: 4/5/2023Modified: 4/28/2026

Description

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 packages (4)

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1HIGH7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References (8)