CVE-2026-86054

Source
https://cve.org/CVERecord?id=CVE-2026-86054
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-86054.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-86054
Aliases
  • GHSA-pxgg-96p2-c3hx
Published
2026-09-22T17:12:38Z
Modified
2026-09-25T08:24:15Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Notepad++: Stack Buffer Overflow in `NppParameters::writeSession` via overlong session path
Details

Notepad++ is a free and open-source source code editor. Prior to 8.9.8, Notepad++ contains a stack buffer overflow in NppParameters::writeSession in PowerEditor/src/Parameters.cpp because it copies a session path derived from -settingsDir= into backupPathName[MAX_PATH] with unbounded wcscpy and appends SESSION_BACKUP_EXT with unbounded wcscat. A sufficiently long settings directory causes the backup suffix to exceed the fixed stack buffer when Notepad++ saves the session, and the protected release build terminates through its stack canary, causing denial of service. This issue is fixed in version 8.9.8.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-121"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/86xxx/CVE-2026-86054.json"
}
References

Affected packages

Git / github.com/notepad-plus-plus/notepad-plus-plus

Affected ranges

Type
GIT
Repo
https://github.com/notepad-plus-plus/notepad-plus-plus
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "introduced":  "0"
        },
        {
            "fixed":  "8.9.8"
        }
    ],
    "source":  [
        "AFFECTED_FIELD",
        "REFERENCES"
    ]
}

Affected versions

7.*
7.2.2
7.3.1
v5.*
v5.4.2
v5.4.3
v5.4.4
v5.4.5
v5.5
v5.5.1
v5.6
v5.6.1
v5.6.2
v5.6.3
v5.6.4
v5.6.5
v5.6.6
v5.6.7
v5.6.8
v5.7
v5.8
v5.8.1
v5.8.2
v5.8.3
v5.8.4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1
v8.3.2
v8.3.3
v8.4
v8.4.1
v8.4.2
v8.4.3
v8.4.4
v8.4.5
v8.4.6
v8.4.7
v8.4.8
v8.4.9
v8.5
v8.5.1
v8.5.2
v8.5.3
v8.5.4
v8.5.5
v8.5.6
v8.5.7
v8.5.8
v8.6
v8.6.1
v8.6.2
v8.6.3
v8.6.4
v8.6.5
v8.6.6
v8.6.7
v8.6.8
v8.6.9
v8.7
v8.7.1
v8.7.2
v8.7.3
v8.7.4
v8.7.5
v8.7.6
v8.7.7
v8.7.8
v8.7.9
v8.8
v8.8.1
v8.8.2
v8.8.3
v8.8.4
v8.8.5
v8.8.6
v8.8.7
v8.8.8
v8.8.9
v8.9
v8.9.1
v8.9.2
v8.9.3
v8.9.4
v8.9.5
v8.9.6
v8.9.6.1
v8.9.6.2
v8.9.6.4
v8.9.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-86054.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "169247741825144624397136188255710522833",
                "50731968414209058442502004713777493169",
                "67552166248832970620335487999155388133",
                "180244811389147017096989761483559355784",
                "65253073140970142388915739552492156679",
                "151027174967116092706683563360107255966",
                "70225067072857101676133997820036074314",
                "255049643374874331213349666144399461309",
                "38136074712481667624842709037354577511",
                "328958860471478512977853027603915372828",
                "16288141341316623331258927018528679518",
                "223564522032782241237306493797029526086",
                "76914679914538767800483762583720520844",
                "112169958922795484295213951280942393151",
                "91074491918983620300922947778724979227",
                "333977570440272383146501816484296782007",
                "332107971182812462561610019347429323686",
                "158865921636288670345205618624457417954"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-86054-38f51f42",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/notepad-plus-plus/notepad-plus-plus/commit/046af3f626be7715886412313fc18f58b30dfcaf",
        "target":  {
            "file":  "PowerEditor/src/Parameters.cpp"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "296510864734399106219181515366821524363",
            "length":  5776
        },
        "id":  "CVE-2026-86054-99c089ca",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/notepad-plus-plus/notepad-plus-plus/commit/046af3f626be7715886412313fc18f58b30dfcaf",
        "target":  {
            "file":  "PowerEditor/src/Parameters.cpp",
            "function":  "NppParameters::writeSession"
        }
    }
]
vanir_signatures_modified
"2026-09-25T08:24:15Z"