CVE-2022-3437: Buffer Overflow

Published Oct 24, 2022
·
Updated

A heap-based buffer overflow vulnerability was found in Samba within the GSSAPI unwrapdes() and unwrapdes3() routines of Heimdal. The DES and Triple-DES decryption routines in the Heimdal GSSAPI library allow a length-limited write buffer overflow on malloc() allocated memory when presented with a maliciously small packet. This flaw allows a remote user to send specially crafted malicious data to the application, possibly resulting in a denial of service (DoS) attack.

Other sources

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

— Apple

Accelerate Framework. An out-of-bounds write issue was addressed with improved bounds checking.

— Apple

Accessibility. This issue was addressed with improved data protection.

— Apple

Accounts. An authorization issue was addressed with improved state management.

— Apple

Accounts. This issue was addressed with additional entitlement checks.

— Apple

Credit

Evgeny Legerov(Intevydis), Mohamed Ghannam@@_simo36, Yinyi Wu(Google Project Zero), ABC Research s.r.o(Google Project Zero), Natalie Silvanovich(Google Project Zero), Tommaso Bianco@@cutesmilee__, Antonio Zekic@@antoniozekic, John Aakerblom@@jaakerblom, Antonio Zekic@@antoniozekic(Google Project Zero), an anonymous researcher, Wojciech Reguła@@_r3ggi(SecuRing), Koh M. Nakagawa(FFRI Security Inc), Mickey Jin@@patch1t, Anonymous(Trend Micro Zero Day Initiative), ABC Research s.r.o., Jonathan Bar Or(Microsoft), Mickey Jin@@patch1t(Trend Micro), 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, 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), Linus Henze(Pinauten GmbH), 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, Csaba Fitzl@@theevilbit(Offensive Security), Wojciech Reguła(SecuRing), Ron Masas (breakpoint.sh)(BreakPoint Technologies LTD), Pan ZhenPeng@@Peterpan0927, Asahi Lina@@LinaAsahi, Yutao Wang@@Jack, Yu Zhou@@yuzhou6666, Joshua Jones, Yiğit Can YILMAZ@@yilmazcanyigit, CVE-2022-1622, 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), 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, CVE-2022-28739, Rohit Chatterjee(University of Illinois Urbana), Justin Bui@@slyd0g(Snowflake), 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, 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, ryuzaki, Arni Hardarson (Neonix Security), Peter Malone, Dave G., Sindre Sorhus, LiangWei, Arni Hardarson (Neonix Security)(Appknox), Vinay Kumar Rasala (Xplo8E)(Appknox), Stuart Wallace, 이재영, Stuart Wallace(Totally Not Malicious Software), Ilya Andr (andrd3v)(Totally Not Malicious Software), Rosyna Keller(Totally Not Malicious Software), CJ Vana, David Strnadel, Daniel Febrero, Asaf Cohen, Gongyu Ma@@Mezone0, Jian Lee@@speedyfriend433, Bhaswanth Chigurupati, Zhongcheng Li (CK01), Dem0ns (@天府简易信工作室), Abdelhak Kherroubi, Jasminder Pal Singh, Lehan Dilusha Jayasingha (Sri Lanka), Cem Onat Karagun, Johan Wahyudi, tamdao, Nick Cook, Sentry Flag, Prashan Samarathunge, Tristan Madani@@TristanInSec(Talence Security), Niels Hofmans, Hyunwoo Kim@@v4bel, Franco Belman at Blackwing Intelligence, Richard Zana, S. Rosario, Billy Jheng Bing Jhong(STAR Labs SG Pte), Pan Zhenpeng@@Peterpan0927(STAR Labs SG Pte), D4rthL, Ahmed Alwardani, Mohamad Dawoud / Abodi Dawoud, Ilya Andr (andrd3v), Mr.Gedik@@h4ck2s3c, Kun Peeks@@SwayZGl1tZyyy, Oren Yomtov, Morris Richman@@morrisinlife, Zhongcheng Li(IES Red Team), Mr.Gedik@@h4ck2s3c(Turkish Technology), Calif.io in collaboration with Claude, Anthropic Research, Ye Zhang@@VAR10CK(Baidu Security), CVE-2026-65414, Ruslan Dautov, Marc Newlin(SkySafe), Murray Mike(Nosebeard Labs), Andreas Jaegersberger & Ro Achterberg(Nosebeard Labs), jioundai, zenith, Sanny Mitra(Cystack), Sihyun Roh (Compsec(Cystack), SNU)(Cystack), ngockhanh(Cystack), Ataberk Yavuzer, 정우 하@@0xfa11babe, Surej Sekhar, Suresh Sundaram, Hari Shanmugam (The Hxr1), Rishabh Jain (rjcyber)(cyberplanet), Pasquale Scola, Jihwan Yoon, Dawuge(Shuffle Team), Nathaniel Oh@@calysteon, Chris Bailey - Short Circuit, Mathis Mansière, Meta Product Security, Nik Tsytsarkin, AL Najafi, Duc Anh Nguyen & Ta Duc Thien, Kujtim Kryeziu (Sentry), ret2happy, Merrick Hare, Ryan Hughes, Siyeong kim, Mustafa Calap@@ordinal0, dbg.re), stratan@@5tratan, Pavan Nallamothu, Rahul Raj, Yongyue WANG AKA Brian.W(OKX security), Omar Cerrito, Юлия Мерцалова, Aaron Grattafiori - NVIDIA AI Red Team, Joseph Shamoon, Meshaal @ Darkcov, 章鱼哥 (aipyaipy.com)@@aipy, 章鱼哥 (aipyaipy.com)@@aipy, instantraaamen (github.com/instantraaamen) Contact: masa.shiramizu.com@@gmail, Tommy DeVoss@@thedawgyg(Braze Security Team), N.M.Praveen Nawarathne@@zblockrat, James Gill @infosec.exchange)@@jjtech, 章鱼哥 (aipyaipy.com)@@aipy, Thiago Mayllart, Jurre van Bergen - Threatnotify, Redon Gashi (Sentry), flower xu, Adriatik Raci, PETOWORKS의 Bugeun Choi@@Bugeun, Daisuke Hatakeyama, Ryohei Ueki Research)@@SYZD, Manish Bhatt, Amazon Leo Security, oxsignal, Meta Red Team X - Nik Tsytsarkin, Geoffrey Lovelace, Junyeong Lee (jylab.github.io), Aditya Kumar, John Nzyuko Uvyu, Narendra Singh@@_3P1C, Ron Masas(BreakPoint), Luke Symons, Yurii Bakurov, Andrey Chernykh, Bruce Dang(Calif), Anand (anandsreekumar.com), Jiyong Yang, Roman Zabicki, Vishal Patidar, f00l@@PPPF00L, 3ndy1@@_3ndy1, Jared Reyes, Kraken Cryptocurrency Exchange(Nosebeard Labs), Manish Bhatt(Nosebeard Labs), Amazon Leo Security(Nosebeard Labs), Nathaniel Oh@@calysteon(Nosebeard Labs)

Affected Software

41 affected componentsFixes available
Apple macOS Ventura<13
13
Samba Samba>=4.0.0<4.15.11
Samba Samba>=4.16.0<4.16.6
Samba Samba>=4.17.0<4.17.2
Fedoraproject Fedora=36
Fedoraproject Fedora=37
redhat/samba<4.15.11
4.15.11
redhat/samba<4.16.6
4.16.6
redhat/samba<4.17.2
4.17.2
Apple macOS Golden Gate<27
27
Apple macOS Sequoia<15.8
15.8
Apple macOS Tahoe<26.7
26.7
alpine/heimdal<7.7.1-r0
7.7.1-r0
alpine/heimdal<7.7.1-r0
7.7.1-r0
alpine/heimdal<7.7.1-r0
7.7.1-r0
alpine/heimdal<7.7.1-r0
7.7.1-r0
alpine/heimdal<7.7.1-r0
7.7.1-r0
alpine/heimdal<7.7.1-r0
7.7.1-r0
alpine/heimdal<7.7.1-r0
7.7.1-r0
alpine/heimdal<7.7.1-r0
7.7.1-r0
alpine/heimdal<7.7.1-r0
7.7.1-r0
alpine/heimdal<7.7.1-r0
7.7.1-r0
alpine/heimdal<7.7.1-r0
7.7.1-r0
alpine/samba>=4.0.0<4.15.12-r0
4.15.12-r0
alpine/samba>=4.0.0<4.15.12-r0
4.15.12-r0
alpine/samba>=4.16.0<4.16.6-r0
4.16.6-r0
alpine/samba>=4.16.0<4.16.6-r0
4.16.6-r0
alpine/samba>=4.16.0<4.16.6-r0
4.16.6-r0
alpine/samba>=4.16.0<4.16.6-r0
4.16.6-r0
alpine/samba>=4.16.0<4.16.6-r0
4.16.6-r0
alpine/samba>=4.16.0<4.16.6-r0
4.16.6-r0
alpine/samba>=4.16.0<4.16.6-r0
4.16.6-r0
alpine/samba>=4.16.0<4.16.6-r0
4.16.6-r0
debian/heimdal<7.8.git20221115.a6cf945+dfsg-1
7.8.git20221115.a6cf945+dfsg-1
debian/heimdal<7.8.git20221115.a6cf945+dfsg-1
7.8.git20221115.a6cf945+dfsg-1
debian/heimdal<7.8.git20221115.a6cf945+dfsg-1
7.8.git20221115.a6cf945+dfsg-1
debian/samba<2:4.16.6+dfsg-1
2:4.16.6+dfsg-1
debian/samba<2:4.16.6+dfsg-1
2:4.16.6+dfsg-1
debian/samba<2:4.16.6+dfsg-1
2:4.16.6+dfsg-1
debian/heimdal
7.5.0+dfsg-3+deb10u17.7.0+dfsg-2+deb11u27.8.git20221115.a6cf945+dfsg-1
debian/samba
2:4.9.5+dfsg-5+deb10u52:4.13.13+dfsg-1~deb11u62:4.16.6+dfsg-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade macOS Ventura to a version that resolves this vulnerability.

    Fixed in 13
  2. Upgrade

    Upgrade redhat/samba to a version that resolves this vulnerability.

    Fixed in 4.15.11
  3. Upgrade

    Upgrade redhat/samba to a version that resolves this vulnerability.

    Fixed in 4.16.6
  4. Upgrade

    Upgrade redhat/samba to a version that resolves this vulnerability.

    Fixed in 4.17.2
  5. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 27
  6. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 15.8
  7. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 26.7
  8. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 13
  9. Upgrade

    Upgrade alpine/heimdal to a version that resolves this vulnerability.

    Fixed in 7.7.1-r0
  10. Upgrade

    Upgrade alpine/samba to a version that resolves this vulnerability.

    Fixed in 4.15.12-r0
  11. Upgrade

    Upgrade alpine/samba to a version that resolves this vulnerability.

    Fixed in 4.16.6-r0
  12. Upgrade

    Upgrade debian/heimdal to a version that resolves this vulnerability.

    Fixed in 7.8.git20221115.a6cf945+dfsg-1
  13. Upgrade

    Upgrade debian/samba to a version that resolves this vulnerability.

    Fixed in 2:4.16.6+dfsg-1
  14. Upgrade

    Upgrade debian/heimdal to a version that resolves this vulnerability.

    Fixed in 7.5.0+dfsg-3+deb10u1Fixed in 7.7.0+dfsg-2+deb11u2Fixed in 7.8.git20221115.a6cf945+dfsg-1
  15. Upgrade

    Upgrade debian/samba to a version that resolves this vulnerability.

    Fixed in 2:4.9.5+dfsg-5+deb10u5Fixed in 2:4.13.13+dfsg-1~deb11u6Fixed in 2:4.16.6+dfsg-1
  16. Upgrade

    Upgrade Samba to a version that resolves this vulnerability.

    Fixed in 4.15.11
  17. Upgrade

    Upgrade Samba to a version that resolves this vulnerability.

    Fixed in 4.16.6
  18. Upgrade

    Upgrade Samba to a version that resolves this vulnerability.

    Fixed in 4.17.2
  19. Upgrade

    Upgrade curl to a version that resolves this vulnerability.

    Fixed in 7.84.0

Event History

Oct 24, 2022
Data Sourced
12:00 AM
DescriptionWeaknessAffected Software
Oct 25, 2022
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedySeverity
Jan 12, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Data Sourced
via OSV·03:15 PM
DescriptionAffected Software
Feb 9, 2023
Data Sourced
via Red Hat·01:36 AM
DescriptionSeverityAffected Software
Dec 22, 2023
Data Sourced
via Apple·12:00 AM
DescriptionWeaknessAffected Software
Updated
12:00 AM
Affected Software
Apr 22, 2024
Data Sourced
via NVD·04:15 PM
DescriptionSeverityWeaknessAffected Software
May 29, 2024
Updated
via Apple·12:00 AM
Affected Software
Aug 19, 2024
Updated
via Apple·12:00 AM
Affected Software
Oct 28, 2024
Updated
via NVD·07:35 PM
SeverityAffected Software
Sep 14, 2026
Updated
via Apple·12:00 AM
Description
Oct 19, 2026
Updated
via Apple·12:00 AM
Description
Oct 26, 2026
Updated
via Apple·12:00 AM
Description
Nov 3, 2026
Data Sourced
via OSV·08:01 AM
Severity
Nov 17, 2026
Updated
via OSV·06:31 AM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the vulnerability ID for this issue?

The vulnerability ID for this issue is CVE-2022-3437.

2

What software is affected by this vulnerability?

The affected software includes Apple macOS Ventura, Samba, and Fedora.

3

What is the severity of CVE-2022-3437?

The severity of CVE-2022-3437 is medium.

4

How does the vulnerability manifest?

The vulnerability manifests as a heap-based buffer overflow in the GSSAPI unwrap_des() and unwrap_des3() routines of Heimdal.

5

Is there a fix or solution available for this vulnerability?

Yes, remediation for this vulnerability is available through updates and patches provided by the respective vendors.

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