Ppmd7.c in 7-Zip before 23.00 allows an integer underflow and invalid read operation via a crafted 7Z archive.
The non-Windows p7zip fork builds did not pick up the upstream PPMd fix when the Windows binaries switched to 7-Zip 23.01. All platforms first ship the fixed decoder in 17.7.0+0.
{
"license": "CC-BY-4.0",
"sources": [
{
"affected": {
"7-zip:7-zip": [
"< 22.01"
]
},
"database_specific": {
"status": "Modified"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-31102",
"id": "CVE-2023-31102",
"imported": "2026-12-02T16:47:15.491Z",
"modified": "2026-06-17T05:56:17.910Z",
"published": "2023-11-03T04:15:20.793Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2023-31102"
}
]
}