{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-70654","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2026-08-04T21:48:08.612Z","datePublished":"2026-08-20T21:07:25.540Z","dateUpdated":"2026-08-21T11:35:46.559Z"},"containers":{"cna":{"title":"libvips: A well-crafted PPM image processed via a custom source could lead to possible heap buffer write overflow","problemTypes":[{"descriptions":[{"cweId":"CWE-122","lang":"en","description":"CWE-122: Heap-based Buffer Overflow","type":"CWE"}]}],"metrics":[{"cvssV4_0":{"attackVector":"LOCAL","attackComplexity":"HIGH","attackRequirements":"PRESENT","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":5.8,"baseSeverity":"MEDIUM","vectorString":"CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N","version":"4.0"}}],"references":[{"name":"https://github.com/libvips/libvips/security/advisories/GHSA-rjmm-3qch-m9rg","tags":["x_refsource_CONFIRM"],"url":"https://github.com/libvips/libvips/security/advisories/GHSA-rjmm-3qch-m9rg"},{"name":"https://github.com/libvips/libvips/pull/5038","tags":["x_refsource_MISC"],"url":"https://github.com/libvips/libvips/pull/5038"},{"name":"https://github.com/libvips/libvips/commit/80e021c6cdda0f80b756c2109d99839c94c03258","tags":["x_refsource_MISC"],"url":"https://github.com/libvips/libvips/commit/80e021c6cdda0f80b756c2109d99839c94c03258"},{"name":"https://github.com/libvips/libvips/releases/tag/v8.18.3","tags":["x_refsource_MISC"],"url":"https://github.com/libvips/libvips/releases/tag/v8.18.3"}],"affected":[{"vendor":"libvips","product":"libvips","versions":[{"version":"< 8.18.3","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2026-08-20T21:07:25.540Z"},"descriptions":[{"lang":"en","value":"libvips is a fast image processing library with low memory needs. Prior to version 8.18.3, applications that define unusual custom libvips sources and use them to process untrusted uncompressed PPM images can trigger a max/min error in vips_source_read_to_memory in libvips/iofuncs/source.c. The function uses VIPS_MAX instead of VIPS_MIN when selecting the remaining read size, allowing up to 4032 bytes to be written beyond the allocated heap buffer and causing memory corruption or a process crash. This issue is fixed in version 8.18.3."}],"source":{"advisory":"GHSA-rjmm-3qch-m9rg","discovery":"UNKNOWN"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-21T11:32:57.942167Z","id":"CVE-2026-70654","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-08-21T11:35:46.559Z"}}]}}