{"schemaVersion":3,"id":"CVE-2025-59731","aliases":["UBUNTU-CVE-2025-59731","DEBIAN-CVE-2025-59731","CGA-3j2g-qmp2-qgvf","CGA-rrxc-q4x7-3v3p","CGA-vjrp-rmq3-p4x4","CGA-xm5m-9v6j-vjv3","CGA-4mvg-8r78-xp7p","CGA-4v4j-mwxv-r9c8","CGA-6cp3-866v-pppp","CGA-7g9p-9h3x-6fq5","CGA-7x27-frcg-c7j5","CGA-jcw4-jvm5-9c9w"],"status":"published","duplicateOf":null,"title":null,"description":"When decoding an OpenEXR file that uses DWAA or DWAB compression, the specified raw length of run-length-encoded data is not checked when using it to calculate the output data.\n\nWe read rle_raw_size from the input file at [0], we decompress and decode into the buffer td->rle_raw_data of size rle_raw_size at [1], and then at [2] we will access entries in this buffer up to (td->xsize - 1) * (td->ysize - 1) + rle_raw_size / 2, which may exceed rle_raw_size.\n\n\n\n\nWe recommend upgrading to version 8.0 or beyond.","dates":{"published":"2025-10-06T08:09:23.410Z","modified":"2026-02-26T17:48:18.117Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.9,"severity":"medium","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"CVSS:4.0/AV:A/AC:H/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":6.9,"severity":"medium","vector":"CVSS:4.0/AV:A/AC:H/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":6.9,"severity":"medium","vector":"CVSS:4.0/AV:A/AC:H/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Debian","score":6.9,"severity":"medium","vector":"CVSS:4.0/AV:A/AC:H/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Wolfi","score":6.9,"severity":"medium","vector":"CVSS:4.0/AV:A/AC:H/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Chainguard","score":6.9,"severity":"medium","vector":"CVSS:4.0/AV:A/AC:H/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":6.9,"severity":"medium","vector":"CVSS:4.0/AV:A/AC:H/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00173,"percentile":0.06267,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.00173},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00173,"percentile":0.06267}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00173,"percentile":0.06267}]},"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":[],"exploitCount":0,"weaknesses":[{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"chainguard","product":"eco-python-ffmpeg-7-minimal","name":"eco-python-ffmpeg-7-minimal","label":"eco-python-ffmpeg-7-minimal","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/eco-python-ffmpeg-7-minimal","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"eco-python-ffmpeg-7-minimal-dev","name":"eco-python-ffmpeg-7-minimal-dev","label":"eco-python-ffmpeg-7-minimal-dev","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/eco-python-ffmpeg-7-minimal-dev","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"eco-python-ffmpeg-7-minimal-static","name":"eco-python-ffmpeg-7-minimal-static","label":"eco-python-ffmpeg-7-minimal-static","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/eco-python-ffmpeg-7-minimal-static","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"ffmpeg-7","name":"ffmpeg-7","label":"ffmpeg-7","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/ffmpeg-7","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"ffmpeg-7.1","name":"ffmpeg-7.1","label":"ffmpeg-7.1","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/ffmpeg-7.1","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"ffmpeg-7","name":"ffmpeg-7","label":"ffmpeg-7","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/ffmpeg-7","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"ffmpeg-7.1","name":"ffmpeg-7.1","label":"ffmpeg-7.1","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/ffmpeg-7.1","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"debian","product":"ffmpeg","name":"ffmpeg","label":"ffmpeg","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/ffmpeg","purlType":"deb","versions":[{"text":"< 7:5.1.7-0+deb12u1","noFixRecorded":false,"fixedIn":null},{"text":"< 7:7.1.2-0+deb13u1","noFixRecorded":false,"fixedIn":null},{"text":"< 7:7.1.2-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7:5.1.7-0+deb12u1 | < 7:7.1.2-0+deb13u1 | < 7:7.1.2-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"ffmpeg","name":"ffmpeg","label":"ffmpeg","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/ffmpeg","purlType":"deb","versions":[{"text":"< 7:4.4.2-0ubuntu0.22.04.1+esm11","noFixRecorded":false,"fixedIn":null},{"text":"< 7:6.1.1-3ubuntu5+esm7","noFixRecorded":false,"fixedIn":null},{"text":"< 7:7.1.1-1ubuntu4.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7:4.4.2-0ubuntu0.22.04.1+esm11 | < 7:6.1.1-3ubuntu5+esm7 | < 7:7.1.1-1ubuntu4.2","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"libav","name":"libav","label":"libav","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/libav","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ffmpeg","product":"ffmpeg","name":"ffmpeg","label":"ffmpeg","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 9a32b863074ed4140141e0d3613905c6f1fe61c5, < 8.0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 7.1.1, < 8.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 9a32b863074ed4140141e0d3613905c6f1fe61c5, < 8.0 | ≥ 7.1.1, < 8.0","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"ffmpeg","label":"FFmpeg","category":"framework"}},"hubHref":"/vendor/ffmpeg/ffmpeg"}],"affectedCount":11,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://issuetracker.google.com/436510153","label":"issuetracker.google.com/436510153","hostname":"issuetracker.google.com","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2025-59731","label":"ubuntu.com/security/CVE-2025-59731","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-59731","label":"www.cve.org/CVERecord?id=CVE-2025-59731","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://issuetracker.google.com/issues/436510153","label":"issuetracker.google.com/issues/436510153","hostname":"issuetracker.google.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-7982-1","label":"ubuntu.com/security/notices/USN-7982-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-59731","label":"security-tracker.debian.org/tracker/CVE-2025-59731","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/59xxx/CVE-2025-59731.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2025/59xxx/CVE-2025-59731.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-59731","label":"nvd.nist.gov/vuln/detail/CVE-2025-59731","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://git.ffmpeg.org/ffmpeg.git","label":"git.ffmpeg.org/ffmpeg.git","hostname":"git.ffmpeg.org","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":["DSA-5985-1","DSA-6007-1","MGASA-2025-0306"],"duplicates":[],"related":["CGA-WR86-RX62-FR79","USN-7982-1"]},"timeline":[{"kind":"published","date":"2025-10-06T08:09:23.410Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-02-26T17:48:18.117Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":28,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T09:35:49.433Z","stale":false,"partial":false}}