Landing: d9d9119bf2f3

Project / Subsystem

gcc / libiberty

Date

2026-07-01

Author

Alan Modra

Commit

d9d9119bf2f3114a24ea297db12142eb2457bfb5

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
libiberty
patch_id
commit_hash
d9d9119bf2f3114a24ea297db12142eb2457bfb5
source_type
github
headline
Fix signed integer overflow in d_compact_number
tldr
Corrected a signed integer overflow vulnerability in libiberty's d_compact_number function.
author
Alan Modra
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • libiberty
  • security
  • bugfix
  • integer overflow
discussion_id_link
bugzilla_pr
date
2026-07-01T00:00:00.000Z

A signed integer overflow vulnerability in the d_compact_number function within GCC’s libiberty library has been fixed. The issue, reported in binutils, is resolved by performing the addition using unsigned arithmetic, which prevents unexpected behavior and potential security risks when formatting numbers.