{"id":"CVE-2025-59731","state":"PUBLISHED","title":"Heap-buffer-overflow write in FFmpeg EXR dwa_uncompress","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.","publishedAt":"2025-10-06T08:09:23.410Z","updatedAt":"2026-02-26T17:48:18.117Z","severity":{"score":6.9,"label":"Medium","version":"4.0","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","source":"Google"},"assigner":"Google","products":["FFmpeg FFmpeg"],"affected":[{"vendor":"FFmpeg","product":"FFmpeg","packageName":"EXR","defaultStatus":"unaffected","versions":[{"version":"9a32b863074ed4140141e0d3613905c6f1fe61c5","status":"affected","lessThan":"8.0","versionType":"custom"},{"version":"7.1.1","status":"affected","lessThan":"8.0","versionType":"semver"}],"collectionURL":"https://git.ffmpeg.org/ffmpeg.git","repo":"https://git.ffmpeg.org/ffmpeg.git"}],"references":["https://issuetracker.google.com/436510153"],"weaknesses":["CWE-787"],"ingestedAt":"2026-10-29T20:09:39.787Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/59xxx/CVE-2025-59731.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-59731","state":"PUBLISHED","datePublished":"2025-10-06T08:09:23.410Z","dateUpdated":"2026-02-26T17:48:18.117Z","assignerShortName":"Google","assignerOrgId":"14ed7db2-1595-443d-9d34-6215bf890778","dateReserved":"2025-09-19T08:11:37.550Z"},"containers":{"cna":{"title":"Heap-buffer-overflow write in FFmpeg EXR dwa_uncompress","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"FFmpeg","product":"FFmpeg","packageName":"EXR","defaultStatus":"unaffected","versions":[{"version":"9a32b863074ed4140141e0d3613905c6f1fe61c5","status":"affected","lessThan":"8.0","versionType":"custom"},{"version":"7.1.1","status":"affected","lessThan":"8.0","versionType":"semver"}],"collectionURL":"https://git.ffmpeg.org/ffmpeg.git","repo":"https://git.ffmpeg.org/ffmpeg.git"}],"references":[{"url":"https://issuetracker.google.com/436510153"}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"HIGH","attackRequirements":"NONE","attackVector":"ADJACENT","baseScore":6.9,"baseSeverity":"MEDIUM","privilegesRequired":"LOW","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","userInteraction":"PASSIVE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-787","description":"CWE-787 Out-of-bounds Write","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"Google","orgId":"14ed7db2-1595-443d-9d34-6215bf890778","dateUpdated":"2025-10-19T14:53:00.719Z"},"credits":[{"lang":"en","type":"finder","value":"Google Big Sleep"}],"datePublic":"2025-08-04T22:00:00.000Z","impacts":[{"capecId":"CAPEC-100","descriptions":[{"lang":"en","value":"CAPEC-100 Overflow Buffers"}]}],"source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2025-59731","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2025-10-08T03:55:11.920040Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-02-26T17:48:18.117Z"}}]}}}