CVE-2023-23457
Upx: segv on packlinuxelf64::invert_pt_dynamic() in p_lx_elf.cpp
A Segmentation fault was found in UPX in PackLinuxElf64::invert_pt_dynamic() in p_lx_elf.cpp. An attacker with a crafted input file allows invalid memory address access that could lead to a denial of service.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
5.3
Upx: segv on packlinuxelf64::invert_pt_dynamic() in p_lx_elf.cpp
A Segmentation fault was found in UPX in PackLinuxElf64::invert_pt_dynamic() in p_lx_elf.cpp. An attacker with a crafted input file allows invalid memory address access that could lead to a denial of service.
- Record
CVE-2023-23457- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L - Weakness
- CWE-119
- Updated
- 2026-11-02
EUVDEUVD-2023-27557
5.3
A Segmentation fault was found in UPX in PackLinuxElf64::invert_pt_dynamic() in p_lx_elf.cpp. An attacker with a crafted input file allows invalid memory address access that could lead to a denial of service.
- Record
EUVD-2023-27557- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-qcvq-w335-8gh3
5.5
A Segmentation fault was found in UPX in PackLinuxElf64::invert_pt_dynamic() in p_lx_elf.cpp. An...
A Segmentation fault was found in UPX in PackLinuxElf64::invert_pt_dynamic() in p_lx_elf.cpp. An attacker with a crafted input file allows invalid memory address access that could lead to a denial of service.
- Record
GHSA-qcvq-w335-8gh3- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-119
- Updated
- 2026-11-02
NVD
5.3
A Segmentation fault was found in UPX in PackLinuxElf64::invert_pt_dynamic() in p_lx_elf.cpp. An attacker with a crafted input file allows invalid memory address access that could lead to a denial of service.
- Record
CVE-2023-23457- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L - CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-119
- Updated
- 2026-11-02
OSVALPINE-CVE-2023-23457
5.5
A Segmentation fault was found in UPX in PackLinuxElf64::invert_pt_dynamic() in p_lx_elf.cpp. An attacker with a crafted input file allows invalid memory address access that could lead to a denial of service.
- Record
ALPINE-CVE-2023-23457- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-03
OSVBELL-CVE-2023-23457
5.5
CVE-2023-23457 does not affect BellSoft software
- Record
BELL-CVE-2023-23457- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 7 moreShow less
OSV
5.3
Upx: segv on packlinuxelf64::invert_pt_dynamic() in p_lx_elf.cpp
A Segmentation fault was found in UPX in PackLinuxElf64::invert_pt_dynamic() in p_lx_elf.cpp. An attacker with a crafted input file allows invalid memory address access that could lead to a denial of service.
- Record
CVE-2023-23457- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L - Weakness
- CWE-119
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2023-23457
5.5
A Segmentation fault was found in UPX in PackLinuxElf64::invert_pt_dynamic() in p_lx_elf.cpp. An attacker with a crafted input file allows invalid memory address access that could lead to a denial of service.
- Record
DEBIAN-CVE-2023-23457- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2023-23457
5.3
A Segmentation fault was found in UPX in PackLinuxElf64::invert_pt_dynamic() in p_lx_elf.cpp. An attacker with a crafted input file allows invalid memory address access that could lead to a denial of service.
- Record
UBUNTU-CVE-2023-23457- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L - CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVMGASA-2023-0052 No score
Updated upx packages fix security vulnerability
Denial of service due to heap-based buffer overflow issue in UPX in PackTmt::pack() in p_tmt.cpp file. (CVE-2023-23456) Denial of service due to segmentation fault in UPX in PackLinuxElf64::invert_pt_dynamic() in p_lx_elf.cpp. (CVE-2023-23457)
- Record
MGASA-2023-0052- Updated
- 2026-11-02
OSVopenSUSE-SU-2023:0031-1 No score
Security update for upx
upx was updated to fix the following issues:
- CVE-2023-23457: Fixed a segmentation fault when processing malicious elf files (boo#1207122)
Update to release 4.0.1
- Fix crash when a linux/armeb LZMA-packed binary unpacks itself.
- Resolve 'CantPackException: bad ElfXX_Shdrs' with staticly-linked programs.
- Resolve 'CantPackException: need DT_INIT;...' when attempting to re-compress an already packed binary.
Update to release 4.0
- Add support for EFI files
- Record
openSUSE-SU-2023:0031-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2023:0088-1 No score
Security update for upx
upx was updated to fix the following issues:
Update to release 4.0.2
- Fix unpack of ELF x86-64 that failed with 'CantUnpackException: corrupt b_info'
- Resolve SEGV on PackLinuxElf64::invert_pt_dynamic
- CVE-2021-30500: Fixed Null pointer dereference in PackLinuxElf:canUnpack() in p_lx_elf.cpp
- CVE-2021-30501: Fixed Assertion abort in function MemBuffer:alloc()
- CVE-2021-43311: Fixed Heap-based buffer overflow in PackLinuxElf32:elf_lookup() at p_lx_elf.cpp
- CVE-2021-43312: Fixed Heap-based buffer overflow in PackLinuxElf64:invert_pt_dynamic at p_lx_elf.cpp:5239
- CVE-2021-43313: Fixed Heap-based buffer overflow in PackLinuxElf32:invert_pt_dynamic at p_lx_elf.cpp:1688
- CVE-2021-43314: Fixed Heap-based buffer overflows in PackLinuxElf32:elf_lookup() at p_lx_elf.cp
- CVE-2021-43315: Fixed Heap-based buffer overflows in PackLinuxElf32:elf_lookup() at p_lx_elf.cp
- CVE-2021-43316: Fixed Heap-based buffer overflow in func get_le64()
- CVE-2021-43317: Fixed Heap-based buffer overflows in PackLinuxElf64:elf_lookup() at p_lx_elf.cp
- CVE-2023-23456: Fixed heap-buffer-overflow in PackTmt:pack()
- CVE-2023-23457: Fixed SEGV on PackLinuxElf64:invert_pt_dynamic() in p_lx_elf.cpp
- Record
openSUSE-SU-2023:0088-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:12613-1 No score
upx-4.0.1-2.1 on GA media
These are all security issues fixed in the upx-4.0.1-2.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:12613-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
upxAlpine:v3.17 |
before 4.0.2-r0 | 4.0.2-r0 |
upxAlpine:v3.18 |
before 4.0.2-r0 | 4.0.2-r0 |
upxAlpine:v3.19 |
before 4.0.2-r0 | 4.0.2-r0 |
upxAlpine:v3.20 |
before 4.0.2-r0 | 4.0.2-r0 |
upxAlpine:v3.21 |
before 4.0.2-r0 | 4.0.2-r0 |
upxAlpine:v3.22 |
before 4.0.2-r0 | 4.0.2-r0 |
upxAlpine:v3.23 |
before 4.0.2-r0 | 4.0.2-r0 |
upxAlpine:v3.24 |
before 4.0.2-r0 | 4.0.2-r0 |
upx-uclDebian:13 |
before 4.2.2-1 | 4.2.2-1 |
upx-uclDebian:14 |
before 4.2.2-1 | 4.2.2-1 |
Show 14 moreShow less
| Package | Affected | Fixed |
|---|---|---|
upxMageia:8 From an advisory covering 2 CVEs |
before 4.0.2-1.mga8 | 4.0.2-1.mga8 |
upx-uclUbuntu:16.04:LTS |
All versions, plus listed versions 3.91-1 |
None known |
upx-uclUbuntu:18.04:LTS |
All versions, plus listed versions 3.94-23.94-33.94-4 |
None known |
upx-uclUbuntu:20.04:LTS |
All versions, plus listed versions 3.95-23.95-2build1 |
None known |
upx-uclUbuntu:22.04:LTS |
All versions, plus listed versions 3.96-23.96-3 |
None known |
upx-uclUbuntu:24.04:LTS |
All versions, plus listed versions 3.96-34.2.2-3 |
None known |
upx-uclUbuntu:25.10 |
All versions, plus listed versions 4.2.4-14.2.4-1.1 |
None known |
upx-uclUbuntu:26.10 |
All versions, plus listed versions 4.2.4-1.1build1 |
None known |
upx-uclUbuntu:26.04:LTS |
All versions, plus listed versions 4.2.4-1.14.2.4-1.1build1 |
None known |
upxSUSE:Package Hub 15 SP4 |
before 4.0.1-bp154.4.3.1 | 4.0.1-bp154.4.3.1 |
upxopenSUSE:Leap 15.4 |
before 4.0.1-bp154.4.3.1 | 4.0.1-bp154.4.3.1 |
upxSUSE:Package Hub 15 SP4 From an advisory covering 12 CVEs |
before 4.0.2-bp154.4.6.1 | 4.0.2-bp154.4.6.1 |
upxopenSUSE:Leap 15.4 From an advisory covering 12 CVEs |
before 4.0.2-bp154.4.6.1 | 4.0.2-bp154.4.6.1 |
upxopenSUSE:Tumbleweed |
before 4.0.1-2.1 | 4.0.1-2.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| affected, aliases, references | OSV | |
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2023-23457 is a medium vulnerability (CVSS 5.3) in Upx, published January 12, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.36%, the 29th percentile. Fixed in upx 4.0.2-r0.
References
bugzilla.redhat.com/show_bug.cgi?id=2160382
github.com/upx/upx/commit/779b648c5f6aa9b33f4728f79dd4d0efec0bf860
github.com/upx/upx/issues/631
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EL3BVKIGG3SH6I3KPOYQAWCBD4UMPOPI
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TGEP3FBNRZXGLIA2B2ICMB32JVMPREFZ
nvd.nist.gov/vuln/detail/CVE-2023-23457
Show 39 moreShow less
lists.fedoraproject.org/archives/list/[email protected]/message/EL3BVKIGG3SH6I3KPOYQAWCBD4UMPOPI
lists.fedoraproject.org/archives/list/[email protected]/message/TGEP3FBNRZXGLIA2B2ICMB32JVMPREFZ
github.com/advisories/GHSA-qcvq-w335-8gh3
security.alpinelinux.org/vuln/CVE-2023-23457
docs.bell-sw.com/security/cves/CVE-2023-23457
github.com/CVEProject/cvelistV5/tree/main/cves/2023/23xxx/CVE-2023-23457.json
github.com/upx/upx
security-tracker.debian.org/tracker/CVE-2023-23457
advisories.mageia.org/MGASA-2023-0052.html
bugs.mageia.org/show_bug.cgi?id=31449
lists.opensuse.org/archives/list/[email protected]/thread/OY3PZTUNJBOAOSBB3625O5WLS7HRY73I
lists.fedoraproject.org/archives/list/[email protected]/thread/TGEP3FBNRZXGLIA2B2ICMB32JVMPREFZ
ubuntu.com/security/CVE-2023-23457
cve.org/CVERecord?id=CVE-2023-23457
bugzilla.suse.com/1207122
suse.com/security/cve/CVE-2023-23457
lists.opensuse.org/archives/list/[email protected]/thread/XLSYENIWX7YMHJJKVRBH2CPDXM5X3IW6
bugzilla.suse.com/1183510
bugzilla.suse.com/1184701
bugzilla.suse.com/1184702
bugzilla.suse.com/1207121
bugzilla.suse.com/1209765
bugzilla.suse.com/1209766
bugzilla.suse.com/1209767
bugzilla.suse.com/1209768
bugzilla.suse.com/1209769
bugzilla.suse.com/1209770
bugzilla.suse.com/1209771
suse.com/security/cve/CVE-2021-20285
suse.com/security/cve/CVE-2021-30500
suse.com/security/cve/CVE-2021-30501
suse.com/security/cve/CVE-2021-43311
suse.com/security/cve/CVE-2021-43312
suse.com/security/cve/CVE-2021-43313
suse.com/security/cve/CVE-2021-43314
suse.com/security/cve/CVE-2021-43315
suse.com/security/cve/CVE-2021-43316
suse.com/security/cve/CVE-2021-43317
suse.com/security/cve/CVE-2023-23456