GNU binutils 2.31.1 GNU libiberty cp-demangle.c d_expression_1 memory corruption

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.4 | $0-$5k | 0.00 |
Summary
A vulnerability was found in GNU binutils 2.31.1. It has been declared as critical. Impacted is the function d_expression_1 of the file cp-demangle.c of the component GNU libiberty. The manipulation results in memory corruption.
This vulnerability is identified as CVE-2018-20712. The attack can be executed remotely. There is not any exploit available.
Details
A vulnerability was found in GNU binutils 2.31.1 (Programming Tool Software). It has been classified as critical. Affected is the function d_expression_1 of the file cp-demangle.c of the component GNU libiberty. The manipulation with an unknown input leads to a memory corruption vulnerability. CWE is classifying the issue as CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:
A heap-based buffer over-read exists in the function d_expression_1 in cp-demangle.c in GNU libiberty, as distributed in GNU Binutils 2.31.1. A crafted input can cause segmentation faults, leading to denial-of-service, as demonstrated by c++filt.
The bug was discovered 01/04/2019. The weakness was released 01/15/2019 (Website). The advisory is shared for download at securityfocus.com. This vulnerability is traded as CVE-2018-20712 since 01/14/2019. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. Successful exploitation requires user interaction by the victim. There are known technical details, but no exploit is available.
The vulnerability was handled as a non-public zero-day exploit for at least 10 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 232137 (Linux Distros Unpatched Vulnerability : CVE-2018-20712), which helps to determine the existence of the flaw in a target environment.
There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.
The vulnerability is also documented in the databases at Tenable (232137) and SecurityFocus (BID 106563†). Entries connected to this vulnerability are available at VDB-128594 and VDB-128610. Once again VulDB remains the best source for vulnerability data.
Product
Type
Vendor
Name
Version
License
Website
- Vendor: https://www.gnu.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.4VulDB Meta Temp Score: 6.4
VulDB Base Score: 6.3
VulDB Temp Score: 6.3
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 6.5
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Memory corruptionCWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 232137
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2018-20712
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
0-Day Time: 🔍
Timeline
01/04/2019 🔍01/14/2019 🔍
01/14/2019 🔍
01/14/2019 🔍
01/15/2019 🔍
01/15/2019 🔍
03/06/2025 🔍
Sources
Vendor: gnu.orgAdvisory: K38336243⛔
Status: Not defined
Confirmation: 🔍
CVE: CVE-2018-20712 (🔍)
GCVE (CVE): GCVE-0-2018-20712
GCVE (VulDB): GCVE-100-129156
SecurityFocus: 106563 - GNU Binutils CVE-2018-20712 Heap Buffer Overflow Vulnerability
See also: 🔍
Entry
Created: 01/15/2019 10:25Updated: 03/06/2025 19:17
Changes: 01/15/2019 10:25 (62), 04/29/2020 14:10 (4), 06/27/2023 08:37 (3), 03/06/2025 19:17 (16)
Complete: 🔍
Cache ID: 216::103
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.