CVE-2022-35206

Publication date 22 August 2023

Last updated 25 August 2025


Ubuntu priority

Cvss 3 Severity Score

5.5 · Medium

Score breakdown

Description

Null pointer dereference vulnerability in Binutils readelf 2.38.50 via function read_and_display_attr_value in file dwarf.c.

Read the notes from the security team

Status

Package Ubuntu Release Status
binutils 23.10 mantic
Not affected
23.04 lunar
Not affected
22.04 LTS jammy
Not affected
20.04 LTS focal
Not affected
18.04 LTS bionic
Not affected
16.04 LTS xenial
Not affected
14.04 LTS trusty
Not affected

Notes


seth-arnold

binutils isn't safe for untrusted inputs.


ccdm94

according to the patch referenced in the issue, the dereference happens when the 'debug_info_p' variable is referenced but not set in a 'fetch_indexed_string' call, in 'read_and_display_attr_value'. In bionic and earlier, these specific calls (referenced in the patch) are not made sending 'debug_info_p' as an argument.

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
binutils

Severity score breakdown

CVSS version: CVSS v3.0

Base score 5.5 · Medium

Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H


Access our resources on patching vulnerabilities