# CVE-2020-10531: Integer overflow in n/a

> An integer overflow in ICU's UnicodeString::doAppend() leads to a heap-based buffer overflow, potentially allowing code execution or denial of service.

- **Severity:** High 8.8 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** A user has to click or open something
- **Fix available:** Yes
- **Published:** 12 Mar 2020
- **Updated:** 14 Oct 2026
- **Also known as:** ALPINE-CVE-2020-10531, ALSA-2020:0902, ALSA-2020:1293, ALSA-2020:1317, BIT-node-2020-10531, BIT-node-min-2020-10531, CLEANSTART-2026-YT20179, DEBIAN-CVE-2020-10531, DLA-2151-1, DSA-4646-1, GHSA-8xp2-qvq2-xhpx, JLSEC-2026-58, RHSA-2020:0896, RHSA-2020:0897, RHSA-2020:0901, RHSA-2020:0902, RHSA-2020:1293, RHSA-2020:1317, RHSA-2020:1343, RLSA-2020:0902, RLSA-2020:1293, RLSA-2020:1317, SUSE-OU-2024:0647-1, SUSE-SU-2020:0819-1, SUSE-SU-2020:0819-2, SUSE-SU-2020:1180-1, UBUNTU-CVE-2020-10531, USN-4305-1, openSUSE-SU-2020:0459-1

## What is CVE-2020-10531?

CVE-2020-10531 is a high-severity vulnerability in Canonical Ubuntu Linux, published on 12 Mar 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

### Official description

An issue was discovered in International Components for Unicode (ICU) for C/C++ through 66.1. An integer overflow, leading to a heap-based buffer overflow, exists in the UnicodeString::doAppend() function in common/unistr.cpp.

Weakness: CWE-787 (Out-of-bounds Write), CWE-190 (Integer Overflow or Wraparound)

## Which versions are affected by CVE-2020-10531?

2 open source packages ship an affected version, including node and node-min. It affects 11 products.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `node` | Bitnami | From 10.13.0 | 10.21.0 |
| `node-min` | Bitnami | From 10.13.0 | 10.21.0 |
| `icu` | AlmaLinux:8 | All versions | 60.3-2.el8_1 |
| `libicu` | AlmaLinux:8 | All versions | 60.3-2.el8_1 |
| `libicu-devel` | AlmaLinux:8 | All versions | 60.3-2.el8_1 |
| `libicu-doc` | AlmaLinux:8 | All versions | 60.3-2.el8_1 |
| `nodejs-nodemon` | AlmaLinux:8 | All versions | 1.18.3-1.module_el8.3.0+2023+d2377ea3 |
| `nodejs-nodemon` | AlmaLinux:8 | All versions | 1.18.3-1.module_el8.3.0+2023+d2377ea3 |
| `nodejs-nodemon` | AlmaLinux:8 | All versions | 1.18.3-1.module_el8.3.0+2047+b07ac28e |
| `nodejs-nodemon` | AlmaLinux:8 | All versions | 1.18.3-1.module_el8.3.0+2047+b07ac28e |
| `nodejs-packaging` | AlmaLinux:8 | All versions | 17-3.module_el8.3.0+2023+d2377ea3 |
| `nodejs-packaging` | AlmaLinux:8 | All versions | 17-3.module_el8.3.0+2023+d2377ea3 |
| `nodejs-packaging` | AlmaLinux:8 | All versions | 17-3.module_el8.4.0+2224+b07ac28e |
| `nodejs-packaging` | AlmaLinux:8 | All versions | 17-3.module_el8.4.0+2224+b07ac28e |
| `nodejs-packaging` | AlmaLinux:8 | All versions | 17-3.module_el8.4.0+2521+c668cc9f |
| `nodejs-packaging` | AlmaLinux:8 | All versions | 17-3.module_el8.4.0+2521+c668cc9f |
| `icu` | Red Hat:enterprise_linux:6::client | All versions | 0:4.2.1-15.el6_10 |
| `icu-debuginfo` | Red Hat:enterprise_linux:6::client | All versions | 0:4.2.1-15.el6_10 |
| `libicu` | Red Hat:enterprise_linux:6::client | All versions | 0:4.2.1-15.el6_10 |
| `libicu-devel` | Red Hat:enterprise_linux:6::client | All versions | 0:4.2.1-15.el6_10 |
| `libicu-doc` | Red Hat:enterprise_linux:6::client | All versions | 0:4.2.1-15.el6_10 |
| `icu` | Red Hat:enterprise_linux:6::computenode | All versions | 0:4.2.1-15.el6_10 |
| `icu-debuginfo` | Red Hat:enterprise_linux:6::computenode | All versions | 0:4.2.1-15.el6_10 |
| `libicu` | Red Hat:enterprise_linux:6::computenode | All versions | 0:4.2.1-15.el6_10 |
| `libicu-devel` | Red Hat:enterprise_linux:6::computenode | All versions | 0:4.2.1-15.el6_10 |
| `libicu-doc` | Red Hat:enterprise_linux:6::computenode | All versions | 0:4.2.1-15.el6_10 |
| `icu` | Red Hat:enterprise_linux:6::server | All versions | 0:4.2.1-15.el6_10 |
| `icu-debuginfo` | Red Hat:enterprise_linux:6::server | All versions | 0:4.2.1-15.el6_10 |
| `libicu` | Red Hat:enterprise_linux:6::server | All versions | 0:4.2.1-15.el6_10 |
| `libicu-devel` | Red Hat:enterprise_linux:6::server | All versions | 0:4.2.1-15.el6_10 |
| `libicu-doc` | Red Hat:enterprise_linux:6::server | All versions | 0:4.2.1-15.el6_10 |
| `icu` | Red Hat:enterprise_linux:6::workstation | All versions | 0:4.2.1-15.el6_10 |
| `icu-debuginfo` | Red Hat:enterprise_linux:6::workstation | All versions | 0:4.2.1-15.el6_10 |
| `libicu` | Red Hat:enterprise_linux:6::workstation | All versions | 0:4.2.1-15.el6_10 |
| `libicu-devel` | Red Hat:enterprise_linux:6::workstation | All versions | 0:4.2.1-15.el6_10 |
| `libicu-doc` | Red Hat:enterprise_linux:6::workstation | All versions | 0:4.2.1-15.el6_10 |
| `icu` | Red Hat:enterprise_linux:7::client | All versions | 0:50.2-4.el7_7 |
| `icu-debuginfo` | Red Hat:enterprise_linux:7::client | All versions | 0:50.2-4.el7_7 |
| `libicu` | Red Hat:enterprise_linux:7::client | All versions | 0:50.2-4.el7_7 |
| `libicu-devel` | Red Hat:enterprise_linux:7::client | All versions | 0:50.2-4.el7_7 |

Products: Canonical Ubuntu Linux, Debian Debian Linux, Fedoraproject Fedora, Google Chrome, Icu-Project International Components for Unicode, Nodejs Node.js, Opensuse Leap, Oracle Banking Extensibility Workbench, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux Server, Redhat Enterprise Linux Workstation.

## How do I fix CVE-2020-10531?

Upgrade node to 10.21.0 or later.

## Is CVE-2020-10531 being exploited?

There is no known exploitation of CVE-2020-10531 in the wild and no public exploit code.

## Other vulnerabilities in Canonical Ubuntu Linux

- [CVE-2020-11651](https://insights.sbomify.com/CVE-2020-11651/): SaltStack Salt Authentication Bypass (critical 9.8, exploited in the wild)
- [CVE-2020-7247](https://insights.sbomify.com/CVE-2020-7247/): OpenSMTPD Remote Code Execution (critical 9.8, exploited in the wild)
- [CVE-2019-16928](https://insights.sbomify.com/CVE-2019-16928/): Exim Out-of-bounds Write (critical 9.8, exploited in the wild)
- [CVE-2018-6789](https://insights.sbomify.com/CVE-2018-6789/): Exim Buffer Overflow (critical 9.8, exploited in the wild)
- [CVE-2015-2590](https://insights.sbomify.com/CVE-2015-2590/): Oracle Java SE and Java SE Embedded Remote Code Execution (critical 9.8, exploited in the wild)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2020-10531 and fix it if it is affected.

What it is: CVE-2020-10531 is a high-severity vulnerability in Canonical Ubuntu Linux, published on 12 Mar 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Exploitation: There is no known exploitation of CVE-2020-10531 in the wild and no public exploit code.

Affected packages and fixed versions:
- node (Bitnami): affected from 10.13.0; fixed in 10.21.0
- node-min (Bitnami): affected from 10.13.0; fixed in 10.21.0

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2020-10531/ (Markdown: https://insights.sbomify.com/CVE-2020-10531/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2020-10531
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2020-10531
- OSV: https://osv.dev/vulnerability/CVE-2020-10531

---
From sbomify Insights: https://insights.sbomify.com/CVE-2020-10531/
Summaries are generated and may contain mistakes; the official description above is the record.
