GNU ncurses parse_entry.c postprocess_termcap stack-based overflow

Summary

CVECVE-2025-6141
StatePUBLISHED
AssignerVulDB
Source PriorityCVE Program / NVD first with legacy fallback
Published2025-06-16 22:16:41 UTC
Updated2026-06-02 14:16:38 UTC
DescriptionA vulnerability has been found in GNU ncurses up to 6.5-20250322 and classified as problematic. This vulnerability affects the function postprocess_termcap of the file tinfo/parse_entry.c. The manipulation leads to stack-based buffer overflow. The attack needs to be approached locally. Upgrading to version 6.5-20250329 is able to address this issue. It is recommended to upgrade the affected component.

Risk And Classification

Primary CVSS: v4.0 4.8 MEDIUM from [email protected]

CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/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:X

EPSS: 0.000770000 probability, percentile 0.229690000 (date 2026-06-04)

Problem Types: CWE-119 | CWE-121 | CWE-121 Stack-based Buffer Overflow | CWE-119 Memory Corruption


VersionSourceTypeScoreSeverityVector
4.0[email protected]Secondary4.8MEDIUMCVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/C...
4.0CNADECLARED4.8MEDIUMCVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X
3.1[email protected]Secondary3.3LOWCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
3.1CNADECLARED3.3LOWCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:X/RL:O/RC:C
3.0CNADECLARED3.3LOWCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:X/RL:O/RC:C
2.0[email protected]Secondary1.7AV:L/AC:L/Au:S/C:N/I:N/A:P
2.0CNADECLARED1.7AV:L/AC:L/Au:S/C:N/I:N/A:P/E:ND/RL:OF/RC:C

CVSS v4.0 Breakdown

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Confidentiality
None
Integrity
None
Availability
Low
Sub Conf.
None
Sub Integrity
None
Sub Availability
None

CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/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:X

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

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

CVSS v3.0 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:X/RL:O/RC:C

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA GNU Ncurses affected 6.5-20250322 Not specified
CNA GNU Ncurses unaffected 6.5-20250329 Not specified
ADP Siemens RUGGEDCOM RST2428P affected V3.3 custom Not specified
ADP Siemens RUGGEDCOM RST2428P affected V4.0 custom Not specified
ADP Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 Family affected V3.3 custom Not specified
ADP Siemens SCALANCE XCH328 affected V3.3 custom Not specified
ADP Siemens SCALANCE XCM324 affected V3.3 custom Not specified
ADP Siemens SCALANCE XCM328 affected V3.3 custom Not specified
ADP Siemens SCALANCE XCM332 affected V3.3 custom Not specified
ADP Siemens SCALANCE XRH334 24 V DC 8xFO CC affected V3.3 custom Not specified
ADP Siemens SCALANCE XRM334 230 V AC 12xFO affected V3.3 custom Not specified
ADP Siemens SCALANCE XRM334 230 V AC 8xFO affected V3.3 custom Not specified
ADP Siemens SCALANCE XRM334 230V AC 2x10G 24xSFP 8xSFP affected V3.3 custom Not specified
ADP Siemens SCALANCE XRM334 24 V DC 12xFO affected V3.3 custom Not specified
ADP Siemens SCALANCE XRM334 24 V DC 8xFO affected V3.3 custom Not specified
ADP Siemens SCALANCE XRM334 24V DC 2x10G 24xSFP 8xSFP affected V3.3 custom Not specified
ADP Siemens SCALANCE XRM334 2x230 V AC 12xFO affected V3.3 custom Not specified
ADP Siemens SCALANCE XRM334 2x230 V AC 8xFO affected V3.3 custom Not specified
ADP Siemens SCALANCE XRM334 2x230V AC 2x10G 24xSFP 8xSFP affected V3.3 custom Not specified

References

ReferenceSourceLinkTags
vuldb.com [email protected] vuldb.com
cert-portal.siemens.com/productcert/html/ssa-089022.html 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e cert-portal.siemens.com
vuldb.com [email protected] vuldb.com
cert-portal.siemens.com/productcert/html/ssa-253495.html 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e cert-portal.siemens.com
invisible-island.net/ncurses/NEWS.html [email protected] invisible-island.net
lists.gnu.org/archive/html/bug-ncurses/2025-03/msg00114.html [email protected] lists.gnu.org
www.gnu.org [email protected] www.gnu.org
vuldb.com [email protected] vuldb.com
lists.gnu.org/archive/html/bug-ncurses/2025-03/msg00107.html [email protected] lists.gnu.org
lists.gnu.org/archive/html/bug-ncurses/2025-03/msg00109.html [email protected] lists.gnu.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: JJLeo (VulDB User) (en)

Additional Advisory Data

SourceTimeEvent
CNA2025-06-15T00:00:00.000ZAdvisory disclosed
CNA2025-06-15T02:00:00.000ZVulDB entry created
CNA2025-06-15T13:13:18.000ZVulDB entry last update
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report