ALPINE-CVE-2023-25139

Source
https://security.alpinelinux.org/vuln/CVE-2023-25139
Import Source
https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2023-25139.json
JSON Data
https://api.osv.dev/v1/vulns/ALPINE-CVE-2023-25139
Upstream
Published
2023-02-03T06:15:09.523Z
Modified
2025-12-03T22:53:15.179831Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

sprintf in the GNU C Library (glibc) 2.37 has a buffer overflow (out-of-bounds write) in some situations with a correct buffer size. This is unrelated to CWE-676. It may write beyond the bounds of the destination buffer when attempting to write a padded, thousands-separated string representation of a number, if the buffer is allocated the exact size required to represent that number as a string. For example, 1,234,567 (with padding to 13) overflows by two bytes.

References

Affected packages

Alpine:v3.19 / mpfr4

Package

Name
mpfr4
Purl
pkg:apk/alpine/mpfr4?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.2.1-r0

Affected versions

4.*
4.0.2-r1
4.0.2-r2
4.0.2-r3
4.0.2-r4
4.1.0-r0
4.1.1-r0
4.1.1-r1
4.2.0-r0
4.2.0-r1
4.2.0-r2
4.2.0-r3
4.2.0_p12-r0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2023-25139.json"

Alpine:v3.20 / mpfr4

Package

Name
mpfr4
Purl
pkg:apk/alpine/mpfr4?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.2.1-r0

Affected versions

4.*
4.0.2-r1
4.0.2-r2
4.0.2-r3
4.0.2-r4
4.1.0-r0
4.1.1-r0
4.1.1-r1
4.2.0-r0
4.2.0-r1
4.2.0-r2
4.2.0-r3
4.2.0_p12-r0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2023-25139.json"

Alpine:v3.21 / mpfr4

Package

Name
mpfr4
Purl
pkg:apk/alpine/mpfr4?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.2.1-r0

Affected versions

4.*
4.0.2-r1
4.0.2-r2
4.0.2-r3
4.0.2-r4
4.1.0-r0
4.1.1-r0
4.1.1-r1
4.2.0-r0
4.2.0-r1
4.2.0-r2
4.2.0-r3
4.2.0_p12-r0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2023-25139.json"

Alpine:v3.22 / mpfr4

Package

Name
mpfr4
Purl
pkg:apk/alpine/mpfr4?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.2.1-r0

Affected versions

4.*
4.0.2-r1
4.0.2-r2
4.0.2-r3
4.0.2-r4
4.1.0-r0
4.1.1-r0
4.1.1-r1
4.2.0-r0
4.2.0-r1
4.2.0-r2
4.2.0-r3
4.2.0_p12-r0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2023-25139.json"

Alpine:v3.23 / mpfr4

Package

Name
mpfr4
Purl
pkg:apk/alpine/mpfr4?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.2.1-r0

Affected versions

4.*
4.0.2-r1
4.0.2-r2
4.0.2-r3
4.0.2-r4
4.1.0-r0
4.1.1-r0
4.1.1-r1
4.2.0-r0
4.2.0-r1
4.2.0-r2
4.2.0-r3
4.2.0_p12-r0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2023-25139.json"