Every CVE Search/ Get API key

CVE-2022-28331

Apache Portable Runtime (APR): Windows out-of-bounds write in apr_socket_sendv function

9.8 CriticalFix available

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

1.57%Up 0.7 points since Feb 1, 2023
90%50%10%1%

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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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

Affected packages
PackageAffectedFixed
apr
Alpine:v3.14
before 1.7.1-r0
1.7.1-r0
apr
Alpine:v3.15
before 1.7.1-r0
1.7.1-r0
apr
Alpine:v3.16
before 1.7.1-r0
1.7.1-r0
apr
Alpine:v3.17
before 1.7.1-r0
1.7.1-r0
apr
Alpine:v3.18
before 1.7.1-r0
1.7.1-r0
apr
Alpine:v3.19
before 1.7.1-r0
1.7.1-r0
apr
Alpine:v3.20
before 1.7.1-r0
1.7.1-r0
apr
Alpine:v3.21
before 1.7.1-r0
1.7.1-r0
apr
Alpine:v3.22
before 1.7.1-r0
1.7.1-r0
apr
Alpine:v3.23
before 1.7.1-r0
1.7.1-r0
apr
Alpine:v3.24
before 1.7.1-r0
1.7.1-r0
apr
Bitnami
before 1.7.1
1.7.1

History

History
RecordedChangedSources
first indexedCVE 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

MoveEnter Open