CVE-2019-3823 json
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.
published 7y ago modified 4mo ago also EUVD-2019-13446
- cvss
- 4.3
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.1%
- EPSS 4.1% chance of exploitation in 30 days, percentile 90%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- haxx libcurl 7.64.0
- curl Debian 14, Debian 13, Debian 12 7.64.0-1
debian advisories DEBIAN-CVE-2019-3823
- curl Ubuntu 14.04 LTS 7.35.0-1ubuntu2.20
- curl Ubuntu 16.04 LTS 7.47.0-1ubuntu2.12
- curl Ubuntu 18.04 LTS 7.58.0-2ubuntu3.6
ubuntu advisories UBUNTU-CVE-2019-3823
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- curl RHEL 8 7.61.1-11.el8
- libcurl RHEL 8 7.61.1-11.el8
- libcurl-minimal RHEL 8 7.61.1-11.el8
red hat advisories RHSA-2019:3701
- curl SLES 12 SP3, SLES 12 SP2-BCL, SLED 12 SP3 +9 more 7.37.0-37.34.1
- curl SLES for SAP 12 SP4, SLES 12 SP4, SLED 12 SP4 +1 more 7.60.0-4.3.1
- curl SLE Module for Basesystem 15 7.60.0-3.17.1
suse advisories SUSE-SU-2019:0249-2SUSE-SU-2019:0339-1SUSE-SU-2019:0249-1SUSE-SU-2019:0248-1
- curl openSUSE Tumbleweed 7.79.1-1.1
- curl openSUSE Leap 15.0 7.60.0-lp150.2.18.1
- curl-mini openSUSE Leap 15.0 7.60.0-lp150.2.18.1
opensuse advisories openSUSE-SU-2024:10582-1openSUSE-SU-2019:0174-1
- curl Alpine 3.24, Alpine 3.23, Alpine 3.22 +13 more 7.64.0-r0
- curl Alpine 3.8, Alpine 3.7, Alpine 3.6 7.61.1-r2
alpine advisories ALPINE-CVE-2019-3823
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Is CVE-2019-3823 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2019-3823 updated cvss 4.3
curl: SMTP end-of-response out-of-bounds read
-
Red Hat .NET Core 1.0 on Red Hat Enterprise Linux rh-dotnetcore10-curl Red Hat .NET Core 1.1 on Red Hat Enterprise Linux rh-dotnetcore11-curl Red Hat .NET Core 2.1 on Red Hat Enterprise Linux rh-dotnet21-curl, rh-dotnet21-libcurl Red Hat .NET Core 2.2 on Red Hat Enterprise Linux rh-dotnet22-curl, rh-dotnet22-libcurlaffected: workaround, no fix planned “Do not use SMTP authentication with curl”
-
Red Hat JBoss Core Services jbcs-httpd24-curl jbcs-httpd24-curl Red Hat Software Collections httpd24-curl, httpd24-libcurlaffected: workaround, no fix available “Do not use SMTP authentication with curl”
-
Red Hat JBoss Core Services Apache HTTP Server 2.4.29 SP2fixed: vendor fix “Do not use SMTP authentication with curl” RHSA-2019:1543
-
Red Hat Enterprise Linux BaseOS (v. 8) curl 7.61.1-11.el8, libcurl 7.61.1-11.el8, libcurl-minimal 7.61.1-11.el8fixed: vendor fix “Do not use SMTP authentication with curl” RHSA-2019:3701
-
Red Hat Enterprise Linux 5 curl Red Hat Enterprise Linux 6 curl, libcurl Red Hat Enterprise Linux 7 curl, libcurl Red Hat JBoss Web Server 5 curlnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-19-099-04 updated cvss 7.5
Siemens SINEMA Remote Connect (Update A)
-
Siemens SINEMA Remote Connect Client All versions < V2.0 HF1affected: fixed in V2.0, mitigation support.industry.siemens.com
-
Siemens SINEMA Remote Connect Server All versions < V2.0affected: vendor fix, mitigation
From CISA ICS and IT advisories (CSAF, https://github.com/cisagov/CSAF), a U.S. Government work; changed: reduced to products, statuses and remediations. CISA notification · csaf
cisa ICSA-21-068-10 updated cvss 7.5
Siemens SCALANCE and SIMATIC libcurl (Update B)
-
Siemens SINEMA Remote Connect Client <V2.0_HF1affected: fixed in V2.0, mitigation
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 6mo ago
Exploit prediction
4.12% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3823 referenced PoC, tagged "exploit" by a source, unverified
- security.netapp.com https://security.netapp.com/advisory/ntap-20190315-0001/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 4.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N |
| NVD | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected products
- The curl Project curl
Classification
- Weakness
-
- CWE-125 Out-of-bounds Read
References
-
bugzilla.redhat.com
/show_bug.cgi?id=CVE-2019-3823
exploit, issue-tracking, patch, third-party-advisory
-
curl.haxx.se
/docs/CVE-2019-3823.html
patch, vendor-advisory
-
oracle.com
/technetwork/security-advisory/cpuapr2019-5072813.html
patch, third-party-advisory
-
security.netapp.com
/advisory/ntap-20190315-0001/
exploit, third-party-advisory
-
security.gentoo.org
/glsa/201903-03
vendor-advisory, third-party-advisory
-
debian.org
/security/2019/dsa-4386
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3882-1/
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2019:3701
vendor-advisory
-
securityfocus.com
/bid/106950
vdb-entry, third-party-advisory
-
lists.apache.org
/thread.html/8338a0f605bdbb3a6098bb76f666a95fc2b2f53f37fa1ecc89f1146f%40%3Cdevnull.infra.apache.org%3E
mailing-list
- oracle.com /technetwork/security-advisory/cpujul2019-5072835.html
- cert-portal.siemens.com /productcert/pdf/ssa-936080.pdf
Sources
- CVE List CVE-2019-3823
- NVD CVE-2019-3823
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.