# CVE-2023-45918: ncurses: ncurses 6.4-20230610 has a NULL pointer dereference in tgetstr in tinfo/lib_termcap.c

CVE-2023-45918 is fixed in 13 products on 1 platform, first by CVE-2023-45918, released February 16, 2024. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2023-45918
- Priority: Routine
- CVSS: n/a (moderate)
- EPSS: n/a
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Feb 16, 2024

## Description

ncurses 6.4-20230610 has a NULL pointer dereference in tgetstr in tinfo/lib_termcap.c. NOTE: Multiple third parties have disputed this indicating upstream does not regard it as a security issue.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | ncurses Debian 13.5 (trixie) | 6.4+20230625-1 | [CVE-2023-45918](https://patchblox.com/security/data/fix/linux/cve-2023-45918.md) | Feb 16, 2024 |
| Linux | ncurses amzn 2023 | 6.2-4.20200222.amzn2023.0.6 | [ALAS2023-2024-554](https://patchblox.com/security/data/fix/linux/alas2023-2024-554.md) | Feb 29, 2024 |
| Linux | ncurses-base amzn 2023 | 6.2-4.20200222.amzn2023.0.6 | [ALAS2023-2024-554](https://patchblox.com/security/data/fix/linux/alas2023-2024-554.md) | Feb 29, 2024 |
| Linux | ncurses-c++-libs amzn 2023 | 6.2-4.20200222.amzn2023.0.6 | [ALAS2023-2024-554](https://patchblox.com/security/data/fix/linux/alas2023-2024-554.md) | Feb 29, 2024 |
| Linux | ncurses-c++-libs-debuginfo amzn 2023 | 6.2-4.20200222.amzn2023.0.6 | [ALAS2023-2024-554](https://patchblox.com/security/data/fix/linux/alas2023-2024-554.md) | Feb 29, 2024 |
| Linux | ncurses-compat-libs amzn 2023 | 6.2-4.20200222.amzn2023.0.6 | [ALAS2023-2024-554](https://patchblox.com/security/data/fix/linux/alas2023-2024-554.md) | Feb 29, 2024 |
| Linux | ncurses-compat-libs-debuginfo amzn 2023 | 6.2-4.20200222.amzn2023.0.6 | [ALAS2023-2024-554](https://patchblox.com/security/data/fix/linux/alas2023-2024-554.md) | Feb 29, 2024 |
| Linux | ncurses-debuginfo amzn 2023 | 6.2-4.20200222.amzn2023.0.6 | [ALAS2023-2024-554](https://patchblox.com/security/data/fix/linux/alas2023-2024-554.md) | Feb 29, 2024 |
| Linux | ncurses-debugsource amzn 2023 | 6.2-4.20200222.amzn2023.0.6 | [ALAS2023-2024-554](https://patchblox.com/security/data/fix/linux/alas2023-2024-554.md) | Feb 29, 2024 |
| Linux | ncurses-devel amzn 2023 | 6.2-4.20200222.amzn2023.0.6 | [ALAS2023-2024-554](https://patchblox.com/security/data/fix/linux/alas2023-2024-554.md) | Feb 29, 2024 |
| Linux | ncurses-libs amzn 2023 | 6.2-4.20200222.amzn2023.0.6 | [ALAS2023-2024-554](https://patchblox.com/security/data/fix/linux/alas2023-2024-554.md) | Feb 29, 2024 |
| Linux | ncurses-libs-debuginfo amzn 2023 | 6.2-4.20200222.amzn2023.0.6 | [ALAS2023-2024-554](https://patchblox.com/security/data/fix/linux/alas2023-2024-554.md) | Feb 29, 2024 |
| Linux | ncurses-static amzn 2023 | 6.2-4.20200222.amzn2023.0.6 | [ALAS2023-2024-554](https://patchblox.com/security/data/fix/linux/alas2023-2024-554.md) | Feb 29, 2024 |
| Linux | ncurses-term amzn 2023 | 6.2-4.20200222.amzn2023.0.6 | [ALAS2023-2024-554](https://patchblox.com/security/data/fix/linux/alas2023-2024-554.md) | Feb 29, 2024 |

---

Data as of 2026-11-08T06:59:42Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
