ALPINE-CVE-2016-8622
Record from OSV · Published July 31, 2018
The URL percent-encoding decode function in libcurl before 7.51.0 is called `curl_easy_unescape`. Internally, even if this function would be made to allocate a unscape destination buffer larger than 2GB, it would return that new length in a signed 32 bit integer variable, thus the length would get either just truncated or both truncated and turned negative. That could then lead to libcurl writing outside of its heap based buffer.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| curl | Alpine:v3.21 | 7.51.0-r0 |
| curl | Alpine:v3.5 | 7.51.0-r0 |
| curl | Alpine:v3.24 | 7.51.0-r0 |
| curl | Alpine:v3.15 | 7.51.0-r0 |
| curl | Alpine:v3.7 | 7.51.0 |
| curl | Alpine:v3.4 | 7.51.0-r0 |
| curl | Alpine:v3.20 | 7.51.0-r0 |
| curl | Alpine:v3.18 | 7.51.0-r0 |
| curl | Alpine:v3.3 | 7.49.1-r4 |
| curl | Alpine:v3.2 | 7.49.1-r4 |
| curl | Alpine:v3.22 | 7.51.0-r0 |
| curl | Alpine:v3.10 | 7.51.0-r0 |
11 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Alpine:v3.21 | curl | 7.19.7-r1, 7.28.0-r0, 7.21.5-r0 |
| Alpine:v3.5 | curl | 7.31.0-r0, 7.19.2-r1, 7.19.4-r0 |
| Alpine:v3.24 | curl | 0 |
| Alpine:v3.15 | curl | 7.34.0-r1, 0, 7.22.0-r0 |
| Alpine:v3.7 | curl | 0, 7.30.0-r0, 7.28.1-r0 |
| Alpine:v3.4 | curl | 7.50.1-r0, 7.19.6-r0, 0 |
| Alpine:v3.20 | curl | 0, 7.50.3-r0, 7.46.0-r2 |
| Alpine:v3.18 | curl | 7.42.1-r1, 0, 7.19.2-r0 |
| Alpine:v3.3 | curl | 7.21.3-r1, 7.21.5-r0, 7.21.5-r1 |
| Alpine:v3.2 | curl | 0, 7.21.7-r2, 7.26.0-r0 |
| Alpine:v3.22 | curl | 0, 7.19.2-r0, 7.19.5-r0 |
| Alpine:v3.10 | curl | 7.41.0-r0, 7.19.2-r0, 7.19.2-r1 |
| Alpine:v3.19 | curl | 7.32.0-r0, 7.19.2-r0, 7.19.2-r1 |
| Alpine:v3.6 | curl | 0, 7.19.2-r1, 7.19.5-r0 |
| Alpine:v3.23 | curl | 7.41.0-r0, 0, 7.19.2-r0 |
| Alpine:v3.17 | curl | 7.31.0-r0, 7.26.0-r0, 7.34.0-r1 |
| Alpine:v3.9 | curl | 7.42.1-r0, 7.19.4-r0, 7.19.5-r0 |
| Alpine:v3.11 | curl | 0, 7.25.0-r0, 7.28.1-r0 |
| Alpine:v3.16 | curl | 0, 7.19.2-r1, 7.19.4-r0 |
| Alpine:v3.8 | curl | 7.21.0-r0, 7.34.0-r0, 7.21.4-r1 |
…and 3 more
Timeline
- Jul 31, 2018 CVE Published
- Jun 9, 2026 CVE Updated
- Aug 8, 2026 Distribution Patch
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln ALPINE-CVE-2016-8622
vulnetix vdb fixes ALPINE-CVE-2016-8622
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/ALPINE-CVE-2016-8622/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart