# CVE-2021-43523: In uClibc and uClibc-ng before 1.0.39, incorrect handling of special characters in domain names returned by DNS servers via gethostbyname,…

- Severity: Critical 9.6 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- 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): 3.07%, higher than 88% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-11-10T14:03:56.000Z
- Modified: 2026-06-17T04:11:04.027Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: mitre

## Description

In uClibc and uClibc-ng before 1.0.39, incorrect handling of special characters in domain names returned by DNS servers via gethostbyname, getaddrinfo, gethostbyaddr, and getnameinfo can lead to output of wrong hostnames (leading to domain hijacking) or injection into applications (leading to remote code execution, XSS, applications crashes, etc.). In other words, a validation step, which is expected in any stub resolver, does not occur.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- uclibc uclibc: up to 0.9.33.2
- uclibc-ng_project uclibc-ng: before 1.0.39

## Every score

- CISA-ADP: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://www.openwall.com/lists/oss-security/2021/11/09/1> (exploit, mailing-list, third-party-advisory)
- <https://uclibc-ng.org/> (vendor-advisory)
- <https://github.com/wbx-github/uclibc-ng/commit/0f822af0445e5348ce7b7bd8ce1204244f31d174> (patch, third-party-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2021-43523 · Whole record: https://cve.day/CVE-2021-43523.json · Rebuilt by cve.day 2026-11-25T22:24:35.963Z
