ubuntu-cve-2025-6141
Vulnerability from osv_ubuntu
Published
2025-06-16 22:16
Modified
2026-07-07 19:03
Summary
Details
A 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.
Severity
N/A (UNKNOWN)
References
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "lib32ncurses5",
"binary_version": "5.9+20140118-1ubuntu1+esm6"
},
{
"binary_name": "lib32ncursesw5",
"binary_version": "5.9+20140118-1ubuntu1+esm6"
},
{
"binary_name": "lib32tinfo5",
"binary_version": "5.9+20140118-1ubuntu1+esm6"
},
{
"binary_name": "lib64ncurses5",
"binary_version": "5.9+20140118-1ubuntu1+esm6"
},
{
"binary_name": "lib64tinfo5",
"binary_version": "5.9+20140118-1ubuntu1+esm6"
},
{
"binary_name": "libncurses5",
"binary_version": "5.9+20140118-1ubuntu1+esm6"
},
{
"binary_name": "libncursesw5",
"binary_version": "5.9+20140118-1ubuntu1+esm6"
},
{
"binary_name": "libtinfo5",
"binary_version": "5.9+20140118-1ubuntu1+esm6"
},
{
"binary_name": "libx32ncurses5",
"binary_version": "5.9+20140118-1ubuntu1+esm6"
},
{
"binary_name": "libx32ncursesw5",
"binary_version": "5.9+20140118-1ubuntu1+esm6"
},
{
"binary_name": "libx32tinfo5",
"binary_version": "5.9+20140118-1ubuntu1+esm6"
},
{
"binary_name": "ncurses-base",
"binary_version": "5.9+20140118-1ubuntu1+esm6"
},
{
"binary_name": "ncurses-bin",
"binary_version": "5.9+20140118-1ubuntu1+esm6"
},
{
"binary_name": "ncurses-examples",
"binary_version": "5.9+20140118-1ubuntu1+esm6"
},
{
"binary_name": "ncurses-term",
"binary_version": "5.9+20140118-1ubuntu1+esm6"
}
],
"priority_reason": "no security impact as terminfo files are trusted"
},
"package": {
"ecosystem": "Ubuntu:Pro:14.04:LTS",
"name": "ncurses",
"purl": "pkg:deb/ubuntu/ncurses@5.9+20140118-1ubuntu1+esm6?arch=source\u0026distro=esm-infra-legacy/trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"5.9+20130608-1ubuntu1",
"5.9+20131221-1ubuntu1",
"5.9+20140118-1ubuntu1",
"5.9+20140118-1ubuntu1+esm1",
"5.9+20140118-1ubuntu1+esm2",
"5.9+20140118-1ubuntu1+esm3",
"5.9+20140118-1ubuntu1+esm4",
"5.9+20140118-1ubuntu1+esm5",
"5.9+20140118-1ubuntu1+esm6"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "lib32ncurses5",
"binary_version": "6.0+20160213-1ubuntu1+esm6"
},
{
"binary_name": "lib32ncursesw5",
"binary_version": "6.0+20160213-1ubuntu1+esm6"
},
{
"binary_name": "lib32tinfo5",
"binary_version": "6.0+20160213-1ubuntu1+esm6"
},
{
"binary_name": "lib64ncurses5",
"binary_version": "6.0+20160213-1ubuntu1+esm6"
},
{
"binary_name": "lib64tinfo5",
"binary_version": "6.0+20160213-1ubuntu1+esm6"
},
{
"binary_name": "libncurses5",
"binary_version": "6.0+20160213-1ubuntu1+esm6"
},
{
"binary_name": "libncursesw5",
"binary_version": "6.0+20160213-1ubuntu1+esm6"
},
{
"binary_name": "libtinfo5",
"binary_version": "6.0+20160213-1ubuntu1+esm6"
},
{
"binary_name": "libx32ncurses5",
"binary_version": "6.0+20160213-1ubuntu1+esm6"
},
{
"binary_name": "libx32ncursesw5",
"binary_version": "6.0+20160213-1ubuntu1+esm6"
},
{
"binary_name": "libx32tinfo5",
"binary_version": "6.0+20160213-1ubuntu1+esm6"
},
{
"binary_name": "ncurses-base",
"binary_version": "6.0+20160213-1ubuntu1+esm6"
},
{
"binary_name": "ncurses-bin",
"binary_version": "6.0+20160213-1ubuntu1+esm6"
},
{
"binary_name": "ncurses-examples",
"binary_version": "6.0+20160213-1ubuntu1+esm6"
},
{
"binary_name": "ncurses-term",
"binary_version": "6.0+20160213-1ubuntu1+esm6"
}
],
"priority_reason": "no security impact as terminfo files are trusted"
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "ncurses",
"purl": "pkg:deb/ubuntu/ncurses@6.0+20160213-1ubuntu1+esm6?arch=source\u0026distro=esm-infra-legacy/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"5.9+20150516-2ubuntu1",
"6.0+20151024-2ubuntu1",
"6.0+20151024-2ubuntu2",
"6.0+20160213-1ubuntu1",
"6.0+20160213-1ubuntu1+esm1",
"6.0+20160213-1ubuntu1+esm2",
"6.0+20160213-1ubuntu1+esm3",
"6.0+20160213-1ubuntu1+esm4",
"6.0+20160213-1ubuntu1+esm5",
"6.0+20160213-1ubuntu1+esm6"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "lib32ncurses5",
"binary_version": "6.1-1ubuntu1.18.04.1+esm3"
},
{
"binary_name": "lib32ncursesw5",
"binary_version": "6.1-1ubuntu1.18.04.1+esm3"
},
{
"binary_name": "lib32tinfo5",
"binary_version": "6.1-1ubuntu1.18.04.1+esm3"
},
{
"binary_name": "lib64ncurses5",
"binary_version": "6.1-1ubuntu1.18.04.1+esm3"
},
{
"binary_name": "lib64tinfo5",
"binary_version": "6.1-1ubuntu1.18.04.1+esm3"
},
{
"binary_name": "libncurses5",
"binary_version": "6.1-1ubuntu1.18.04.1+esm3"
},
{
"binary_name": "libncursesw5",
"binary_version": "6.1-1ubuntu1.18.04.1+esm3"
},
{
"binary_name": "libtinfo5",
"binary_version": "6.1-1ubuntu1.18.04.1+esm3"
},
{
"binary_name": "libx32ncurses5",
"binary_version": "6.1-1ubuntu1.18.04.1+esm3"
},
{
"binary_name": "libx32ncursesw5",
"binary_version": "6.1-1ubuntu1.18.04.1+esm3"
},
{
"binary_name": "libx32tinfo5",
"binary_version": "6.1-1ubuntu1.18.04.1+esm3"
},
{
"binary_name": "ncurses-base",
"binary_version": "6.1-1ubuntu1.18.04.1+esm3"
},
{
"binary_name": "ncurses-bin",
"binary_version": "6.1-1ubuntu1.18.04.1+esm3"
},
{
"binary_name": "ncurses-examples",
"binary_version": "6.1-1ubuntu1.18.04.1+esm3"
},
{
"binary_name": "ncurses-term",
"binary_version": "6.1-1ubuntu1.18.04.1+esm3"
}
],
"priority_reason": "no security impact as terminfo files are trusted"
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "ncurses",
"purl": "pkg:deb/ubuntu/ncurses@6.1-1ubuntu1.18.04.1+esm3?arch=source\u0026distro=esm-infra/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"6.0+20160625-1ubuntu1",
"6.0+20171125-1ubuntu1",
"6.1-1ubuntu1",
"6.1-1ubuntu1.18.04",
"6.1-1ubuntu1.18.04.1",
"6.1-1ubuntu1.18.04.1+esm1",
"6.1-1ubuntu1.18.04.1+esm2",
"6.1-1ubuntu1.18.04.1+esm3"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "lib32ncurses6",
"binary_version": "6.2-0ubuntu2.1+esm1"
},
{
"binary_name": "lib32ncursesw6",
"binary_version": "6.2-0ubuntu2.1+esm1"
},
{
"binary_name": "lib32tinfo6",
"binary_version": "6.2-0ubuntu2.1+esm1"
},
{
"binary_name": "lib64ncurses6",
"binary_version": "6.2-0ubuntu2.1+esm1"
},
{
"binary_name": "lib64ncursesw6",
"binary_version": "6.2-0ubuntu2.1+esm1"
},
{
"binary_name": "lib64tinfo6",
"binary_version": "6.2-0ubuntu2.1+esm1"
},
{
"binary_name": "libncurses5",
"binary_version": "6.2-0ubuntu2.1+esm1"
},
{
"binary_name": "libncurses6",
"binary_version": "6.2-0ubuntu2.1+esm1"
},
{
"binary_name": "libncursesw5",
"binary_version": "6.2-0ubuntu2.1+esm1"
},
{
"binary_name": "libncursesw6",
"binary_version": "6.2-0ubuntu2.1+esm1"
},
{
"binary_name": "libtinfo5",
"binary_version": "6.2-0ubuntu2.1+esm1"
},
{
"binary_name": "libtinfo6",
"binary_version": "6.2-0ubuntu2.1+esm1"
},
{
"binary_name": "ncurses-base",
"binary_version": "6.2-0ubuntu2.1+esm1"
},
{
"binary_name": "ncurses-bin",
"binary_version": "6.2-0ubuntu2.1+esm1"
},
{
"binary_name": "ncurses-examples",
"binary_version": "6.2-0ubuntu2.1+esm1"
},
{
"binary_name": "ncurses-term",
"binary_version": "6.2-0ubuntu2.1+esm1"
}
],
"priority_reason": "no security impact as terminfo files are trusted"
},
"package": {
"ecosystem": "Ubuntu:Pro:20.04:LTS",
"name": "ncurses",
"purl": "pkg:deb/ubuntu/ncurses@6.2-0ubuntu2.1+esm1?arch=source\u0026distro=esm-infra/focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"6.1+20190803-1ubuntu1",
"6.1+20191019-1ubuntu1",
"6.2-0ubuntu2",
"6.2-0ubuntu2.1",
"6.2-0ubuntu2.1+esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "lib32ncurses6",
"binary_version": "6.3-2ubuntu0.2"
},
{
"binary_name": "lib32ncursesw6",
"binary_version": "6.3-2ubuntu0.2"
},
{
"binary_name": "lib32tinfo6",
"binary_version": "6.3-2ubuntu0.2"
},
{
"binary_name": "lib64ncurses6",
"binary_version": "6.3-2ubuntu0.2"
},
{
"binary_name": "lib64ncursesw6",
"binary_version": "6.3-2ubuntu0.2"
},
{
"binary_name": "lib64tinfo6",
"binary_version": "6.3-2ubuntu0.2"
},
{
"binary_name": "libncurses5",
"binary_version": "6.3-2ubuntu0.2"
},
{
"binary_name": "libncurses6",
"binary_version": "6.3-2ubuntu0.2"
},
{
"binary_name": "libncursesw5",
"binary_version": "6.3-2ubuntu0.2"
},
{
"binary_name": "libncursesw6",
"binary_version": "6.3-2ubuntu0.2"
},
{
"binary_name": "libtinfo5",
"binary_version": "6.3-2ubuntu0.2"
},
{
"binary_name": "libtinfo6",
"binary_version": "6.3-2ubuntu0.2"
},
{
"binary_name": "ncurses-base",
"binary_version": "6.3-2ubuntu0.2"
},
{
"binary_name": "ncurses-bin",
"binary_version": "6.3-2ubuntu0.2"
},
{
"binary_name": "ncurses-examples",
"binary_version": "6.3-2ubuntu0.2"
},
{
"binary_name": "ncurses-term",
"binary_version": "6.3-2ubuntu0.2"
}
],
"priority_reason": "no security impact as terminfo files are trusted"
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "ncurses",
"purl": "pkg:deb/ubuntu/ncurses@6.3-2ubuntu0.2?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"6.2+20201114-2build1",
"6.2+20201114-2build2",
"6.3-1",
"6.3-2",
"6.3-2ubuntu0.1",
"6.3-2ubuntu0.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "lib32ncurses6",
"binary_version": "6.4+20240113-1ubuntu2.1"
},
{
"binary_name": "lib32ncursesw6",
"binary_version": "6.4+20240113-1ubuntu2.1"
},
{
"binary_name": "lib32tinfo6",
"binary_version": "6.4+20240113-1ubuntu2.1"
},
{
"binary_name": "lib64ncurses6",
"binary_version": "6.4+20240113-1ubuntu2.1"
},
{
"binary_name": "lib64ncursesw6",
"binary_version": "6.4+20240113-1ubuntu2.1"
},
{
"binary_name": "lib64tinfo6",
"binary_version": "6.4+20240113-1ubuntu2.1"
},
{
"binary_name": "libncurses6",
"binary_version": "6.4+20240113-1ubuntu2.1"
},
{
"binary_name": "libncursesw6",
"binary_version": "6.4+20240113-1ubuntu2.1"
},
{
"binary_name": "libtinfo6",
"binary_version": "6.4+20240113-1ubuntu2.1"
},
{
"binary_name": "ncurses-base",
"binary_version": "6.4+20240113-1ubuntu2.1"
},
{
"binary_name": "ncurses-bin",
"binary_version": "6.4+20240113-1ubuntu2.1"
},
{
"binary_name": "ncurses-examples",
"binary_version": "6.4+20240113-1ubuntu2.1"
},
{
"binary_name": "ncurses-term",
"binary_version": "6.4+20240113-1ubuntu2.1"
}
],
"priority_reason": "no security impact as terminfo files are trusted"
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "ncurses",
"purl": "pkg:deb/ubuntu/ncurses@6.4+20240113-1ubuntu2.1?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"6.4+20230625-2",
"6.4+20231016-1",
"6.4+20231121-1build1",
"6.4+20231209-1",
"6.4+20240113-1ubuntu1",
"6.4+20240113-1ubuntu2",
"6.4+20240113-1ubuntu2.1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "lib32ncurses6",
"binary_version": "6.5+20250216-2ubuntu0.1"
},
{
"binary_name": "lib32ncursesw6",
"binary_version": "6.5+20250216-2ubuntu0.1"
},
{
"binary_name": "lib32tinfo6",
"binary_version": "6.5+20250216-2ubuntu0.1"
},
{
"binary_name": "lib64ncurses6",
"binary_version": "6.5+20250216-2ubuntu0.1"
},
{
"binary_name": "lib64ncursesw6",
"binary_version": "6.5+20250216-2ubuntu0.1"
},
{
"binary_name": "lib64tinfo6",
"binary_version": "6.5+20250216-2ubuntu0.1"
},
{
"binary_name": "libncurses6",
"binary_version": "6.5+20250216-2ubuntu0.1"
},
{
"binary_name": "libncursesw6",
"binary_version": "6.5+20250216-2ubuntu0.1"
},
{
"binary_name": "libtinfo6",
"binary_version": "6.5+20250216-2ubuntu0.1"
},
{
"binary_name": "ncurses-base",
"binary_version": "6.5+20250216-2ubuntu0.1"
},
{
"binary_name": "ncurses-bin",
"binary_version": "6.5+20250216-2ubuntu0.1"
},
{
"binary_name": "ncurses-examples",
"binary_version": "6.5+20250216-2ubuntu0.1"
},
{
"binary_name": "ncurses-term",
"binary_version": "6.5+20250216-2ubuntu0.1"
}
],
"priority_reason": "no security impact as terminfo files are trusted"
},
"package": {
"ecosystem": "Ubuntu:25.10",
"name": "ncurses",
"purl": "pkg:deb/ubuntu/ncurses@6.5+20250216-2ubuntu0.1?arch=source\u0026distro=questing"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"6.5+20250216-2",
"6.5+20250216-2build1",
"6.5+20250216-2ubuntu0.1"
]
}
],
"aliases": [],
"details": "A 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.",
"id": "UBUNTU-CVE-2025-6141",
"modified": "2026-07-07T19:03:08Z",
"published": "2025-06-16T22:16:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2025-6141"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2025-6141"
},
{
"type": "REPORT",
"url": "https://lists.gnu.org/archive/html/bug-ncurses/2025-03/msg00107.html"
},
{
"type": "REPORT",
"url": "https://lists.gnu.org/archive/html/bug-ncurses/2025-03/msg00109.html"
},
{
"type": "REPORT",
"url": "https://invisible-island.net/ncurses/NEWS.html#index-t20250329"
},
{
"type": "REPORT",
"url": "https://lists.gnu.org/archive/html/bug-ncurses/2025-03/msg00114.html"
},
{
"type": "REPORT",
"url": "https://vuldb.com/?ctiid.312610"
},
{
"type": "REPORT",
"url": "https://vuldb.com/?id.312610"
},
{
"type": "REPORT",
"url": "https://vuldb.com/?submit.593000"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L",
"type": "CVSS_V3"
},
{
"score": "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",
"type": "CVSS_V4"
},
{
"score": "low",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2025-6141"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…