{"schemaVersion":3,"id":"CVE-2026-31884","aliases":["UBUNTU-CVE-2026-31884","DEBIAN-CVE-2026-31884"],"status":"published","duplicateOf":null,"title":null,"description":"FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to 3.24.0, division by zero in MS-ADPCM and IMA-ADPCM decoders when nBlockAlign is 0, leading to a crash. In libfreerdp/codec/dsp.c, both ADPCM decoders use size % block_size where block_size = context->common.format.nBlockAlign. The nBlockAlign value comes from the Server Audio Formats PDU on the RDPSND channel. The value 0 is not validated anywhere before reaching the decoder. When nBlockAlign = 0, the modulo operation causes a SIGFPE (floating point exception) crash. This vulnerability is fixed in 3.24.0.","dates":{"published":"2026-03-13T17:36:57.722Z","modified":"2026-03-16T15:33:42.352Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00315,"percentile":0.2297,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.011999999999999988,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00303},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00315,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00315,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00315,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00315,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00315,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00315,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00315,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00315,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00315,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00315,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00315,"percentile":0.2297}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00315,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00315,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00315,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00315,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00315,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00315,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00315,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00315,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00315,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00315,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00315,"percentile":0.2297}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_FREERDP_FREERDP","name":"Freerdp","source":"github","url":"https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-5wr6-8m8j-3h7f","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-369","name":"Divide By Zero","description":"The product divides a value by zero.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/369.html"}],"affected":[{"vendor":"debian","product":"freerdp2","name":"freerdp2","label":"freerdp2","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/freerdp2","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"debian","product":"freerdp3","name":"freerdp3","label":"freerdp3","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/freerdp3","purlType":"deb","versions":[{"text":"< 3.15.0+dfsg-2.1+deb13u2","noFixRecorded":false,"fixedIn":null},{"text":"< 3.24.0+dfsg-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.15.0+dfsg-2.1+deb13u2 | < 3.24.0+dfsg-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"freerdp","name":"freerdp","label":"freerdp","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/freerdp","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"freerdp2","name":"freerdp2","label":"freerdp2","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/freerdp2","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"freerdp3","name":"freerdp3","label":"freerdp3","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/freerdp3","purlType":"deb","versions":[{"text":"< 3.30.0+dfsg-0ubuntu0.24.04.1","noFixRecorded":false,"fixedIn":null},{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"< 3.30.0+dfsg-0ubuntu0.24.04.1 | All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"freerdp","product":"freerdp","name":"freerdp","label":"freerdp","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 3.24.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.24.0","eol":null,"hubHref":"/vendor/freerdp/freerdp"}],"affectedCount":6,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-jp7m-94ww-p56r","label":"github.com/FreeRDP/FreeRDP/security/advisories/GHSA-jp7m-94ww-p56r","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT","Exploit","Patch","Vendor Advisory"]},{"url":"https://github.com/FreeRDP/FreeRDP/commit/03b48b3601d867afccac1cdc6081de7a275edce7","label":"github.com/FreeRDP/FreeRDP/commit/03b48b3601d867afccac1cdc6081de7a275edce7","hostname":"github.com","tags":["X Refsource MISC","REPORT","Patch"]},{"url":"https://github.com/FreeRDP/FreeRDP/commit/16df2300e1e3f5a51f68fb1626429e58b531b7c8","label":"github.com/FreeRDP/FreeRDP/commit/16df2300e1e3f5a51f68fb1626429e58b531b7c8","hostname":"github.com","tags":["X Refsource MISC","REPORT","Patch"]},{"url":"https://ubuntu.com/security/CVE-2026-31884","label":"ubuntu.com/security/CVE-2026-31884","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-31884","label":"www.cve.org/CVERecord?id=CVE-2026-31884","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-8561-1","label":"ubuntu.com/security/notices/USN-8561-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-31884","label":"security-tracker.debian.org/tracker/CVE-2026-31884","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2026:10408-1","RHSA-2026:16014","RHSA-2026:16019","RHSA-2026:16482","RHSA-2026:16483","RHSA-2026:16485","RHSA-2026:16777","RHSA-2026:16814","RHSA-2026:16865","RHSA-2026:16866","RHSA-2026:19142","RHSA-2026:19358","RHSA-2026:19811","RHSA-2026:20546","RHSA-2026:20605","USN-8561-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:10408-1","USN-8561-1"]},"timeline":[{"kind":"published","date":"2026-03-13T17:36:57.722Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-03-16T15:33:42.352Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":40,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T03:40:35.952Z","stale":false,"partial":false}}