CVE-2019-12802
In radare2 through 3.5.1, the rcc_context function of libr/egg/egg_lang.c mishandles changing...
In radare2 through 3.5.1, the rcc_context function of libr/egg/egg_lang.c mishandles changing context. This allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact (invalid memory access in r_egg_lang_parsechar; invalid free in rcc_pusharg).
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.8
In radare2 through 3.5.1, the rcc_context function of libr/egg/egg_lang.c mishandles changing context. This allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact (invalid memory access in r_egg_lang_parsechar; invalid free in rcc_pusharg).
- Record
CVE-2019-12802- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-416
- Updated
- 2026-11-02
CVE List No score
In radare2 through 3.5.1, the rcc_context function of libr/egg/egg_lang.c mishandles changing context. This allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact (invalid memory access in r_egg_lang_parsechar; invalid free in rcc_pusharg).
- Record
CVE-2019-12802- Updated
- 2026-11-02
EUVDEUVD-2019-4384 No score
In radare2 through 3.5.1, the rcc_context function of libr/egg/egg_lang.c mishandles changing context. This allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact (invalid memory access in r_egg_lang_parsechar; invalid free in rcc_pusharg).
- Record
EUVD-2019-4384- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-hvf9-qhxq-6pcq
7.8
In radare2 through 3.5.1, the rcc_context function of libr/egg/egg_lang.c mishandles changing...
In radare2 through 3.5.1, the rcc_context function of libr/egg/egg_lang.c mishandles changing context. This allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact (invalid memory access in r_egg_lang_parsechar; invalid free in rcc_pusharg).
- Record
GHSA-hvf9-qhxq-6pcq- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-119, CWE-416
- Updated
- 2026-11-02
OSVALPINE-CVE-2019-12802
7.8
In radare2 through 3.5.1, the rcc_context function of libr/egg/egg_lang.c mishandles changing context. This allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact (invalid memory access in r_egg_lang_parsechar; invalid free in rcc_pusharg).
- Record
ALPINE-CVE-2019-12802- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
OSV
7.8
In radare2 through 3.5.1, the rcc_context function of libr/egg/egg_lang.c mishandles changing context. This allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact (invalid memory access in r_egg_lang_parsechar; invalid free in rcc_pusharg).
- Record
CVE-2019-12802- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2019-12802
7.8
In radare2 through 3.5.1, the rcc_context function of libr/egg/egg_lang.c mishandles changing context. This allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact (invalid memory access in r_egg_lang_parsechar; invalid free in rcc_pusharg).
- Record
UBUNTU-CVE-2019-12802- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVMGASA-2020-0024 No score
Updated radare2 packages fix security vulnerabilities
Updated radare2 packages fix security vulnerabilities:
In radare2 through 3.5.1, there is a heap-based buffer over-read in the r_egg_lang_parsechar function of egg_lang.c. This allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact because of missing length validation in libr/egg/egg.c (CVE-2019-12790).
In radare2 through 3.5.1, the rcc_context function of libr/egg/egg_lang.c mishandles changing context. This allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact (invalid memory access in r_egg_lang_parsechar; invalid free in rcc_pusharg) (CVE-2019-12802).
In radare2 through 3.5.1, cmd_mount in libr/core/cmd_mount.c has a double free for the ms command (CVE-2019-12865).
By using a crafted executable file, it's possible to execute arbitrary shell commands with the permissions of the victim. This vulnerability is due to improper handling of symbol names embedded in executables (CVE-2019-14745).
The radare2 package has been updated to version 3.9.0, fixing these issues and other bugs.
Also, the radare2-cutter package has been updated to version 1.9.0.
- Record
MGASA-2020-0024- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
radare2Alpine:v3.11 |
before 3.9.0 | 3.9.0 |
radare2Alpine:v3.12 |
before 3.9.0-r0 | 3.9.0-r0 |
radare2Alpine:v3.13 |
before 3.9.0-r0 | 3.9.0-r0 |
radare2Alpine:v3.14 |
before 3.9.0-r0 | 3.9.0-r0 |
radare2Alpine:v3.15 |
before 3.9.0-r0 | 3.9.0-r0 |
radare2Alpine:v3.16 |
before 3.9.0-r0 | 3.9.0-r0 |
radare2Alpine:v3.17 |
before 3.9.0-r0 | 3.9.0-r0 |
radare2Alpine:v3.18 |
before 3.9.0-r0 | 3.9.0-r0 |
radare2Alpine:v3.19 |
before 3.9.0-r0 | 3.9.0-r0 |
radare2Alpine:v3.20 |
before 3.9.0-r0 | 3.9.0-r0 |
Show 13 moreShow less
| Package | Affected | Fixed |
|---|---|---|
radare2Alpine:v3.21 |
before 3.9.0-r0 | 3.9.0-r0 |
radare2Alpine:v3.22 |
before 3.9.0-r0 | 3.9.0-r0 |
radare2Alpine:v3.23 |
before 3.9.0-r0 | 3.9.0-r0 |
radare2Alpine:v3.24 |
before 3.9.0-r0 | 3.9.0-r0 |
radare2Mageia:7 From an advisory covering 4 CVEs |
before 3.9.0-1.mga7 | 3.9.0-1.mga7 |
radare2-cutterMageia:7 From an advisory covering 4 CVEs |
before 1.9.0-1.1.mga7 | 1.9.0-1.1.mga7 |
radare2Ubuntu:16.04:LTS |
All versions, plus listed versions 0.9.6-3.1ubuntu1 |
None known |
radare2Ubuntu:Pro:18.04:LTS |
All versions, plus listed versions 1.6.0+dfsg-12.0.0+dfsg-12.1.0+dfsg-12.3.0+dfsg-12.3.0+dfsg-22.3.0+dfsg-2ubuntu0.1~esm1 |
None known |
radare2Ubuntu:Pro:20.04:LTS |
All versions, plus listed versions 3.2.1+dfsg-5build14.0.0+dfsg-14.2.1+dfsg-14.2.1+dfsg-24.2.1+dfsg-2ubuntu0.1~esm1 |
None known |
radare2Ubuntu:Pro:24.04:LTS |
All versions, plus listed versions 5.5.0+dfsg-1ubuntu15.5.0+dfsg-1.1ubuntu25.5.0+dfsg-1.1ubuntu35.5.0+dfsg-1.1ubuntu3+esm1 |
None known |
radare2Ubuntu:25.10 |
All versions, plus listed versions 5.9.8+dfsg-25.9.8+dfsg-2ubuntu0.25.10.15.9.8+dfsg-2ubuntu0.25.10.2 |
None known |
radare2Ubuntu:26.10 |
All versions, plus listed versions 6.0.7+ds-16.1.6+ds-26.1.6+ds-36.1.8+ds-1 |
None known |
radare2Ubuntu:26.04:LTS |
All versions, plus listed versions 5.9.8+dfsg-26.0.4+dfsg-16.0.7+ds-1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| affected, aliases, references | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2019-12802 is a high vulnerability (CVSS 7.8) in Radare Radare2, published June 13, 2019. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.61%, the 76th percentile. Fixed in radare2 3.9.0.
References
github.com/radare/radare2/issues/14296
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SX4TLTE75VYUGSPYEKMYFPUZMRDIR7O2
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IEXZWAMVKGZKHALV4IVWQS2ORJKRH57U
nvd.nist.gov/vuln/detail/CVE-2019-12802
lists.fedoraproject.org/archives/list/[email protected]/message/IEXZWAMVKGZKHALV4IVWQS2ORJKRH57U
lists.fedoraproject.org/archives/list/[email protected]/message/SX4TLTE75VYUGSPYEKMYFPUZMRDIR7O2
Show 10 moreShow less
github.com/advisories/GHSA-hvf9-qhxq-6pcq
security.alpinelinux.org/vuln/CVE-2019-12802
advisories.mageia.org/MGASA-2020-0024.html
bugs.mageia.org/show_bug.cgi?id=25933
lists.fedoraproject.org/archives/list/[email protected]/thread/ED2UIZ5J7YYFFA2MPSMJ543U3DPEREVZ
lists.fedoraproject.org/archives/list/[email protected]/thread/IEXZWAMVKGZKHALV4IVWQS2ORJKRH57U
lists.fedoraproject.org/archives/list/[email protected]/thread/RQO7V37RGQEKZDLY2JYKDZTLNN2YUBC5
lists.fedoraproject.org/archives/list/[email protected]/thread/PXQ6KYP4UMNSCJYHFT4TBIXLR2325SNS
ubuntu.com/security/CVE-2019-12802
cve.org/CVERecord?id=CVE-2019-12802