CVE-2022-28331
Apache Portable Runtime (APR): Windows out-of-bounds write in apr_socket_sendv function
On Windows, Apache Portable Runtime 1.7.0 and earlier may write beyond the end of a stack based buffer in apr_socket_sendv(). This is a result of integer overflow.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
On Windows, Apache Portable Runtime 1.7.0 and earlier may write beyond the end of a stack based buffer in apr_socket_sendv(). This is a result of integer overflow.
- Record
CVE-2022-28331- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-190
- Updated
- 2026-11-02
CVE List
9.8
Apache Portable Runtime (APR): Windows out-of-bounds write in apr_socket_sendv function
On Windows, Apache Portable Runtime 1.7.0 and earlier may write beyond the end of a stack based buffer in apr_socket_sendv(). This is a result of integer overflow.
- Record
CVE-2022-28331- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-190
- Updated
- 2026-11-02
EUVDEUVD-2022-32783
9.8
On Windows, Apache Portable Runtime 1.7.0 and earlier may write beyond the end of a stack based buffer in apr_socket_sendv(). This is a result of integer overflow.
- Record
EUVD-2022-32783- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-27j5-c395-8j82
9.8
On Windows, Apache Portable Runtime 1.7.0 and earlier may write beyond the end of a stack based...
On Windows, Apache Portable Runtime 1.7.0 and earlier may write beyond the end of a stack based buffer in apr_socket_sendv(). This is a result of integer overflow.
- Record
GHSA-27j5-c395-8j82- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-190, CWE-787
- Updated
- 2026-11-02
OSVALPINE-CVE-2022-28331
9.8
On Windows, Apache Portable Runtime 1.7.0 and earlier may write beyond the end of a stack based buffer in apr_socket_sendv(). This is a result of integer overflow.
- Record
ALPINE-CVE-2022-28331- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
OSVBELL-CVE-2022-28331
9.8
CVE-2022-28331 does not affect BellSoft software
- Record
BELL-CVE-2022-28331- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSV
9.8
Apache Portable Runtime (APR): Windows out-of-bounds write in apr_socket_sendv function
On Windows, Apache Portable Runtime 1.7.0 and earlier may write beyond the end of a stack based buffer in apr_socket_sendv(). This is a result of integer overflow.
- Record
CVE-2022-28331- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-190
- Updated
- 2026-11-02
OSVBIT-apr-2022-28331 No score
Apache Portable Runtime (APR): Windows out-of-bounds write in apr_socket_sendv function
On Windows, Apache Portable Runtime 1.7.0 and earlier may write beyond the end of a stack based buffer in apr_socket_sendv(). This is a result of integer overflow.
- Record
BIT-apr-2022-28331- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
aprAlpine:v3.14 |
before 1.7.1-r0 | 1.7.1-r0 |
aprAlpine:v3.15 |
before 1.7.1-r0 | 1.7.1-r0 |
aprAlpine:v3.16 |
before 1.7.1-r0 | 1.7.1-r0 |
aprAlpine:v3.17 |
before 1.7.1-r0 | 1.7.1-r0 |
aprAlpine:v3.18 |
before 1.7.1-r0 | 1.7.1-r0 |
aprAlpine:v3.19 |
before 1.7.1-r0 | 1.7.1-r0 |
aprAlpine:v3.20 |
before 1.7.1-r0 | 1.7.1-r0 |
aprAlpine:v3.21 |
before 1.7.1-r0 | 1.7.1-r0 |
aprAlpine:v3.22 |
before 1.7.1-r0 | 1.7.1-r0 |
aprAlpine:v3.23 |
before 1.7.1-r0 | 1.7.1-r0 |
aprAlpine:v3.24 |
before 1.7.1-r0 | 1.7.1-r0 |
aprBitnami |
before 1.7.1 | 1.7.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-28331 is a critical vulnerability (CVSS 9.8) in Apache Portable Runtime (apr), published January 31, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.57%, the 75th percentile. Fixed in apr 1.7.1-r0.
References
lists.apache.org/thread/5pfdfn7h0vsdo5xzjn97vghp0x42jj2r
nvd.nist.gov/vuln/detail/CVE-2022-28331
github.com/advisories/GHSA-27j5-c395-8j82
security.alpinelinux.org/vuln/CVE-2022-28331
docs.bell-sw.com/security/cves/CVE-2022-28331
github.com/CVEProject/cvelistV5/tree/main/cves/2022/28xxx/CVE-2022-28331.json