GNU elfutils eu-readelf readelf.c print_string_section buffer overflow (GNU elfutils)

CVE-2025-1372
MEDIUM 4.8

At a glance

Source
NVD
EPSS
EPSS 0.35 % · percentile 29 ()
State
PUBLISHED
Published
Updated
Assigner
VulDB
NVD status
Analyzed

Description

A vulnerability was found in GNU elfutils 0.192. It has been declared as critical. Affected by this vulnerability is the function dump_data_section/print_string_section of the file readelf.c of the component eu-readelf. The manipulation of the argument z/x leads to buffer overflow. An attack has to be approached locally. The exploit has been disclosed to the public and may be used. The identifier of the patch is 73db9d2021cab9e23fd734b0a76a612d52a6f1db. It is recommended to apply a patch to fix this issue.

Weaknesses (CWE)

  • CWE-120 — Buffer Copy without Checking Size of Input
  • CWE-119 — Improper Restriction of Operations within the Bounds of a Memory Buffer

References

Scores

VersionScoreVectorScored by
CVSS 4.0MEDIUM 4.8CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:NVulDB
CVSS 3.1MEDIUM 5.3CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:LVulDB
CVSS 3.0MEDIUM 5.3CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:LVulDB
CVSS 2.0MEDIUM 4.3AV:L/AC:L/Au:S/C:P/I:P/A:PVulDB
CVSS 4.0MEDIUM 4.8CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XNVD · cna@vuldb.com (Secondary)
CVSS 3.1MEDIUM 5.3CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:LNVD · cna@vuldb.com (Secondary)
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)
CVSS 2.0MEDIUM 4.3AV:L/AC:L/Au:S/C:P/I:P/A:PNVD · cna@vuldb.com (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
GNU · elfutilsaffected 0.192

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD