CVE-2022-28739: Buffer Overflow

Published Apr 14, 2022
·
Updated

A buffer overrun vulnerability was found in Ruby. The issue occurs in a conversion algorithm from a String to a Float that causes process termination due to a segmentation fault, but under limited circumstances. This flaw may cause an illegal memory read.

Other sources

Accelerate Framework. A memory consumption issue was addressed with improved memory handling.

Apple

APFS. An access issue was addressed with improved access restrictions.

Apple

Apple Neural Engine. The issue was addressed with improved memory handling.

Apple

AppleAVD. A memory corruption issue was addressed with improved state management.

Apple

AppleAVD. This issue was addressed with improved checks.

Apple

Credit

CVE-2022-28739, an anonymous researcher, Csaba Fitzl@@theevilbit(Offensive Security), Rohit Chatterjee(University of Illinois Urbana), Justin Bui@@slyd0g(Snowflake), Linus Henze(Pinauten GmbH), Cristian Dinca(Tudor Vianu National High School of Computer Science of), Om kothawade(Zaprico Digital), Andrew Goldberg(The McCombs School of Business), The University(Texas at Austin), Felix Poulin-Belanger, Mickey Jin@@patch1t(Trend Micro), CVE-2021-36690, Adam Chester(TrustedSec), Thijs Alkemade@@xnyhps(Computest Sector 7), CVE-2022-0261, CVE-2022-0318, CVE-2022-0319, CVE-2022-0351, CVE-2022-0359, CVE-2022-0361, CVE-2022-0368, CVE-2022-0392, CVE-2022-0554, CVE-2022-0572, CVE-2022-0629, CVE-2022-0685, CVE-2022-0696, CVE-2022-0714, CVE-2022-0729, CVE-2022-0943, CVE-2022-1381, CVE-2022-1420, CVE-2022-1725, CVE-2022-1616, CVE-2022-1619, CVE-2022-1620, CVE-2022-1621, CVE-2022-1629, CVE-2022-1674, CVE-2022-1733, CVE-2022-1735, CVE-2022-1769, CVE-2022-1927, CVE-2022-1942, CVE-2022-1968, CVE-2022-1851, CVE-2022-1897, CVE-2022-1898, CVE-2022-1720, CVE-2022-2000, CVE-2022-2042, CVE-2022-2124, CVE-2022-2125, CVE-2022-2126, Francisco Alonso@@revskills, P1umer@@p1umer, afang@@afang5472, xmzyshypnc@@xmzyshypnc1, Jeonghoon Shin at Theori@@singi21a(Trend Micro Zero Day Initiative), Jihwan Kim@@gPayl0ad, Dohyun Lee@@l33d0hyun, Dohyun Lee@@l33d0hyun(SSD Labs), Abdulrahman Alqabandi(Microsoft Browser Vulnerability Research), Ryan Shin(IAAI SecLab at Korea University), Dohyun Lee@@l33d0hyun(DNSLab at Korea University), Wonyoung Jung@@nonetype_pwn(KAIST Hacking Lab), Yonghwi Jin at Theori@@jinmo123(Trend Micro Zero Day Initiative), 楼梦想改造家@@18(DBAppSecurity's WeBin lab), @@jq0904(DBAppSecurity's WeBin lab), Jeff Johnson, Wang Yu(Cyberserval), Evgeny Legerov, Arsenii Kostromin (0x3c3e), Kshitij Kumar(Crowdstrike), Jai Musunuri(Crowdstrike), CVE-2022-32205, CVE-2022-32206, CVE-2022-32207, CVE-2022-32208, Sergii Kryvoblotskyi(MacPaw Inc), Tommy Muir@@Muirey03, Jiří Vinopal@@vinopaljiri(Check Point Research), Sonali Luthar(the University of Virginia), Michael Liao(the University of Illinois at Urbana), Rohan Pahwa(Rutgers University), (University of Florida), Bao Nguyen(University of Florida), Bistrit Dahal, Wojciech Reguła(SecuRing), Ron Masas (breakpoint.sh)(BreakPoint Technologies LTD), Pan ZhenPeng@@Peterpan0927, Asahi Lina@@LinaAsahi, Yutao Wang@@Jack, Yu Zhou@@yuzhou6666, Evgeny Legerov(Intevydis), Joshua Jones, Yiğit Can YILMAZ@@yilmazcanyigit, Mickey Jin@@patch1t, CVE-2022-1622, Antonio Zekic@@antoniozekic, Peter Pan ZhenPeng(STAR Labs), Tingting Yin(Tsinghua University), Zweig(Kunlun Lab), Ian Beer(Google Project Zero), Tim Michaud@@TimGMichaud(Moveworks), Xinru Chi(Pangu Lab), John Aakerblom@@jaakerblom, Wojciech Reguła@@_r3ggi(SecuRing), Ron Masas(breakpointhq), Xingwei Lin@@xwlin_roy(Ant Security Light), Yinyi Wu(Ant Security Light), CVE-2021-39537, CVE-2022-29458, Gustav Hansen(WithSecure), Ubeydullah Sümer, Ezekiel Elin, Ashwani Rajput(Nagarro Software Pvt), Srijan Shivam Mishra(The Hack Report), Jugal Goradia(Aastha Technologies), Evan Ricafort (evanricafort.com)(Invalid Web Security), Shesha Sai C (linkedin.com/in/shesha-sai-c-18585b125)(Pune), (Pune), Amod Raghunath Patwardhan(Pune), India, Yinyi Wu(Google Project Zero), ABC Research s.r.o(Google Project Zero), Natalie Silvanovich(Google Project Zero), Tommaso Bianco@@cutesmilee__, Antonio Zekic@@antoniozekic(Google Project Zero), Koh M. Nakagawa(FFRI Security Inc), Anonymous(Trend Micro Zero Day Initiative), ABC Research s.r.o., Jonathan Bar Or(Microsoft), Jonathan Zhang(Open Computing Facility), David Hoyt(Hoyt LLC), Guilherme Rambo(Best Buddy Apps), Halle Winkler@@hallewinkler(Politepix), Thijs Alkemade(Computest Sector 7), Arsenii Kostromin, Mohamed Ghannam@@_simo36, ryuzaki

Affected Software

19 affected componentsFixes available
redhat/ruby<0:3.0.4-160.el9_0
0:3.0.4-160.el9_0
redhat/rh-ruby30-ruby<0:3.0.4-149.el7
0:3.0.4-149.el7
redhat/rh-ruby27-ruby<0:2.7.6-131.el7
0:2.7.6-131.el7
redhat/Ruby<2.6.10
2.6.10
redhat/Ruby<2.7.6
2.7.6
redhat/Ruby<3.0.4
3.0.4
redhat/Ruby<3.1.2
3.1.2
Apple macOS Big Sur<11.7.1
11.7.1
Apple macOS Monterey<12.6.1
12.6.1
Apple macOS Ventura<13
13
ruby-lang Ruby<2.6.10
ruby-lang Ruby>=2.7.0<2.7.6
ruby-lang Ruby>=3.0.0<3.0.4
Debian Debian Linux=9.0
Debian Debian Linux=10.0
Debian Debian Linux=11.0
Apple macOS>=11.0<11.7.1
Apple macOS>=12.0<12.6.1
debian/ruby2.7<=2.7.4-1+deb11u1
2.7.4-1+deb11u5

Event History

Apr 14, 2022
CVE Published
12:00 AM
May 9, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·06:15 PM
DescriptionSeverityWeaknessAffected Software
Nov 4, 2025
Data Sourced
via Debian·04:15 PM
DescriptionAffected Software

Peer vulnerabilities

Found alongside the following vulnerabilities.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2022-28739?

CVE-2022-28739 is a memory corruption vulnerability in Ruby that can cause a buffer overrun and illegal memory read under certain circumstances.

2

How does CVE-2022-28739 affect macOS Monterey?

macOS Monterey is affected by CVE-2022-28739 and can be remediated by updating to version 12.6.1.

3

How does CVE-2022-28739 affect macOS Big Sur?

macOS Big Sur is affected by CVE-2022-28739 and can be remediated by updating to version 11.7.1.

4

How does CVE-2022-28739 affect Red Hat Ruby?

Red Hat Ruby is affected by CVE-2022-28739 and can be remediated by updating to version 2.6.10.

5

What is the severity of CVE-2022-28739?

CVE-2022-28739 has a severity score of 6.2, which is considered medium.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203