CVEfocus › CVE database › CVE-2022-25147

CVE-2022-25147Apache Portable Runtime Utility (APR-util): out-of-bounds writes in the apr_base64…

EPSS 1.5% (higher than 75% of CVEs)Published 2023-01-31Updated 2025-02-13Assigner: apache

Integer Overflow or Wraparound vulnerability in apr_base64 functions of Apache Portable Runtime Utility (APR-util) allows an attacker to write beyond bounds of a buffer. This issue affects Apache Portable Runtime Utility (APR-util) 1.6.1 and prior versions.

CWE-190

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

75Fixed
2Fix pending
7Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04apr-utilFixed1.6.1-5ubuntu4.22.04.1UBUNTU-CVE-2022-25147
Ubuntu 20.04apr-utilFixed1.6.1-4ubuntu2.1UBUNTU-CVE-2022-25147
Ubuntu 18.04apr-utilFixed1.6.1-2ubuntu0.1UBUNTU-CVE-2022-25147
Ubuntu 16.04apr-utilFix pending1.5.4-1ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2022-25147
Ubuntu 14.04apr-utilFix pending1.5.3-1ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2022-25147
Debian 14apr-utilFixed1.6.3-1DEBIAN-CVE-2022-25147
Debian 13apr-utilFixed1.6.3-1DEBIAN-CVE-2022-25147
Debian 12apr-utilFixed1.6.3-1DEBIAN-CVE-2022-25147
Red Hat Enterprise Linux 9apr-utilFixed0:1.6.1-20.el9_2.1RHSA-2023:3147
Red Hat Enterprise Linux 9apr-util-bdbFixed0:1.6.1-20.el9_2.1RHSA-2023:3147
Red Hat Enterprise Linux 9apr-util-develFixed0:1.6.1-20.el9_2.1RHSA-2023:3147
Red Hat Enterprise Linux 9apr-util-ldapFixed0:1.6.1-20.el9_2.1RHSA-2023:3147
Red Hat Enterprise Linux 9apr-util-mysqlFixed0:1.6.1-20.el9_2.1RHSA-2023:3147
Red Hat Enterprise Linux 9apr-util-odbcFixed0:1.6.1-20.el9_2.1RHSA-2023:3147
Red Hat Enterprise Linux 9apr-util-opensslFixed0:1.6.1-20.el9_2.1RHSA-2023:3147
Red Hat Enterprise Linux 9apr-util-pgsqlFixed0:1.6.1-20.el9_2.1RHSA-2023:3147
Red Hat Enterprise Linux 9apr-util-sqliteFixed0:1.6.1-20.el9_2.1RHSA-2023:3147
Red Hat Enterprise Linux 8apr-utilFixed0:1.6.1-6.el8_8.1RHSA-2023:3109
Red Hat Enterprise Linux 8apr-util-bdbFixed0:1.6.1-6.el8_8.1RHSA-2023:3109
Red Hat Enterprise Linux 8apr-util-develFixed0:1.6.1-6.el8_8.1RHSA-2023:3109
Red Hat Enterprise Linux 8apr-util-ldapFixed0:1.6.1-6.el8_8.1RHSA-2023:3109
Red Hat Enterprise Linux 8apr-util-mysqlFixed0:1.6.1-6.el8_8.1RHSA-2023:3109
Red Hat Enterprise Linux 8apr-util-odbcFixed0:1.6.1-6.el8_8.1RHSA-2023:3109
Red Hat Enterprise Linux 8apr-util-opensslFixed0:1.6.1-6.el8_8.1RHSA-2023:3109
Red Hat Enterprise Linux 8apr-util-pgsqlFixed0:1.6.1-6.el8_8.1RHSA-2023:3109
Red Hat Enterprise Linux 8apr-util-sqliteFixed0:1.6.1-6.el8_8.1RHSA-2023:3109
Red Hat Enterprise Linux 7apr-utilFixed0:1.5.2-6.el7_9.1RHSA-2023:3145
Red Hat Enterprise Linux 7apr-util-develFixed0:1.5.2-6.el7_9.1RHSA-2023:3145
Red Hat Enterprise Linux 7apr-util-ldapFixed0:1.5.2-6.el7_9.1RHSA-2023:3145
Red Hat Enterprise Linux 7apr-util-mysqlFixed0:1.5.2-6.el7_9.1RHSA-2023:3145
Red Hat Enterprise Linux 7apr-util-nssFixed0:1.5.2-6.el7_9.1RHSA-2023:3145
Red Hat Enterprise Linux 7apr-util-odbcFixed0:1.5.2-6.el7_9.1RHSA-2023:3145
Red Hat Enterprise Linux 7apr-util-opensslFixed0:1.5.2-6.el7_9.1RHSA-2023:3145
Red Hat Enterprise Linux 7apr-util-pgsqlFixed0:1.5.2-6.el7_9.1RHSA-2023:3145
Red Hat Enterprise Linux 7apr-util-sqliteFixed0:1.5.2-6.el7_9.1RHSA-2023:3145
Red Hat Enterprise Linux 6apr-utilWill not fix
Out of support scope
Red Hat Enterprise Linux 6apr-util-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6apr-util-ldapWill not fix
Out of support scope
Red Hat Enterprise Linux 6apr-util-mysqlWill not fix
Out of support scope
Red Hat Enterprise Linux 6apr-util-odbcWill not fix
Out of support scope
Red Hat Enterprise Linux 6apr-util-pgsqlWill not fix
Out of support scope
Red Hat Enterprise Linux 6apr-util-sqliteWill not fix
Out of support scope
AlmaLinux 9apr-utilFixed1.6.1-20.el9_2.1ALSA-2023:3147
AlmaLinux 9apr-util-bdbFixed1.6.1-20.el9_2.1ALSA-2023:3147
AlmaLinux 9apr-util-develFixed1.6.1-20.el9_2.1ALSA-2023:3147
AlmaLinux 9apr-util-ldapFixed1.6.1-20.el9_2.1ALSA-2023:3147
AlmaLinux 9apr-util-mysqlFixed1.6.1-20.el9_2.1ALSA-2023:3147
AlmaLinux 9apr-util-odbcFixed1.6.1-20.el9_2.1ALSA-2023:3147
AlmaLinux 9apr-util-opensslFixed1.6.1-20.el9_2.1ALSA-2023:3147
AlmaLinux 9apr-util-pgsqlFixed1.6.1-20.el9_2.1ALSA-2023:3147
AlmaLinux 9apr-util-sqliteFixed1.6.1-20.el9_2.1ALSA-2023:3147
AlmaLinux 8apr-utilFixed1.6.1-6.el8_8.1ALSA-2023:3109
AlmaLinux 8apr-util-bdbFixed1.6.1-6.el8_8.1ALSA-2023:3109
AlmaLinux 8apr-util-develFixed1.6.1-6.el8_8.1ALSA-2023:3109
AlmaLinux 8apr-util-ldapFixed1.6.1-6.el8_8.1ALSA-2023:3109
AlmaLinux 8apr-util-mysqlFixed1.6.1-6.el8_8.1ALSA-2023:3109
AlmaLinux 8apr-util-odbcFixed1.6.1-6.el8_8.1ALSA-2023:3109
AlmaLinux 8apr-util-opensslFixed1.6.1-6.el8_8.1ALSA-2023:3109
AlmaLinux 8apr-util-pgsqlFixed1.6.1-6.el8_8.1ALSA-2023:3109
AlmaLinux 8apr-util-sqliteFixed1.6.1-6.el8_8.1ALSA-2023:3109
Rocky Linux 9apr-utilFixed0:1.6.1-20.el9_2.1RLSA-2023:3147
Rocky Linux 8apr-utilFixed0:1.6.1-6.el8.1RLSA-2023:3109
Alpine Linux 3.24aprFixed1.7.1-r0ALPINE-CVE-2022-25147
Alpine Linux 3.24apr-utilFixed1.6.3-r0ALPINE-CVE-2022-25147
Alpine Linux 3.23aprFixed1.7.1-r0ALPINE-CVE-2022-25147
Alpine Linux 3.23apr-utilFixed1.6.3-r0ALPINE-CVE-2022-25147
Alpine Linux 3.22aprFixed1.7.1-r0ALPINE-CVE-2022-25147
Alpine Linux 3.22apr-utilFixed1.6.3-r0ALPINE-CVE-2022-25147
Alpine Linux 3.21aprFixed1.7.1-r0ALPINE-CVE-2022-25147
Alpine Linux 3.21apr-utilFixed1.6.3-r0ALPINE-CVE-2022-25147
Alpine Linux 3.20aprFixed1.7.1-r0ALPINE-CVE-2022-25147
Alpine Linux 3.20apr-utilFixed1.6.3-r0ALPINE-CVE-2022-25147
Alpine Linux 3.19aprFixed1.7.1-r0ALPINE-CVE-2022-25147
Alpine Linux 3.19apr-utilFixed1.6.3-r0ALPINE-CVE-2022-25147
Alpine Linux 3.18aprFixed1.7.1-r0ALPINE-CVE-2022-25147
Alpine Linux 3.18apr-utilFixed1.6.3-r0ALPINE-CVE-2022-25147
Alpine Linux 3.17aprFixed1.7.1-r0ALPINE-CVE-2022-25147
Alpine Linux 3.17apr-utilFixed1.6.3-r0ALPINE-CVE-2022-25147
Alpine Linux 3.16aprFixed1.7.1-r0ALPINE-CVE-2022-25147
Alpine Linux 3.16apr-utilFixed1.6.3-r0ALPINE-CVE-2022-25147
Alpine Linux 3.15aprFixed1.7.1-r0ALPINE-CVE-2022-25147
Alpine Linux 3.15apr-utilFixed1.6.3-r0ALPINE-CVE-2022-25147
Alpine Linux 3.14aprFixed1.7.1-r0ALPINE-CVE-2022-25147
Alpine Linux 3.14apr-utilFixed1.6.3-r0ALPINE-CVE-2022-25147

What the vendor says

As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.