diff --git a/cve_bin_tool/checkers/binutils.py b/cve_bin_tool/checkers/binutils.py index a6a0fee88e..de84b030fd 100644 --- a/cve_bin_tool/checkers/binutils.py +++ b/cve_bin_tool/checkers/binutils.py @@ -80,7 +80,7 @@ class BinutilsChecker(Checker): r"ld.bfd", # as seen on ubuntu ] VERSION_PATTERNS = [ - r"GNU Binutils[a-zA-Z ]*\) ((\d+\.)*\d+)", - r"BFD header file version %s\r?\nversion ((\d+\.)*\d+)", + r"GNU Binutils[a-zA-Z ]*\) ([0-9]+\.[0-9]+\.?[0-9]*)", + r"BFD header file version %s\r?\nversion ([0-9]+\.[0-9]+\.?[0-9]*)", ] VENDOR_PRODUCT = [("gnu", "binutils")]