# CVE-2022-25147: Apache Portable Runtime Utility (APR-util): out-of-bounds writes in the apr\_base64 family of functions

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-01-31 · Modified: 2025-02-13
- Aliases: ALPINE-CVE-2022-25147, MGASA-2023-0045, SUSE-SU-2023:0324-1, SUSE-SU-2023:0325-1, SUSE-SU-2023:0337-1, SUSE-SU-2023:0338-1, SUSE-SU-2023:0389-1, RHSA-2023:3109, RHSA-2023:3145, RHSA-2023:3146, RHSA-2023:3147, RHSA-2023:3177, RHSA-2023:3178, RHSA-2023:3360, RHSA-2023:3380, UBUNTU-CVE-2022-25147, USN-5870-1, DEBIAN-CVE-2022-25147, DLA-3332-1, DSA-5364-1, openSUSE-SU-2024:12656-1
- Record: https://cvemate.com/vulnerability/CVE-2022-25147 · JSON: https://cvemate.com/vulnerability/CVE-2022-25147/json

## Description

```text
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.
```

## Signals

- CVSS: 6.5 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
- EPSS: 1.524%, percentile 75.514%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 54)

- apache software foundation apache portable runtime utility (apr-util): ≤ 1.6.1
- apache portable\_runtime\_utility: ≤ 1.6.1
- alpine apr (Alpine Linux): \< 1.7.1-r0
- alpine apr-util (Alpine Linux): \< 1.6.3-r0
- debian apr-util (Debian): \< 1.6.1-4+deb10u1 \| \< 1.6.1-5+deb11u1 \| \< 1.6.3-1
- ubuntu apr-util (Ubuntu): \< 1.5.3-1ubuntu0.1~esm2 \| \< 1.5.4-1ubuntu0.1~esm2 \| \< 1.6.1-2ubuntu0.1 \| \< 1.6.1-4ubuntu2.1 \| \< 1.6.1-5ubuntu4.22.04.1
- mageia apr-util (Mageia): \< 1.6.3-1.mga8
- opensuse apr-util&distro=openSUSE Leap 15.4 (openSUSE): \< 1.6.1-150300.18.5.1
- opensuse apr-util&distro=openSUSE Tumbleweed (openSUSE): \< 1.6.3-1.1
- redhat apr-util (Red Hat): \< 0:1.6.1-6.el8\_8.1 \| \< 0:1.5.2-6.el7\_9.1 \| \< 0:1.6.1-20.el9\_0.1 \| \< 0:1.6.1-20.el9\_2.1 \| \< 0:1.6.1-6.el8\_1.1 \| \< 0:1.6.1-6.el8\_6.1 \| \< 0:1.6.1-6.el8\_4.1 \| \< 0:1.6.1-6.el8\_2.1
- redhat apr-util-bdb (Red Hat): \< 0:1.6.1-6.el8\_8.1 \| \< 0:1.6.1-20.el9\_0.1 \| \< 0:1.6.1-20.el9\_2.1 \| \< 0:1.6.1-6.el8\_1.1 \| \< 0:1.6.1-6.el8\_6.1 \| \< 0:1.6.1-6.el8\_4.1 \| \< 0:1.6.1-6.el8\_2.1
- redhat apr-util-bdb-debuginfo (Red Hat): \< 0:1.6.1-6.el8\_8.1 \| \< 0:1.6.1-20.el9\_0.1 \| \< 0:1.6.1-20.el9\_2.1 \| \< 0:1.6.1-6.el8\_1.1 \| \< 0:1.6.1-6.el8\_6.1 \| \< 0:1.6.1-6.el8\_4.1 \| \< 0:1.6.1-6.el8\_2.1
- redhat apr-util-debuginfo (Red Hat): \< 0:1.6.1-6.el8\_8.1 \| \< 0:1.5.2-6.el7\_9.1 \| \< 0:1.6.1-20.el9\_0.1 \| \< 0:1.6.1-20.el9\_2.1 \| \< 0:1.6.1-6.el8\_1.1 \| \< 0:1.6.1-6.el8\_6.1 \| \< 0:1.6.1-6.el8\_4.1 \| \< 0:1.6.1-6.el8\_2.1
- redhat apr-util-debugsource (Red Hat): \< 0:1.6.1-6.el8\_8.1 \| \< 0:1.6.1-20.el9\_0.1 \| \< 0:1.6.1-20.el9\_2.1 \| \< 0:1.6.1-6.el8\_1.1 \| \< 0:1.6.1-6.el8\_6.1 \| \< 0:1.6.1-6.el8\_4.1 \| \< 0:1.6.1-6.el8\_2.1
- redhat apr-util-devel (Red Hat): \< 0:1.6.1-6.el8\_8.1 \| \< 0:1.5.2-6.el7\_9.1 \| \< 0:1.6.1-20.el9\_0.1 \| \< 0:1.6.1-20.el9\_2.1 \| \< 0:1.6.1-6.el8\_1.1 \| \< 0:1.6.1-6.el8\_6.1 \| \< 0:1.6.1-6.el8\_4.1 \| \< 0:1.6.1-6.el8\_2.1
- redhat apr-util-ldap (Red Hat): \< 0:1.6.1-6.el8\_8.1 \| \< 0:1.5.2-6.el7\_9.1 \| \< 0:1.6.1-20.el9\_0.1 \| \< 0:1.6.1-20.el9\_2.1 \| \< 0:1.6.1-6.el8\_1.1 \| \< 0:1.6.1-6.el8\_6.1 \| \< 0:1.6.1-6.el8\_4.1 \| \< 0:1.6.1-6.el8\_2.1
- redhat apr-util-ldap-debuginfo (Red Hat): \< 0:1.6.1-6.el8\_8.1 \| \< 0:1.6.1-20.el9\_0.1 \| \< 0:1.6.1-20.el9\_2.1 \| \< 0:1.6.1-6.el8\_1.1 \| \< 0:1.6.1-6.el8\_6.1 \| \< 0:1.6.1-6.el8\_4.1 \| \< 0:1.6.1-6.el8\_2.1
- redhat apr-util-mysql (Red Hat): \< 0:1.6.1-6.el8\_8.1 \| \< 0:1.5.2-6.el7\_9.1 \| \< 0:1.6.1-20.el9\_0.1 \| \< 0:1.6.1-20.el9\_2.1 \| \< 0:1.6.1-6.el8\_1.1 \| \< 0:1.6.1-6.el8\_6.1 \| \< 0:1.6.1-6.el8\_4.1 \| \< 0:1.6.1-6.el8\_2.1
- redhat apr-util-mysql-debuginfo (Red Hat): \< 0:1.6.1-6.el8\_8.1 \| \< 0:1.6.1-20.el9\_0.1 \| \< 0:1.6.1-20.el9\_2.1 \| \< 0:1.6.1-6.el8\_1.1 \| \< 0:1.6.1-6.el8\_6.1 \| \< 0:1.6.1-6.el8\_4.1 \| \< 0:1.6.1-6.el8\_2.1
- redhat apr-util-nss (Red Hat): \< 0:1.5.2-6.el7\_9.1

## References (first 20 of 39)

- <https://lists.apache.org/thread/np5gjqlohc4f62lr09vrn61vl44cylh8>
- <https://security.netapp.com/advisory/ntap-20240315-0001/>
- <https://security.alpinelinux.org/vuln/CVE-2022-25147>
- <https://advisories.mageia.org/MGASA-2023-0045.html>
- <https://bugs.mageia.org/show_bug.cgi?id=31486>
- <https://www.openwall.com/lists/oss-security/2023/01/31/4>
- <https://www.suse.com/support/update/announcement/2023/suse-su-20230324-1/>
- <https://bugzilla.suse.com/1207866>
- <https://www.suse.com/security/cve/CVE-2022-25147>
- <https://www.suse.com/support/update/announcement/2023/suse-su-20230325-1/>
- <https://www.suse.com/support/update/announcement/2023/suse-su-20230337-1/>
- <https://www.suse.com/support/update/announcement/2023/suse-su-20230338-1/>
- <https://www.suse.com/support/update/announcement/2023/suse-su-20230389-1/>
- <https://access.redhat.com/errata/RHSA-2023:3109>
- <https://access.redhat.com/security/updates/classification/#important>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2169652>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2023/rhsa-2023_3109.json>
- <https://access.redhat.com/security/cve/CVE-2022-25147>
- <https://www.cve.org/CVERecord?id=CVE-2022-25147>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-25147>

---

Data as of 2026-12-05T08:54:11.507Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
