Skip to content
Fencer Intel
medium 6.5

CVE-2022-25147 json

Apache Portable Runtime Utility (APR-util): out-of-bounds writes in the apr_base64 family of functions

published 3y ago modified 4mo ago also EUVD-2022-29890

cvss
6.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.4%
EPSS 1.4% chance of exploitation in 30 days, percentile 73%
public exploits
0
none known

Summary

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.

Patch / fix

  • apr-util Debian 14, Debian 13, Debian 12 1.6.3-1

debian advisories DEBIAN-CVE-2022-25147

  • apr-util Ubuntu 18.04 LTS 1.6.1-2ubuntu0.1
  • apr-util Ubuntu 20.04 LTS 1.6.1-4ubuntu2.1
  • apr-util Ubuntu 22.04 LTS 1.6.1-5ubuntu4.22.04.1
  • apr-util Ubuntu Pro 14.04 LTS 1.5.3-1ubuntu0.1~esm2
  • apr-util Ubuntu Pro 16.04 LTS 1.5.4-1ubuntu0.1~esm2

ubuntu advisories UBUNTU-CVE-2022-25147

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • jbcs-httpd24-curl jboss core services 1 8.0.1-1.el7jbcs
  • jbcs-httpd24-curl jboss core services 1 8.0.1-1.el8jbcs
  • jbcs-httpd24-httpd jboss core services 1 2.4.51-39.el7jbcs
  • jbcs-httpd24-httpd jboss core services 1 2.4.51-39.el8jbcs
  • jbcs-httpd24-libcurl jboss core services 1 8.0.1-1.el7jbcs
  • jbcs-httpd24-libcurl jboss core services 1 8.0.1-1.el8jbcs
  • jbcs-httpd24-mod_ssl jboss core services 1 1:2.4.51-39.el7jbcs
  • jbcs-httpd24-mod_ssl jboss core services 1 1:2.4.51-39.el8jbcs

red hat advisories RHSA-2023:3354RHSA-2023:3177RHSA-2023:3178RHSA-2023:3145RHSA-2023:3360RHSA-2023:3147

  • apr-util SLES for SAP 15 SP6, SLES 15 SP6-LTSS, SLE Module for Server Applications 15 SP7 +1 more 1.6.1-150600.27.3.1
  • apr-util SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES 15 SP5-LTSS +5 more 1.6.1-150300.18.8.1
  • apr-util SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE Real Time 15 SP3 +9 more 1.6.1-150300.18.5.1
  • libapr-util1 SLES 12 SP2-BCL 1.5.3-2.11.1
  • libapr-util1 SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES 12 SP5 +4 more 1.5.3-8.7.1
  • apr-util SLES for SAP 15 SP2, SLES 15 SP2-LTSS, SLE High Performance Computing 15 SP2-LTSS +1 more 1.6.1-150200.12.3.1
  • apr-util SLES for SAP 15 SP1, SLES 15 SP1-LTSS, SLE High Performance Computing 15 SP1-LTSS 1.6.1-150000.4.9.1

suse advisories SUSE-SU-2026:3938-1SUSE-SU-2026:3937-1SUSE-SU-2023:0389-1SUSE-SU-2023:0338-1SUSE-SU-2023:0337-1SUSE-SU-2023:0325-1

  • apr-util openSUSE Tumbleweed 1.6.3-1.1

opensuse advisories openSUSE-SU-2024:12656-1

  • apr-util AlmaLinux 8 1.6.1-6.el8_8.1
  • apr-util-bdb AlmaLinux 8 1.6.1-6.el8_8.1
  • apr-util-ldap AlmaLinux 8 1.6.1-6.el8_8.1
  • apr-util-odbc AlmaLinux 8 1.6.1-6.el8_8.1
  • apr-util-mysql AlmaLinux 8 1.6.1-6.el8_8.1
  • apr-util-pgsql AlmaLinux 8 1.6.1-6.el8_8.1
  • apr-util-sqlite AlmaLinux 8 1.6.1-6.el8_8.1
  • apr-util-openssl AlmaLinux 8 1.6.1-6.el8_8.1

almalinux advisories ALSA-2023:3109ALSA-2023:3147

  • apr-util Rocky Linux 9 1.6.1-20.el9_2.1
  • apr-util Rocky Linux 8 1.6.1-6.el8.1
  • apr-util Rocky Linux 8 1.6.1-6.el8_8.1

rocky linux advisories RLSA-2023:3147RLSA-2023:3109

  • apr Alpine 3.24, Alpine 3.23, Alpine 3.22 +8 more 1.7.1-r0
  • apr-util Alpine 3.24, Alpine 3.23, Alpine 3.22 +8 more 1.6.3-r0

alpine advisories ALPINE-CVE-2022-25147

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • apr-util CBL-Mariner 2.0 1.6.3-1

azure linux advisories AZL-13212

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Is CVE-2022-25147 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-25147 updated cvss 6.5

apr-util: out-of-bounds writes in the apr_base64

  • Red Hat Enterprise Linux 6 apr-util, apr-util-ldap, apr-util-odbc, apr-util-mysql, apr-util-pgsql, apr-util-sqlite
    affected: no fix planned “Out of support scope”
  • Red Hat JBCS httpd 2.4.51.sp2
    fixed: vendor fix RHSA-2023:3355
  • Red Hat Enterprise Linux AppStream (v. 8) apr-util 1.6.1-6.el8_8.1, apr-util-bdb 1.6.1-6.el8_8.1, apr-util-ldap 1.6.1-6.el8_8.1, apr-util-odbc 1.6.1-6.el8_8.1, apr-util-mysql 1.6.1-6.el8_8.1, apr-util-pgsql 1.6.1-6.el8_8.1, +2 more
    fixed: vendor fix RHSA-2023:3109
  • Red Hat Enterprise Linux AppStream (v. 9) apr-util 1.6.1-20.el9_2.1, apr-util-bdb 1.6.1-20.el9_2.1, apr-util-ldap 1.6.1-20.el9_2.1, apr-util-odbc 1.6.1-20.el9_2.1, apr-util-mysql 1.6.1-20.el9_2.1, apr-util-pgsql 1.6.1-20.el9_2.1, +2 more
    fixed: vendor fix RHSA-2023:3147
  • Red Hat Enterprise Linux AppStream AUS (v. 8.2) apr-util 1.6.1-6.el8_2.1, apr-util-bdb 1.6.1-6.el8_2.1, apr-util-ldap 1.6.1-6.el8_2.1, apr-util-odbc 1.6.1-6.el8_2.1, apr-util-mysql 1.6.1-6.el8_2.1, apr-util-pgsql 1.6.1-6.el8_2.1, +2 more
    fixed: vendor fix RHSA-2023:3380
  • Red Hat Enterprise Linux AppStream E4S (v. 8.1) apr-util 1.6.1-6.el8_1.1, apr-util-bdb 1.6.1-6.el8_1.1, apr-util-ldap 1.6.1-6.el8_1.1, apr-util-odbc 1.6.1-6.el8_1.1, apr-util-mysql 1.6.1-6.el8_1.1, apr-util-pgsql 1.6.1-6.el8_1.1, +2 more
    fixed: vendor fix RHSA-2023:3177
  • Red Hat Enterprise Linux AppStream E4S (v. 8.2) apr-util 1.6.1-6.el8_2.1, apr-util-bdb 1.6.1-6.el8_2.1, apr-util-ldap 1.6.1-6.el8_2.1, apr-util-odbc 1.6.1-6.el8_2.1, apr-util-mysql 1.6.1-6.el8_2.1, apr-util-pgsql 1.6.1-6.el8_2.1, +2 more
    fixed: vendor fix RHSA-2023:3380
  • Red Hat Enterprise Linux AppStream EUS (v.8.4) apr-util 1.6.1-6.el8_4.1, apr-util-bdb 1.6.1-6.el8_4.1, apr-util-ldap 1.6.1-6.el8_4.1, apr-util-odbc 1.6.1-6.el8_4.1, apr-util-mysql 1.6.1-6.el8_4.1, apr-util-pgsql 1.6.1-6.el8_4.1, +2 more
    fixed: vendor fix RHSA-2023:3360
show 6 more
  • Red Hat Enterprise Linux AppStream EUS (v.8.6) apr-util 1.6.1-6.el8_6.1, apr-util-bdb 1.6.1-6.el8_6.1, apr-util-ldap 1.6.1-6.el8_6.1, apr-util-odbc 1.6.1-6.el8_6.1, apr-util-mysql 1.6.1-6.el8_6.1, apr-util-pgsql 1.6.1-6.el8_6.1, +2 more
    fixed: vendor fix RHSA-2023:3178
  • Red Hat Enterprise Linux AppStream EUS (v.9.0) apr-util 1.6.1-20.el9_0.1, apr-util-bdb 1.6.1-20.el9_0.1, apr-util-ldap 1.6.1-20.el9_0.1, apr-util-odbc 1.6.1-20.el9_0.1, apr-util-mysql 1.6.1-20.el9_0.1, apr-util-pgsql 1.6.1-20.el9_0.1, +2 more
    fixed: vendor fix RHSA-2023:3146
  • Red Hat Enterprise Linux AppStream TUS (v. 8.2) apr-util 1.6.1-6.el8_2.1, apr-util-bdb 1.6.1-6.el8_2.1, apr-util-ldap 1.6.1-6.el8_2.1, apr-util-odbc 1.6.1-6.el8_2.1, apr-util-mysql 1.6.1-6.el8_2.1, apr-util-pgsql 1.6.1-6.el8_2.1, +2 more
    fixed: vendor fix RHSA-2023:3380
  • Red Hat Enterprise Linux Client (v. 7) apr-util 1.5.2-6.el7_9.1 Red Hat Enterprise Linux Client Optional (v. 7) apr-util-nss 1.5.2-6.el7_9.1, apr-util-ldap 1.5.2-6.el7_9.1, apr-util-odbc 1.5.2-6.el7_9.1, apr-util-mysql 1.5.2-6.el7_9.1, apr-util-pgsql 1.5.2-6.el7_9.1, apr-util-sqlite 1.5.2-6.el7_9.1, +1 more Red Hat Enterprise Linux ComputeNode Optional (v. 7) apr-util 1.5.2-6.el7_9.1, apr-util-nss 1.5.2-6.el7_9.1, apr-util-ldap 1.5.2-6.el7_9.1, apr-util-odbc 1.5.2-6.el7_9.1, apr-util-mysql 1.5.2-6.el7_9.1, apr-util-pgsql 1.5.2-6.el7_9.1, +2 more Red Hat Enterprise Linux Server (v. 7) apr-util 1.5.2-6.el7_9.1, apr-util-openssl 1.5.2-6.el7_9.1 Red Hat Enterprise Linux Server Optional (v. 7) apr-util-nss 1.5.2-6.el7_9.1, apr-util-ldap 1.5.2-6.el7_9.1, apr-util-odbc 1.5.2-6.el7_9.1, apr-util-mysql 1.5.2-6.el7_9.1, apr-util-pgsql 1.5.2-6.el7_9.1, apr-util-sqlite 1.5.2-6.el7_9.1 Red Hat Enterprise Linux Workstation (v. 7) apr-util 1.5.2-6.el7_9.1, apr-util-openssl 1.5.2-6.el7_9.1
    +1 more products
    Red Hat Enterprise Linux Workstation Optional (v. 7) apr-util-nss 1.5.2-6.el7_9.1, apr-util-ldap 1.5.2-6.el7_9.1, apr-util-odbc 1.5.2-6.el7_9.1, apr-util-mysql 1.5.2-6.el7_9.1, apr-util-pgsql 1.5.2-6.el7_9.1, apr-util-sqlite 1.5.2-6.el7_9.1
    fixed: vendor fix RHSA-2023:3145
  • Red Hat JBoss Core Services on RHEL 7 Server jbcs-httpd24-apr-util 1.6.1-101.el7jbcs, jbcs-httpd24-apr-util-nss 1.6.1-101.el7jbcs, jbcs-httpd24-apr-util-ldap 1.6.1-101.el7jbcs, jbcs-httpd24-apr-util-odbc 1.6.1-101.el7jbcs, jbcs-httpd24-apr-util-mysql 1.6.1-101.el7jbcs, jbcs-httpd24-apr-util-pgsql 1.6.1-101.el7jbcs, +2 more Red Hat JBoss Core Services on RHEL 8 jbcs-httpd24-apr-util 1.6.1-101.el8jbcs, jbcs-httpd24-apr-util-nss 1.6.1-101.el8jbcs, jbcs-httpd24-apr-util-ldap 1.6.1-101.el8jbcs, jbcs-httpd24-apr-util-odbc 1.6.1-101.el8jbcs, jbcs-httpd24-apr-util-mysql 1.6.1-101.el8jbcs, jbcs-httpd24-apr-util-pgsql 1.6.1-101.el8jbcs, +2 more
    fixed: vendor fix RHSA-2023:3354
  • Red Hat JBoss Core Services on RHEL 7 Server jbcs-httpd24-curl 8.0.1-1.el7jbcs, jbcs-httpd24-httpd 2.4.51-39.el7jbcs, jbcs-httpd24-libcurl 8.0.1-1.el7jbcs, jbcs-httpd24-mod_md 2.4.0-20.el7jbcs, jbcs-httpd24-mod_ssl 2.4.51-39.el7jbcs, jbcs-httpd24-openssl 1.1.1k-14.el7jbcs, +15 more Red Hat JBoss Core Services on RHEL 8 jbcs-httpd24-curl 8.0.1-1.el8jbcs, jbcs-httpd24-httpd 2.4.51-39.el8jbcs, jbcs-httpd24-libcurl 8.0.1-1.el8jbcs, jbcs-httpd24-mod_md 2.4.0-20.el8jbcs, jbcs-httpd24-mod_ssl 2.4.51-39.el8jbcs, jbcs-httpd24-openssl 1.1.1k-14.el8jbcs, +15 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

cisa ICSA-25-105-08 updated cvss 6.5

ABB M2M Gateway

  • ABB M2M Gateway >=4.1.2, <=5.0.3, >=5.0.1, <=5.0.3
    affected: mitigation

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

Exploit prediction

1.43% chance of exploitation in the next 30 days, higher than 73% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L

Affected products

  • Apache Software Foundation Apache Portable Runtime Utility (APR-util)

Classification

Weakness
  • CWE-190 Integer Overflow or Wraparound

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.