CVE-2019-12159: GoHTTP through 2017-07-25 has a stack-based buffer over-read in the scan function (when called from getRequest
CVE-2019-12159 is a high-severity flaw (CVSS 7.5) affecting gohttp. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
GoHTTP through 2017-07-25 has a stack-based buffer over-read in the scan function (when called from getRequestType) via a long URL.
Why this priority
- High severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.5 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 1.3% (top 29%) |
| CISA exploited list | No |
| Weakness | CWE-125 |
| Published | 2019-05-17 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2019-12159?
gohttp: upgrade to newer than 2017-07-25. Exact commands for each OS are on this page.
Is CVE-2019-12159 being exploited?
CVE-2019-12159 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2019-12159 affect?
CVE-2019-12159 affects gohttp. Severity is high (CVSS 7.5). GoHTTP through 2017-07-25 has a stack-based buffer over-read in the scan function (when called from getRequestType) via a long URL.
How urgent is CVE-2019-12159?
Priority 49/100. High severity; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2019-12198 HIGH 7.5 UPGRADE In GoHttp through 2017-07-25, there is a stack-based buffer over-read via a long User-Agent header.
- CVE-2019-12160 CRITICAL 9.8 UPGRADE GoHTTP through 2017-07-25 has a sendHeader use-after-free.
- CVE-2019-12158 CRITICAL 9.8 UPGRADE GoHTTP through 2017-07-25 has a GetExtension heap-based buffer overflow via a long extension.