CVE-2025-6141
MEDIUM 4.8 ALL-YEARSA 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.
Current sources show no confirmed exploitation or catalogued public PoC. Missing or low probability estimates do not establish safety. Track for changes.
Exploitation likelihood
0.2%chance of exploitation in 30 days · 11th percentile
Impact if exploited
4.8CVSS 4.0 · MEDIUM · CNA
- ConfidentialityNone
- IntegrityNone
- AvailabilityLow
What an attacker needs
- ⚠Access: Requires local access to the host
- ⚠Privileges: Requires a low-privilege account
- ✓User interaction: No user interaction needed
- ✓Complexity: No special conditions — reliably repeatable
- ✓Requirements: No special attack requirements
✓ lowers the bar for an attacker · ⚠ raises it
Proof of concept
No public PoC is currently catalogued.
Search for new PoCs
Search GitHub now — results may be empty or unverified.
Supported CVE and PoC feeds are scheduled every 30 minutes, including for older CVEs. Other enrichment runs daily or weekly; source availability can delay updates. A later release appears after a tracked source lists it and a refresh succeeds.
Affected
Products Ncurses RUGGEDCOM RST2428P SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family SCALANCE XCH328 SCALANCE XCM324 SCALANCE XCM328 SCALANCE XCM332 SCALANCE XRH334 (24 V DC, 8xFO, CC) SCALANCE XRM334 (230 V AC, 12xFO) SCALANCE XRM334 (230 V AC, 8xFO) SCALANCE XRM334 (230V AC, 2x10G, 24xSFP, 8xSFP+) SCALANCE XRM334 (24 V DC, 12xFO) SCALANCE XRM334 (24 V DC, 8xFO) SCALANCE XRM334 (24V DC, 2x10G, 24xSFP, 8xSFP+) SCALANCE XRM334 (2x230 V AC, 12xFO) SCALANCE XRM334 (2x230 V AC, 8xFO) SCALANCE XRM334 (2x230V AC, 2x10G, 24xSFP, 8xSFP+)
Weakness (CWE)
- CWE-121: Stack-based Buffer Overflow
- CWE-119: Memory Corruption
CVSS vector
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
References and research data (JSON) · Change history
Vendor product assessments
ncurses.src as a component of Red Hat Enterprise Linux 10 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/ncurses?arch=src
Red Hat · CVE-2025-6141 · Updated 2026-11-06T17:52:39+00:00ncurses-base as a component of Red Hat Enterprise Linux 6 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/ncurses-base
Red Hat · CVE-2025-6141 · Updated 2026-11-06T17:52:39+00:00ncurses-devel as a component of Red Hat Enterprise Linux 6 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/ncurses-devel
Red Hat · CVE-2025-6141 · Updated 2026-11-06T17:52:39+00:00ncurses-libs as a component of Red Hat Enterprise Linux 6 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/ncurses-libs
Red Hat · CVE-2025-6141 · Updated 2026-11-06T17:52:39+00:00ncurses-static as a component of Red Hat Enterprise Linux 6 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/ncurses-static
Red Hat · CVE-2025-6141 · Updated 2026-11-06T17:52:39+00:00ncurses-term as a component of Red Hat Enterprise Linux 6 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/ncurses-term
Red Hat · CVE-2025-6141 · Updated 2026-11-06T17:52:39+00:00ncurses.src as a component of Red Hat Enterprise Linux 6 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/ncurses?arch=src
Red Hat · CVE-2025-6141 · Updated 2026-11-06T17:52:39+00:00ncurses-base as a component of Red Hat Enterprise Linux 7 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/ncurses-base
Red Hat · CVE-2025-6141 · Updated 2026-11-06T17:52:39+00:00ncurses-devel as a component of Red Hat Enterprise Linux 7 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/ncurses-devel
Red Hat · CVE-2025-6141 · Updated 2026-11-06T17:52:39+00:00ncurses-libs as a component of Red Hat Enterprise Linux 7 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/ncurses-libs
Red Hat · CVE-2025-6141 · Updated 2026-11-06T17:52:39+00:00ncurses-static as a component of Red Hat Enterprise Linux 7 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/ncurses-static
Red Hat · CVE-2025-6141 · Updated 2026-11-06T17:52:39+00:00ncurses-term as a component of Red Hat Enterprise Linux 7 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/ncurses-term
Red Hat · CVE-2025-6141 · Updated 2026-11-06T17:52:39+00:00ncurses.src as a component of Red Hat Enterprise Linux 7 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/ncurses?arch=src
Red Hat · CVE-2025-6141 · Updated 2026-11-06T17:52:39+00:00ncurses as a component of Red Hat Enterprise Linux 8 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/ncurses
Red Hat · CVE-2025-6141 · Updated 2026-11-06T17:52:39+00:00ncurses-base as a component of Red Hat Enterprise Linux 8 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/ncurses-base
Red Hat · CVE-2025-6141 · Updated 2026-11-06T17:52:39+00:00ncurses-c++-libs as a component of Red Hat Enterprise Linux 8 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/ncurses-c%2B%2B-libs
Red Hat · CVE-2025-6141 · Updated 2026-11-06T17:52:39+00:00ncurses-compat-libs as a component of Red Hat Enterprise Linux 8 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/ncurses-compat-libs
Red Hat · CVE-2025-6141 · Updated 2026-11-06T17:52:39+00:00ncurses-devel as a component of Red Hat Enterprise Linux 8 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/ncurses-devel
Red Hat · CVE-2025-6141 · Updated 2026-11-06T17:52:39+00:00ncurses-libs as a component of Red Hat Enterprise Linux 8 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/ncurses-libs
Red Hat · CVE-2025-6141 · Updated 2026-11-06T17:52:39+00:00ncurses-term as a component of Red Hat Enterprise Linux 8 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/ncurses-term
Red Hat · CVE-2025-6141 · Updated 2026-11-06T17:52:39+00:00ncurses.src as a component of Red Hat Enterprise Linux 8 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/ncurses?arch=src
Red Hat · CVE-2025-6141 · Updated 2026-11-06T17:52:39+00:00ncurses as a component of Red Hat Enterprise Linux 9 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/ncurses
Red Hat · CVE-2025-6141 · Updated 2026-11-06T17:52:39+00:00ncurses-base as a component of Red Hat Enterprise Linux 9 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/ncurses-base
Red Hat · CVE-2025-6141 · Updated 2026-11-06T17:52:39+00:00ncurses-c++-libs as a component of Red Hat Enterprise Linux 9 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/ncurses-c%2B%2B-libs
Red Hat · CVE-2025-6141 · Updated 2026-11-06T17:52:39+00:00ncurses-devel as a component of Red Hat Enterprise Linux 9 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/ncurses-devel
Red Hat · CVE-2025-6141 · Updated 2026-11-06T17:52:39+00:00ncurses-libs as a component of Red Hat Enterprise Linux 9 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/ncurses-libs
Red Hat · CVE-2025-6141 · Updated 2026-11-06T17:52:39+00:00ncurses-term as a component of Red Hat Enterprise Linux 9 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/ncurses-term
Red Hat · CVE-2025-6141 · Updated 2026-11-06T17:52:39+00:00ncurses.src as a component of Red Hat Enterprise Linux 9 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/ncurses?arch=src
Red Hat · CVE-2025-6141 · Updated 2026-11-06T17:52:39+00:00openshift/ose-rhel-coreos-8 as a component of Red Hat OpenShift Container Platform 4 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:oci/ose-rhel-coreos-8?repository_url=registry.redhat.io/openshift/ose-rhel-coreos-8
Red Hat · CVE-2025-6141 · Updated 2026-11-06T17:52:39+00:00openshift/ose-rhel-coreos-9 as a component of Red Hat OpenShift Container Platform 4 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:oci/ose-rhel-coreos-9?repository_url=registry.redhat.io/openshift/ose-rhel-coreos-9
Red Hat · CVE-2025-6141 · Updated 2026-11-06T17:52:39+00:00
All CVSS metrics
- MEDIUM 4.8 v4.0 · CNA Primary
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 - LOW 3.3 v3.1 · CNA Primary
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:X/RL:O/RC:C - LOW 3.3 v3.0 · CNA Primary
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 - LOW 1.7 v2.0 · CNA Primary
AV:L/AC:L/Au:S/C:N/I:N/A:P/E:ND/RL:OF/RC:C - MEDIUM 4.8 v4.0 · NVD Secondary
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 - LOW 3.3 v3.1 · NVD Secondary
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L - LOW 1.7 v2.0 · NVD Secondary
AV:L/AC:L/Au:S/C:N/I:N/A:P
References
Patches & mitigations
- https://lists.gnu.org/archive/html/bug-ncurses/2025-03/msg00114.html CVE record · VulDB · Updated 2025-06-16T22:00:17.088Z
NVD · CVE-2025-6141 · Updated 2026-06-17T10:01:15.040
Red Hat · CVE-2025-6141 · Updated 2026-11-06T17:52:39+00:00
Advisories
- https://vuldb.com/?submit.593000 CVE record · VulDB · Updated 2025-06-16T22:00:17.088Z
NVD · CVE-2025-6141 · Updated 2026-06-17T10:01:15.040
Red Hat · CVE-2025-6141 · Updated 2026-11-06T17:52:39+00:00 - https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-6141.json Red Hat · CVE-2025-6141 · Updated 2026-11-06T17:52:39+00:00
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-18429 EUVD · EUVD-2025-18429
Technical & other
- https://cert-portal.siemens.com/productcert/html/ssa-089022.htmlCVE record · siemens-SADP · Updated 2026-06-02T12:59:41.864Z
NVD · CVE-2025-6141 · Updated 2026-06-17T10:01:15.040 - https://cert-portal.siemens.com/productcert/html/ssa-253495.htmlCVE record · siemens-SADP · Updated 2026-06-02T12:59:41.864Z
NVD · CVE-2025-6141 · Updated 2026-06-17T10:01:15.040 - https://invisible-island.net/ncurses/NEWS.html#index-t20250329 CVE record · VulDB · Updated 2025-06-16T22:00:17.088Z
NVD · CVE-2025-6141 · Updated 2026-06-17T10:01:15.040
Red Hat · CVE-2025-6141 · Updated 2026-11-06T17:52:39+00:00 - https://lists.gnu.org/archive/html/bug-ncurses/2025-03/msg00107.html CVE record · VulDB · Updated 2025-06-16T22:00:17.088Z
NVD · CVE-2025-6141 · Updated 2026-06-17T10:01:15.040
Red Hat · CVE-2025-6141 · Updated 2026-11-06T17:52:39+00:00 - https://lists.gnu.org/archive/html/bug-ncurses/2025-03/msg00109.html CVE record · VulDB · Updated 2025-06-16T22:00:17.088Z
NVD · CVE-2025-6141 · Updated 2026-06-17T10:01:15.040
Red Hat · CVE-2025-6141 · Updated 2026-11-06T17:52:39+00:00 - https://vuldb.com/?ctiid.312610 CVE record · VulDB · Updated 2025-06-16T22:00:17.088Z
NVD · CVE-2025-6141 · Updated 2026-06-17T10:01:15.040
Red Hat · CVE-2025-6141 · Updated 2026-11-06T17:52:39+00:00 - https://vuldb.com/?id.312610 CVE record · VulDB · Updated 2025-06-16T22:00:17.088Z
NVD · CVE-2025-6141 · Updated 2026-06-17T10:01:15.040
Red Hat · CVE-2025-6141 · Updated 2026-11-06T17:52:39+00:00 - https://www.gnu.org/ CVE record · VulDB · Updated 2025-06-16T22:00:17.088Z
NVD · CVE-2025-6141 · Updated 2026-06-17T10:01:15.040
Red Hat · CVE-2025-6141 · Updated 2026-11-06T17:52:39+00:00 - https://access.redhat.com/security/cve/CVE-2025-6141 Red Hat · CVE-2025-6141 · Updated 2026-11-06T17:52:39+00:00
- https://bugzilla.redhat.com/show_bug.cgi?id=2373097 Red Hat · CVE-2025-6141 · Updated 2026-11-06T17:52:39+00:00
- https://nvd.nist.gov/vuln/detail/CVE-2025-6141 Red Hat · CVE-2025-6141 · Updated 2026-11-06T17:52:39+00:00
- https://www.cve.org/CVERecord?id=CVE-2025-6141 Red Hat · CVE-2025-6141 · Updated 2026-11-06T17:52:39+00:00
Sources: NVD · CVE.org · All sources and attribution · EPSS