{"id":"CVE-2023-40032","summary":"Potential segfault due to NULL pointer dereference in libvips","details":"libvips is a demand-driven, horizontally threaded image processing library. A specially crafted SVG input can cause libvips versions 8.14.3 or earlier to segfault when attempting to parse a malformed UTF-8 character. Users should upgrade to libvips version 8.14.4 (or later) when processing untrusted input.","aliases":["GHSA-33qp-9pq7-9584"],"modified":"2026-08-12T14:51:10.456878Z","published":"2023-09-11T18:34:59.025Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-476"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/40xxx/CVE-2023-40032.json"},"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YU2FFC47X2XDEGEHEWAGLU5L3R6FEYD2/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/40xxx/CVE-2023-40032.json"},{"type":"ADVISORY","url":"https://github.com/libvips/libvips/security/advisories/GHSA-33qp-9pq7-9584"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-40032"},{"type":"FIX","url":"https://github.com/libvips/libvips/commit/e091d65835966ef56d53a4105a7362cafdb1582b"},{"type":"FIX","url":"https://github.com/libvips/libvips/pull/3604"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/libvips/libvips","events":[{"introduced":"f352bcd1911d8076a5d5a218d2d15f5d583d4e5b"},{"fixed":"f049dcdfc434d643e3155bb990192d489ae5ff1a"},{"fixed":"e091d65835966ef56d53a4105a7362cafdb1582b"}],"database_specific":{"cpe":"cpe:2.3:a:libvips:libvips:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"8.12.0"},{"fixed":"8.14.4"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["v8.14.3","v8.14.2","v8.14.1","v8.14.0","v8.14.0-rc1","v8.13.0","v8.13.0-rc2","v8.13.0-rc1","v8.13.0-pre1","v8.12.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-40032.json","vanir_signatures_modified":"2026-08-12T14:51:10Z","vanir_signatures":[{"target":{"file":"libvips/foreign/svgload.c"},"deprecated":false,"digest":{"line_hashes":["170885517102486561048185613424799958308","150193661409033258265602678708587110354","109078347619783598292904595682947213890","76840711283827397586893892035367920405","313025448846228725396297086299429834947","215663477939558576878433716517615608954","258350027842954322247583112206745139959","306457976830968174304940078345747825758","245006766294224326846210864899497322916","333596440597317500823770783302497869886","139160533008248596381614970975149558278","136030083114180078599185088963244874890"],"threshold":0.9},"id":"CVE-2023-40032-43d9abd1","signature_type":"Line","signature_version":"v1","source":"https://github.com/libvips/libvips/commit/e091d65835966ef56d53a4105a7362cafdb1582b"},{"signature_type":"Function","signature_version":"v1","source":"https://github.com/libvips/libvips/commit/e091d65835966ef56d53a4105a7362cafdb1582b","target":{"function":"vips_utf8_strcasestr","file":"libvips/foreign/svgload.c"},"deprecated":false,"digest":{"function_hash":"239181187404395919474088618731345168735","length":819},"id":"CVE-2023-40032-6e475066"}]}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}