# CVE-2019-19240: Embedthis GoAhead before 5.0.1 mishandles redirected HTTP requests with a large Host header.

- Severity: Medium 5.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- 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): 1.54%, higher than 75% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2019-11-22T18:46:04.000Z
- Modified: 2026-06-17T02:26:21.013Z
- Weaknesses: CWE-787, CWE-908
- Assigned by: mitre

## Description

Embedthis GoAhead before 5.0.1 mishandles redirected HTTP requests with a large Host header. The GoAhead WebsRedirect uses a static host buffer that has a limited length and can overflow. This can cause a copy of the Host header to fail, leaving that buffer uninitialized, which may leak uninitialized data in a response.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- embedthis goahead: before 5.0.1

## Every score

- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://github.com/embedthis/goahead/issues/289> (exploit, third-party-advisory)
- <https://github.com/embedthis/goahead/issues/290> (third-party-advisory)
- <https://github.com/embedthis/goahead/releases/tag/v5.0.1> (release-notes)

## Sources

- CVE List: [CVE-2019-19240](https://www.cve.org/CVERecord?id=CVE-2019-19240), CVE Terms of Use, modified 2024-08-05
- NVD: [CVE-2019-19240](https://nvd.nist.gov/vuln/detail/CVE-2019-19240), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-19240 · Whole record: https://cve.day/CVE-2019-19240.json · Rebuilt by cve.day 2026-11-25T22:57:48.154Z
