BREACHSPIDER
CVE databaseVendorsIntelResearchFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2023-25139 in Gnu Glibc

Critical 9.8 Industrial / OT

sprintf in the GNU C Library (glibc) 2.37 has a buffer overflow (out-of-bounds write) in some situations with a correct buffer size. This is unrelated to CWE-676. It may write beyond the bounds of the destination buffer when attempting to write a padded, thousands-separated string representation of a number, if the buffer is allocated the exact size required to represent that number as a string. For example, 1,234,567 (with padding to 13) overflows by two bytes.

Affects 1 product from 2 vendors. Description from NVD and MITRE.

CVSS 3.19.8
EPSS1.6%
EPSS percentile76th

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Gnu Glibc 2.37
Siemens — —
Siemens S7-1500 Cpu Firmware ≥ 3.1.0, < 3.1.5
Siemens Simatic Cpu 1518F-4 Firmware ≥ 3.1.0, < 3.1.5
Siemens Simatic S7-1500 Cpu 1518-4 Pn/Dp Mfp Firmware ≥ 3.1.0, < 3.1.5
Siemens Simatic S7-1500 Cpu 1518-4 Pn Firmware ≥ 3.1.0, < 3.1.5
Siemens Simatic S7-1500 Cpu 1518F-4 Firmware ≥ 3.1.0, < 3.1.5
Siemens Simatic S7-1500 Cpu 1518F-4 Pn/Dp Mfp Firmware ≥ 3.1.0, < 3.1.5
Siemens Siplus S7-1500 Cpu 1518-4 Pn/Dp Mfp Firmware ≥ 3.1.0, < 3.1.5

Fix and vendor advisory

  • Update to V3.1.5 or later version

Source: ICSA-23-348-10

View Vendor Advisory →

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Record details

CVE IDCVE-2023-25139
BreachSpider IDBS-2023-GLOBAL-347439-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2023-02-03
Last modified2026-10-14
Weakness (CWE)
SourceNVD

Compensating controls AI-drafted, review before use

Implement input validation and length checks for formatted strings to prevent buffer overflows. Use alternative libraries or functions that are less prone to such vulnerabilities.

NERC CIP: CIP-007 CIP-007-R2

IEC 62443: SR 7.6

Not validated for your network. A compensating control does not replace the vendor fix.

Check devices from your own code or AI agent: free 14-day trial

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-14.