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

APFS. A permissions issue was addressed with improved path validation.

— Apple

Credit

Evgeny Legerov(Intevydis), Jonathan Zhang(Open Computing Facility), David Hoyt(Hoyt LLC), Guilherme Rambo(Best Buddy Apps), Halle Winkler@@hallewinkler(Politepix), Thijs Alkemade(Computest Sector 7), Wojciech Reguła@@_r3ggi(SecuRing), 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, 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, Ron Masas(breakpointhq), an anonymous researcher, Xingwei Lin@@xwlin_roy(Ant Security Light), Yinyi Wu(Ant Security Light), CVE-2021-39537, CVE-2022-29458, Gustav Hansen(WithSecure), Ubeydullah Sümer, Mickey Jin@@patch1t(Trend Micro), 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, Anonymous(Trend Micro Zero Day Initiative), ABC Research s.r.o., Jonathan Bar Or(Microsoft), 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), Mohamed Ghannam@@_simo36, ryuzaki, 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, Arni Hardarson (Neonix Security)(Appknox), Vinay Kumar Rasala (Xplo8E)(Appknox), Stuart Wallace, 이재영, Cem Onat Karagun, Zhongcheng Li (CK01), Prashan Samarathunge, Dem0ns (@天府简易信工作室), Abdelhak Kherroubi, Jasminder Pal Singh, Lehan Dilusha Jayasingha (Sri Lanka), Nick Cook, Sentry Flag, tamdao, Franco Belman at Blackwing Intelligence, Richard Zana, 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), Zhongcheng Li(IES Red Team), Mr.Gedik@@h4ck2s3c, Mr.Gedik@@h4ck2s3c(Turkish Technology), Kun Peeks@@SwayZGl1tZyyy, Oren Yomtov, Morris Richman@@morrisinlife, Sindre Sorhus, Calif.io in collaboration with Claude, Anthropic Research, Peter Malone, Ruslan Dautov, Ye Zhang@@VAR10CK(Baidu Security), CVE-2026-65414, Andreas Jaegersberger & Ro Achterberg(Nosebeard Labs), 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, Dawuge(Shuffle Team), Nathaniel Oh@@calysteon, Nik Tsytsarkin, Chris Bailey - Short Circuit, Siyeong kim, AL Najafi, Ryan Hughes, Kujtim Kryeziu (Sentry), Pavan Nallamothu, ret2happy, Meta Product Security, Mustafa Calap@@ordinal0, dbg.re), stratan@@5tratan, Rahul Raj, Yongyue WANG AKA Brian.W(OKX security), Omar Cerrito, Tristan Madani@@TristanInSec(Talence Security), Юлия Мерцалова, 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, N.M.Praveen Nawarathne@@zblockrat, James Gill @infosec.exchange)@@jjtech, Tommy DeVoss@@thedawgyg(Braze Security Team), flower xu, Adriatik Raci, PETOWORKS의 Bugeun Choi@@Bugeun, Daisuke Hatakeyama, Ryohei Ueki Research)@@SYZD, Hyunwoo Kim@@v4bel, Manish Bhatt, Amazon Leo Security, Meta Red Team X - Nik Tsytsarkin, Junyeong Lee (jylab.github.io), Merrick Hare, Aditya Kumar, John Nzyuko Uvyu, Narendra Singh@@_3P1C, Geoffrey Lovelace, Yurii Bakurov, Bruce Dang(Calif), Ron Masas(BreakPoint), Luke Symons, Jiyong Yang, Vishal Patidar, Roman Zabicki, Feng Xue(ThreatBook), XGPT(ThreatBook), Alfredo Pesoli@@__rev(Bynar), Jonathan Bar Or@@yo_yo_yo_jbo, Arni Hardarson (Neonix Security)(Talence Security), 정우 하, Aswin Kumar Gokulakannan, Dun, Justin O'Leary, Meta Red Team X, Niels Hofmans, Geonha Lee@@leegn4a, Mateusz Jurczyk(Google Project Zero), Varik Matevosyan, Mihalis Haatainen, Ashish Kunwar, Ari Hawking, Seiji Sakurai@@HeapSmasher, Csaba Fitzl@@theevilbit(Iru), genter0(Calif), Svetoslav Stolarov & Aisa Fox(Calif), Josh Maine(Calif), Bernhard Jackiewicz, Ryan Hileman via Xint Code (xint.io), Bhaswanth Chigurupati, James Young, Hiroki Imai (LAC Co., Ltd.), Surya Narayan Kushwaha, genter0, Eddy Tsalolikhin, James Duffy@@0x4A616D657344, Abhijeet Singh (www.linkedin.com/in/abhiunix/), R4mbb(KRsecurity), Stuart Thomas, Vladislav Shevchenko (Positive Technologies), Fábio Luís@@scanpt(STAR Labs SG Pte), Richard Zana(STAR Labs SG Pte), Mohamed Wedatalla, Arjanit Isufi, Adrián Díaz Aguilar, HvxyZLF, Kitten Food, Dave G., Dave G.(supernetworks), Alex Radocea(supernetworks), Armend Gashi, Myeonghun Pak, Alan Banderas@@creeper4004, Matthew Zamat, Dmytro Merkulov, Claudio Bozzato(Cisco Talos), Francesco Benvenuto(Cisco Talos), Sindre Sorhus(IES Red Team), Hoffcona(IES Red Team), silo, Kenneth Chew, Dora Orak, Arbuckle@@Ethan, @@leptos_null, Hongsik Kim (mnur), Bálint Magyar (balintmagyar.com), Kieran Klukas (taciturnaxolotl), Liu Xue & 九宫格(Chongqing Telecom), Issa Sancho, Ilya Andr (andrd3v)(Positive Technologies), Dhiyanesh Selvaraj@@redroot97, Alfredo Pesoli via Bynario Atlas (bynar.io)@@__rev, Jaeho Nam(SNU CSE MMLAB), Jungbum Lee(SNU CSE MMLAB), Sangwi Kang(SNU CSE MMLAB), Hyeonguk Ko(SNU CSE MMLAB), Taekyoung Kwon(SNU CSE MMLAB), John Lussier, Filip Olszak, Meshaal@@unrealmesh, Owen Pawling@@owenpawling, Stanislav Jelezoglo, Gongyu Ma (twitter@@Mezone0, Jakob Pammer(Calif), 재영 정(Calif), 재영 정(ThreatBook), Jay Patel, 재영 정, YingMuo@@YingMuo(DEVCORE Research Team), Rodolphe BRUNETTI@@eisw0lf(Lupus Nova), Abodi Dawoud, 糖豆爸爸(@晴天组织), Robert Mindo, Ujjwal Reddy Kalvolu Sreenivasa Reddy, Johan Wahyudi, Jérôme Djouder, Seung Je Seong(Positive Technologies), Jakob Pammer, Meridian Miftari, Amy (amys.website), Zhongquan Li@@Guluisacat, Koh M. Nakagawa@@tsunek0h(FFRI Security Inc), Zeyang Li&Yuxiang Wang(Chongqing Telecom), an anonymous researcher(Iru), Rodolphe Brunetti@@eisw0lf(Iru), Ryan Dowd@@_rdowd(Iru), Isaiah Ryan Ehlert (isaiahehlert.com)@@icloud(Iru), Charlie Weiss, Noah Gregory (wts.dev), Tomi (tk0) Koski@@tomikoski, Kraken Cryptocurrency Exchange, HE WEI(ギカク)(Calif), bubu(Calif), Omar Cerrito(Calif), Roman Zabicki(Calif), Richard Zana(Calif), Chris Bailey - Short Circuit(Calif), Aswin Kumar Gokulakannan(Calif), Surya Narayan Kushwaha(Calif), Souta Sugiyama, Viggo Lekdorf, Tomi Garcia (archyxsec), OGINOME Tomohito, Jared Reyes, Kraken Cryptocurrency Exchange(Nosebeard Labs), Manish Bhatt(Nosebeard Labs), Amazon Leo Security(Nosebeard Labs), Nathaniel Oh@@calysteon(Nosebeard Labs), Jonathan Bar Or@@yo_yo_yo_jbo(ThreatBook), Lyutoon, wdszzml, Atuin Automated Vulnerability Discovery Engine, Peter Malone(ThreatBook), 이재영(Positive Technologies), Jakob Pammer(Positive Technologies), He Wei(ギカク)(Calif), 진규정 (Gyujeong Jin, @@G1uN4sh, hxr1, Ashish Kunwar(Positive Technologies), Mikhail Lozhnikov(Positive Technologies), Pan ZhenPeng@@Peterpan0927(STAR Labs SG Pte)

Affected Software

14 affected componentsFixes available
debian/heimdal<=7.5.0+dfsg-3
7.5.0+dfsg-3+deb10u27.7.0+dfsg-2+deb11u37.8.git20221117.28daf24+dfsg-27.8.git20221117.28daf24+dfsg-3
debian/samba<=2:4.9.5+dfsg-5+deb10u3, <=2:4.9.5+dfsg-5+deb10u4, <=2:4.13.13+dfsg-1~deb11u5
2:4.17.12+dfsg-0+deb12u12:4.19.3+dfsg-2
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 Tahoe<26.7
26.7
Apple macOS Sequoia<15.8
15.8

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 7.5.0+dfsg-3+deb10u2Fixed in 7.7.0+dfsg-2+deb11u3Fixed in 7.8.git20221117.28daf24+dfsg-2Fixed in 7.8.git20221117.28daf24+dfsg-3
  2. Upgrade

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

    Fixed in 2:4.17.12+dfsg-0+deb12u1Fixed in 2:4.19.3+dfsg-2
  3. Upgrade

    Upgrade macOS Ventura to a version that resolves this vulnerability.

    Fixed in 13
  4. Upgrade

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

    Fixed in 4.15.11
  5. Upgrade

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

    Fixed in 4.16.6
  6. Upgrade

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

    Fixed in 4.17.2
  7. Upgrade

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

    Fixed in 27
  8. Upgrade

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

    Fixed in 26.7
  9. Upgrade

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

    Fixed in 15.8

Event History

Oct 25, 2022
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeakness
Oct 26, 2022
Data Sourced
via Red Hat·07:29 AM
DescriptionSeverityAffected Software
Jan 12, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Sep 14, 2026
Data Sourced
via Apple·12:00 AM
DescriptionWeaknessAffected Software
Updated
via Apple·12:00 AM
DescriptionWeakness
Updated
via Apple·12:00 AM
Description
Updated
via Apple·12:00 AM
DescriptionWeaknessAffected Software
Updated
via Apple·12:00 AM
Affected Software
Updated
via Apple·12:00 AM
DescriptionAffected 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