# CVE-2019-3823: SMTP end-of-response out-of-bounds read

- Severity: Medium 4.3 (CVSS:3.0, scored by redhat) `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/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): 4.15%, higher than 91% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2019-02-06T08:00:00.000Z
- Modified: 2026-10-25T01:04:54.015Z
- Also known as: CURL-CVE-2019-3823
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## Description

libcurl versions from 7.34.0 to before 7.64.0 are vulnerable to a heap out-of-bounds read in the code handling the end-of-response for SMTP. If the buffer passed to `smtp_endofresp()` isn't NUL terminated and contains no character ending the parsed number, and `len` is set to 5, then the `strtol()` call reads beyond the allocated buffer. The read contents will not be returned to the caller.

(As written by CVE List.)

## Affected

- The curl Project curl: 7.64.0
- https://github.com/curl/curl.git: from 7.34.0 before 7.64.0; from 2766262a68688c1dd8143f9c4be84b46c408b70a before 39df4073e5413fcdbb5a38da0c1ce6f1c0ceb484
- haxx libcurl: from 7.34.0 before 7.64.0
- canonical ubuntu_linux: 14.04; 16.04; 18.04; 18.10
- debian debian_linux: 9.0
- netapp clustered_data_ontap: no versions given
- oracle communications_operations_monitor: 3.4; 4.0
- oracle http_server: 12.2.1.3.0
- oracle secure_global_desktop: 5.4

## Every score

- redhat: CVSS:3.0 4.3 Medium `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N`
- curl: rating Low
- NVD: CVSS:3.0 7.5 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3823> (exploit, issue-tracking, patch, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20190315-0001/> (exploit, third-party-advisory)
- <https://security.gentoo.org/glsa/201903-03> (third-party-advisory, vendor-advisory)
- <https://www.debian.org/security/2019/dsa-4386> (third-party-advisory, vendor-advisory)
- <https://curl.haxx.se/docs/CVE-2019-3823.html> (patch, vendor-advisory)
- <https://usn.ubuntu.com/3882-1/> (third-party-advisory, vendor-advisory)
- <http://www.securityfocus.com/bid/106950> (third-party-advisory, vdb-entry)
- <https://lists.apache.org/thread.html/8338a0f605bdbb3a6098bb76f666a95fc2b2f53f37fa1ecc89f1146f%40%3Cdevnull.infra.apache.org%3E> (mailing-list)
- <https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html> (patch, third-party-advisory)
- <https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html>
- <https://access.redhat.com/errata/RHSA-2019:3701> (vendor-advisory)
- <https://cert-portal.siemens.com/productcert/pdf/ssa-936080.pdf>

## Sources

- CVE List: [CVE-2019-3823](https://www.cve.org/CVERecord?id=CVE-2019-3823), CVE Terms of Use, modified 2026-04-15
- curl: [CURL-CVE-2019-3823](https://osv.dev/vulnerability/CURL-CVE-2019-3823), MIT, modified 2026-10-25
- NVD: [CVE-2019-3823](https://nvd.nist.gov/vuln/detail/CVE-2019-3823), Public domain, modified 2026-06-17

---

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