{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-70652","id":"CVE-2026-70652","title":"libvips: Possible heap-based buffer read overflow when resizing and re-encoding a JPEG with gain map","description":"libvips is a fast image processing library with low memory needs. Prior to version 8.18.3, libvips built with libultrahdr support can incorrectly size an output buffer in libvips/foreign/uhdrsave.c within vips_foreign_save_uhdr_set_raw_hdr when a pipeline enlarges an incoming JPEG to a very large output before encoding a gain map through VipsForeignSaveUhdr. The undersized allocation can cause a h","descriptionLong":"libvips is a fast image processing library with low memory needs. Prior to version 8.18.3, libvips built with libultrahdr support can incorrectly size an output buffer in libvips/foreign/uhdrsave.c within vips_foreign_save_uhdr_set_raw_hdr when a pipeline enlarges an incoming JPEG to a very large output before encoding a gain map through VipsForeignSaveUhdr. The undersized allocation can cause a heap buffer over-read that may disclose adjacent data or crash the process. This issue is fixed in version 8.18.3.","published":"2026-08-20T21:04:51.898Z","updated":"2026-10-28T11:22:40.725788320Z","reserved":"2026-08-04T21:48:08.612Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":2,"vector":"CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N","rating":"low","source":"GitHub_M"},"metrics":[{"version":"4.0","score":2,"vector":"CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N","rating":"low","source":"GitHub_M"},{"version":"4.0","score":2,"vector":"CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/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","rating":"low","source":"github.com"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N","rating":"unrated","source":"OSV"}],"rating":"low","products":["libvips"],"affectedProducts":[{"vendor":"libvips","product":"libvips","defaultStatus":null,"versions":[{"version":"< 8.18.3","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-126"],"aliases":["GHSA-h27h-jf9v-m8rg"],"references":[{"url":"https://github.com/libvips/libvips/security/advisories/GHSA-h27h-jf9v-m8rg","tags":["x_refsource_CONFIRM","advisory"]},{"url":"https://github.com/libvips/libvips/pull/5039","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/libvips/libvips/commit/cff17794f0698a4f47c74bb31c9700b2c83252a8","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/libvips/libvips/releases/tag/v8.18.3","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/70xxx/CVE-2026-70652.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-70652","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00142,"epssPercentile":0.03542,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-70652","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-70652","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-70652","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-70652","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}