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

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.4$0-$5k0.00

Summaryinfo

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.

Detailsinfo

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.

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.4
VulDB 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: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Memory corruption
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 232137
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2018-20712

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: no mitigation known
Status: 🔍

0-Day Time: 🔍

Timelineinfo

01/04/2019 🔍
01/14/2019 +10 days 🔍
01/14/2019 +0 days 🔍
01/14/2019 +0 days 🔍
01/15/2019 +1 days 🔍
01/15/2019 +0 days 🔍
03/06/2025 +2242 days 🔍

Sourcesinfo

Vendor: gnu.org

Advisory: 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: 🔍

Entryinfo

Created: 01/15/2019 10:25
Updated: 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.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!